diff options
author | Max Horn | 2003-11-03 23:26:13 +0000 |
---|---|---|
committer | Max Horn | 2003-11-03 23:26:13 +0000 |
commit | 3456b6f50b8d1682f25ccf28e6f8e9752741f08b (patch) | |
tree | b9ab1bab9321d063a7db700043d7c4fee8c30593 /scumm/dialogs.h | |
parent | 2ad5fcfb7d9e5859ce2f220ac7d8813ac0c29488 (diff) | |
download | scummvm-rg350-3456b6f50b8d1682f25ccf28e6f8e9752741f08b.tar.gz scummvm-rg350-3456b6f50b8d1682f25ccf28e6f8e9752741f08b.tar.bz2 scummvm-rg350-3456b6f50b8d1682f25ccf28e6f8e9752741f08b.zip |
remade the in-game GUI/menu
svn-id: r11119
Diffstat (limited to 'scumm/dialogs.h')
-rw-r--r-- | scumm/dialogs.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/scumm/dialogs.h b/scumm/dialogs.h index d8e9a63a07..ab6999d38d 100644 --- a/scumm/dialogs.h +++ b/scumm/dialogs.h @@ -52,32 +52,22 @@ protected: const String queryResString(int stringno); }; -class SaveLoadDialog : public ScummDialog { +class MainMenuDialog : public ScummDialog { public: - SaveLoadDialog(ScummEngine *scumm); - ~SaveLoadDialog(); + MainMenuDialog(ScummEngine *scumm); + ~MainMenuDialog(); virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); virtual void open(); virtual void close(); protected: - ListWidget *_savegameList; - - PushButtonWidget *_saveButton; - PushButtonWidget *_loadButton; - Dialog *_aboutDialog; #ifndef DISABLE_HELP Dialog *_helpDialog; #endif - bool _saveMode; - - void fillList(); void save(); void load(); - void switchToSaveMode(); - void switchToLoadMode(); }; #ifndef DISABLE_HELP @@ -90,8 +80,8 @@ public: protected: typedef Common::String String; - PushButtonWidget *_nextButton; - PushButtonWidget *_prevButton; + ButtonWidget *_nextButton; + ButtonWidget *_prevButton; StaticTextWidget *_title; StaticTextWidget *_key[HELP_NUM_LINES]; |