diff options
author | Max Horn | 2002-10-19 01:22:41 +0000 |
---|---|---|
committer | Max Horn | 2002-10-19 01:22:41 +0000 |
commit | 7198181b093732592d678fc95c64698fe0470715 (patch) | |
tree | de94c24039a14ae90c575440fb47824ff887fd56 /scumm/dialogs.h | |
parent | ee13e1638980f8503e8ea04cd676acf1f41197fc (diff) | |
download | scummvm-rg350-7198181b093732592d678fc95c64698fe0470715.tar.gz scummvm-rg350-7198181b093732592d678fc95c64698fe0470715.tar.bz2 scummvm-rg350-7198181b093732592d678fc95c64698fe0470715.zip |
reworked the way the save/load dialog works. yup, still not perfect, but we're hopefully getting closer. Feedback welcome
svn-id: r5189
Diffstat (limited to 'scumm/dialogs.h')
-rw-r--r-- | scumm/dialogs.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/scumm/dialogs.h b/scumm/dialogs.h index 8f3f752148..2a3dde696f 100644 --- a/scumm/dialogs.h +++ b/scumm/dialogs.h @@ -51,10 +51,21 @@ class SaveLoadDialog : public ScummDialog { public: SaveLoadDialog(NewGui *gui, Scumm *scumm); + virtual void open(); + virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); protected: - ListWidget *_savegameList; + ListWidget *_savegameList; + + PushButtonWidget *_saveButton; + PushButtonWidget *_loadButton; + + bool _saveMode; + + void fillList(); + void save(); + void load(); }; |