ScummVM
Kyra::MainMenu Class Reference

#include <gui_v1.h>

Collaboration diagram for Kyra::MainMenu:

Classes

struct  Animation
 
struct  AnimIntern
 
struct  StaticData
 

Public Member Functions

 MainMenu (KyraEngine_v1 *vm)
 
virtual ~MainMenu ()
 
void init (StaticData data, Animation anim)
 
int handle (int dim)
 

Private Member Functions

void updateAnimation ()
 
void draw (int select)
 
void drawBox (int x, int y, int w, int h, int fill)
 
bool getInput ()
 
void printString (const char *string, int x, int y, int col1, int col2, int flags,...) GCC_PRINTF(2
 

Private Attributes

KyraEngine_v1_vm
 
Screen_screen
 
OSystem_system
 
StaticData _static
 
Animation _anim
 
AnimIntern _animIntern
 
uint32 _nextUpdate
 

Detailed Description

Definition at line 146 of file gui_v1.h.

Constructor & Destructor Documentation

◆ MainMenu()

Kyra::MainMenu::MainMenu ( KyraEngine_v1 vm)

Definition at line 417 of file gui_v1.cpp.

◆ ~MainMenu()

virtual Kyra::MainMenu::~MainMenu ( )
inlinevirtual

Definition at line 149 of file gui_v1.h.

Member Function Documentation

◆ draw()

void Kyra::MainMenu::draw ( int  select)
private

Definition at line 560 of file gui_v1.cpp.

◆ drawBox()

void Kyra::MainMenu::drawBox ( int  x,
int  y,
int  w,
int  h,
int  fill 
)
private

Definition at line 574 of file gui_v1.cpp.

◆ getInput()

bool Kyra::MainMenu::getInput ( )
private

Definition at line 451 of file gui_v1.cpp.

◆ handle()

int Kyra::MainMenu::handle ( int  dim)

Definition at line 476 of file gui_v1.cpp.

◆ init()

void Kyra::MainMenu::init ( StaticData  data,
Animation  anim 
)

Definition at line 423 of file gui_v1.cpp.

◆ printString()

void Kyra::MainMenu::printString ( const char *  string,
int  x,
int  y,
int  col1,
int  col2,
int  flags,
  ... 
)
private

Definition at line 589 of file gui_v1.cpp.

◆ updateAnimation()

void Kyra::MainMenu::updateAnimation ( )
private

Definition at line 430 of file gui_v1.cpp.

Member Data Documentation

◆ _anim

Animation Kyra::MainMenu::_anim
private

Definition at line 182 of file gui_v1.h.

◆ _animIntern

AnimIntern Kyra::MainMenu::_animIntern
private

Definition at line 183 of file gui_v1.h.

◆ _nextUpdate

uint32 Kyra::MainMenu::_nextUpdate
private

Definition at line 185 of file gui_v1.h.

◆ _screen

Screen* Kyra::MainMenu::_screen
private

Definition at line 174 of file gui_v1.h.

◆ _static

StaticData Kyra::MainMenu::_static
private

Definition at line 177 of file gui_v1.h.

◆ _system

OSystem* Kyra::MainMenu::_system
private

Definition at line 175 of file gui_v1.h.

◆ _vm

KyraEngine_v1* Kyra::MainMenu::_vm
private

Definition at line 173 of file gui_v1.h.


The documentation for this class was generated from the following files: