From 023d84a6a3fdecf97c7bebd754b72c044aa58955 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 25 Mar 2003 15:32:36 +0000 Subject: added some meat to the global options dialog (no prefs are stored yet, though) svn-id: r6862 --- gui/options.h | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'gui/options.h') 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 -- cgit v1.2.3