Public Member Functions | |
| GUI_v2 (KyraEngine_v2 *vm) | |
| virtual void | initStaticData ()=0 |
| Button * | addButtonToList (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 Button * | addButtonToList (Button *list, Button *newButton) |
| void | processButton (Button *button) override=0 |
| int | processButtonList (Button *buttonList, uint16 inputFlags, int8 mouseWheel) override=0 |
| virtual int | redrawShadedButtonCallback (Button *button) |
| virtual int | redrawButtonCallback (Button *button) |
| virtual void | initMenuLayout (Menu &menu) |
| void | initMenu (Menu &menu) |
| void | processHighlights (Menu &menu) |
| void | createScreenThumbnail (Graphics::Surface &dst) override=0 |
Public Member Functions inherited from Kyra::GUI | |
| GUI (KyraEngine_v1 *vm) | |
| virtual void | processButton (Button *button)=0 |
| virtual int | processButtonList (Button *buttonList, uint16 inputFlags, int8 mouseWheel)=0 |
| virtual void | createScreenThumbnail (Graphics::Surface &dst)=0 |
| void | notifyUpdateSaveSlotsList () |
Protected Member Functions | |
| void | updateButton (Button *button) override |
| virtual void | setupPalette () |
| virtual void | restorePalette () |
| virtual Common::String | getTableString (int id, bool decode=false)=0 |
| virtual uint8 | textFieldColor1 () const =0 |
| virtual uint8 | textFieldColor2 () const =0 |
| virtual uint8 | textFieldColor3 () const =0 |
| virtual void | getInput () |
| Button * | getButtonListData () override |
| Button * | getScrollUpButton () override |
| Button * | getScrollDownButton () 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) |
| virtual void | setupOptionsButtons ()=0 |
| virtual int | sliderHandler (Button *caller)=0 |
| 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) |
| virtual Button * | getButtonListData ()=0 |
| virtual Button * | getScrollUpButton ()=0 |
| virtual Button * | getScrollDownButton ()=0 |
| virtual Button::Callback | getScrollUpButtonHandler () const =0 |
| virtual Button::Callback | getScrollDownButtonHandler () const =0 |
| virtual uint8 | defaultColor1 () const =0 |
| virtual uint8 | defaultColor2 () const =0 |
| virtual uint8 | menuItemLabelColor () const =0 |
| virtual Common::String | getMenuTitle (const Menu &menu)=0 |
| virtual Common::String | getMenuItemTitle (const MenuItem &menuItem)=0 |
| virtual Common::String | getMenuItemLabel (const MenuItem &menuItem)=0 |
| void | updateAllMenuButtons () |
| void | updateMenuButton (Button *button) |
| virtual void | updateButton (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 | |
| 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 | |
| static const int | _sliderBarsPosition [] |
Reimplemented from Kyra::GUI_v1.
|
overridevirtual |
Implements Kyra::GUI_v1.
|
overridevirtual |
Implements Kyra::GUI_v1.
|
overrideprotectedvirtual |
Reimplemented from Kyra::GUI_v1.
|
inlineoverrideprotectedvirtual |
Implements Kyra::GUI_v1.
|
inlineoverrideprotectedvirtual |
Implements Kyra::GUI_v1.
|
inlineoverrideprotectedvirtual |
Implements Kyra::GUI_v1.
|
inlineoverrideprotectedvirtual |
Implements Kyra::GUI_v1.
|
inlineoverrideprotectedvirtual |
Implements Kyra::GUI_v1.