diff options
author | Max Horn | 2003-03-25 15:32:36 +0000 |
---|---|---|
committer | Max Horn | 2003-03-25 15:32:36 +0000 |
commit | 023d84a6a3fdecf97c7bebd754b72c044aa58955 (patch) | |
tree | 0477f9b4ff33d968d76648b5554318f598f2e7a2 /gui/options.h | |
parent | e1851fc07f3d5e71c89a79d1abefca1beb350ea3 (diff) | |
download | scummvm-rg350-023d84a6a3fdecf97c7bebd754b72c044aa58955.tar.gz scummvm-rg350-023d84a6a3fdecf97c7bebd754b72c044aa58955.tar.bz2 scummvm-rg350-023d84a6a3fdecf97c7bebd754b72c044aa58955.zip |
added some meat to the global options dialog (no prefs are stored yet, though)
svn-id: r6862
Diffstat (limited to 'gui/options.h')
-rw-r--r-- | gui/options.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/gui/options.h b/gui/options.h index 1755dd713c..d15199c76b 100644 --- a/gui/options.h +++ b/gui/options.h @@ -25,18 +25,36 @@ #include "common/str.h" #include "common/list.h" +class BrowserDialog; +class GameDetector; class GlobalOptionsDialog : public Dialog { typedef ScummVM::String String; public: - GlobalOptionsDialog(NewGui *gui); + GlobalOptionsDialog(NewGui *gui, GameDetector &detector); ~GlobalOptionsDialog(); -// void open(); + void open(); // void close(); void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); protected: + GameDetector &_detector; + + BrowserDialog *_browser; + StaticTextWidget*_savePath; + + int _soundVolumeMaster; + int _soundVolumeMusic; + int _soundVolumeSfx; + + SliderWidget *_masterVolumeSlider; + SliderWidget *_musicVolumeSlider; + SliderWidget *_sfxVolumeSlider; + + StaticTextWidget *_masterVolumeLabel; + StaticTextWidget *_musicVolumeLabel; + StaticTextWidget *_sfxVolumeLabel; }; #endif |