diff options
author | Max Horn | 2003-11-28 21:56:14 +0000 |
---|---|---|
committer | Max Horn | 2003-11-28 21:56:14 +0000 |
commit | 54aa33310d1dbd9f04e2ede970d8e17200798000 (patch) | |
tree | f0759afc13ec3d4d569fe2c2272dd748a665b843 /scumm/dialogs.h | |
parent | 8a6b0e2e1837711d06e0ed66913f340d8d923bb3 (diff) | |
download | scummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.tar.gz scummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.tar.bz2 scummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.zip |
reuse SaveLoadChooser in main dialog -> this means the SaveLoadChooser remembers the scroll position -> improved user experience
svn-id: r11415
Diffstat (limited to 'scumm/dialogs.h')
-rw-r--r-- | scumm/dialogs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/dialogs.h b/scumm/dialogs.h index 7d9f7ff9fe..789d8ff121 100644 --- a/scumm/dialogs.h +++ b/scumm/dialogs.h @@ -54,6 +54,8 @@ protected: const String queryResString(int stringno); }; +class SaveLoadChooser; + class MainMenuDialog : public ScummDialog { public: MainMenuDialog(ScummEngine *scumm); @@ -67,6 +69,8 @@ protected: #ifndef DISABLE_HELP GUI::Dialog *_helpDialog; #endif + SaveLoadChooser *_saveDialog; + SaveLoadChooser *_loadDialog; void save(); void load(); |