ScummVM API documentation
Kyra::GUI_HoF Class Reference
Inheritance diagram for Kyra::GUI_HoF:
Kyra::GUI_v2 Kyra::GUI_v1 Kyra::GUI

Public Member Functions

 GUI_HoF (KyraEngine_HoF *engine)
 
void initStaticData () override
 
int optionsButton (Button *button)
 
void createScreenThumbnail (Graphics::Surface &dst) override
 
- Public Member Functions inherited from Kyra::GUI_v2
 GUI_v2 (KyraEngine_v2 *vm)
 
ButtonaddButtonToList (Button *list, Button *newButton) override
 
void processButton (Button *button) override
 
int processButtonList (Button *button, uint16 inputFlag, int8 mouseWheel) override
 
- Public Member Functions inherited from Kyra::GUI_v1
 GUI_v1 (KyraEngine_v1 *vm)
 
virtual int redrawShadedButtonCallback (Button *button)
 
virtual int redrawButtonCallback (Button *button)
 
virtual void initMenuLayout (Menu &menu)
 
void initMenu (Menu &menu)
 
void processHighlights (Menu &menu)
 
- Public Member Functions inherited from Kyra::GUI
 GUI (KyraEngine_v1 *vm)
 
void notifyUpdateSaveSlotsList ()
 

Additional Inherited Members

- Protected Member Functions inherited from Kyra::GUI_v2
void updateButton (Button *button) override
 
virtual void getInput ()
 
ButtongetButtonListData () override
 
ButtongetScrollUpButton () override
 
ButtongetScrollDownButton () override
 
int scrollUpButton (Button *button)
 
int scrollDownButton (Button *button)
 
Button::Callback getScrollUpButtonHandler () const override
 
Button::Callback getScrollDownButtonHandler () const override
 
void renewHighlight (Menu &menu)
 
void backUpPage1 (uint8 *buffer)
 
void restorePage1 (const uint8 *buffer)
 
void setupSavegameNames (Menu &menu, int num)
 
int resumeGame (Button *caller)
 
int clickLoadSlot (Button *caller)
 
int cancelLoadMenu (Button *caller)
 
int saveMenu (Button *caller)
 
int clickSaveSlot (Button *caller)
 
int cancelSaveMenu (Button *caller)
 
int deleteMenu (Button *caller)
 
int quitOptionsMenu (Button *caller)
 
int toggleWalkspeed (Button *caller)
 
int toggleText (Button *caller)
 
const char * nameInputProcess (char *buffer, int x, int y, uint8 c1, uint8 c2, uint8 c3, int bufferSize)
 
int finishSavename (Button *caller)
 
int cancelSavename (Button *caller)
 
bool checkSavegameDescription (const char *buffer, int size)
 
int getCharWidth (uint8 c)
 
void drawTextfieldBlock (int x, int y, uint8 c)
 
bool choiceDialog (int name, bool type)
 
int choiceYes (Button *caller)
 
int choiceNo (Button *caller)
 
- Protected Member Functions inherited from Kyra::GUI_v1
virtual void printMenuText (const Common::String &str, int x, int y, uint8 c0, uint8 c1, uint8 c2)
 
virtual int getMenuCenterStringX (const Common::String &str, int x1, int x2)
 
void updateAllMenuButtons ()
 
void updateMenuButton (Button *button)
 
void redrawText (const Menu &menu)
 
void redrawHighlight (const Menu &menu)
 
void checkTextfieldInput ()
 
- Protected Member Functions inherited from Kyra::GUI
void updateSaveFileList (Common::String targetName, bool excludeQuickSaves=false)
 
int getNextSavegameSlot ()
 
void updateSaveSlotsList (Common::String targetName, bool force=false)
 
virtual void sortSaveSlots ()
 
- Protected Attributes inherited from Kyra::GUI_v2
KyraEngine_v2_vm
 
Screen_v2_screen
 
bool _buttonListChanged
 
Button_backUpButtonList
 
Button_specialProcessButton
 
uint16 _flagsModifier
 
Button _menuButtons [7]
 
Button _scrollUpButton
 
Button _scrollDownButton
 
Menu _mainMenu
 
Menu _gameOptions
 
Menu _audioOptions
 
Menu _choiceMenu
 
Menu _loadMenu
 
Menu _saveMenu
 
Menu _savenameMenu
 
Menu _deathMenu
 
Button::Callback _scrollUpFunctor
 
Button::Callback _scrollDownFunctor
 
Button _sliderButtons [3][4]
 
Menu_currentMenu
 
bool _isLoadMenu
 
bool _isDeathMenu
 
bool _isSaveMenu
 
bool _isDeleteMenu
 
bool _isChoiceMenu
 
bool _isOptionsMenu
 
bool _madeSave
 
bool _loadedSave
 
bool _restartGame
 
bool _reloadTemporarySave
 
int _savegameOffset
 
bool _noLoadProcess
 
bool _noSaveProcess
 
int _saveSlot
 
char _saveDescription [0x51]
 
int _saveLoadNumSlots
 
int _slotToDelete
 
Button::Callback _sliderHandlerFunctor
 
bool _finishNameInput
 
bool _cancelNameInput
 
Screen::FontId _saveMenuFont
 
Common::Rect _saveMenuCursor
 
bool _choice
 
- Protected Attributes inherited from Kyra::GUI_v1
TextDisplayer_text
 
Button_menuButtonList
 
bool _displayMenu
 
bool _displaySubMenu
 
bool _cancelSubMenu
 
Button::Callback _redrawShadedButtonFunctor
 
Button::Callback _redrawButtonFunctor
 
uint32 _lastScreenUpdate
 
int _menuLabelYOffset
 
- Protected Attributes inherited from Kyra::GUI
KyraEngine_v1_vm
 
Screen_screen
 
Common::Array< int > _saveSlots
 
char ** _savegameList
 
int _savegameListSize
 
bool _saveSlotsListUpdateNeeded
 
Common::KeyState _keyPressed
 
- Static Protected Attributes inherited from Kyra::GUI_v2
static const int _sliderBarsPosition []
 

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