diff options
author | Paweł Kołodziejski | 2003-03-06 17:58:13 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-06 17:58:13 +0000 |
commit | 093428ae9a6a1fd33003a8a0827d7410501a74cb (patch) | |
tree | 00a37a896d37505db01dd69a162627df49e4990c /scumm/dialogs.h | |
parent | 90680fe9bb614c1c5b7030821445e294c937f152 (diff) | |
download | scummvm-rg350-093428ae9a6a1fd33003a8a0827d7410501a74cb.tar.gz scummvm-rg350-093428ae9a6a1fd33003a8a0827d7410501a74cb.tar.bz2 scummvm-rg350-093428ae9a6a1fd33003a8a0827d7410501a74cb.zip |
and more cleanup
svn-id: r6718
Diffstat (limited to 'scumm/dialogs.h')
-rw-r--r-- | scumm/dialogs.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/scumm/dialogs.h b/scumm/dialogs.h index 4232d514c7..cb2711aed1 100644 --- a/scumm/dialogs.h +++ b/scumm/dialogs.h @@ -56,11 +56,11 @@ public: protected: ListWidget *_savegameList; - + PushButtonWidget *_saveButton; PushButtonWidget *_loadButton; - bool _saveMode; + bool _saveMode; void fillList(); void save(); @@ -69,13 +69,11 @@ protected: void switchToLoadMode(); }; - class AboutDialog : public ScummDialog { public: AboutDialog(NewGui *gui, Scumm *scumm); }; - class OptionsDialog : public ScummDialog { protected: Dialog *_aboutDialog; @@ -88,11 +86,10 @@ public: ~OptionsDialog(); virtual void open(); - virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); protected: - + int _soundVolumeMaster; int _soundVolumeMusic; int _soundVolumeSfx; @@ -100,7 +97,7 @@ protected: SliderWidget *masterVolumeSlider; SliderWidget *musicVolumeSlider; SliderWidget *sfxVolumeSlider; - + StaticTextWidget *masterVolumeLabel; StaticTextWidget *musicVolumeLabel; StaticTextWidget *sfxVolumeLabel; @@ -116,13 +113,14 @@ public: // from resources InfoDialog(NewGui *gui, Scumm *scumm, int res); - virtual void handleMouseDown(int x, int y, int button, int clickCount) - { close(); } - virtual void handleKeyDown(uint16 ascii, int keycode, int modifiers) - { - setResult(ascii); - close(); - } + virtual void handleMouseDown(int x, int y, int button, int clickCount) { + close(); + } + virtual void handleKeyDown(uint16 ascii, int keycode, int modifiers) { + setResult(ascii); + close(); + } + protected: void setInfoText (const String& message); }; |