diff options
author | Max Horn | 2002-07-26 00:41:07 +0000 |
---|---|---|
committer | Max Horn | 2002-07-26 00:41:07 +0000 |
commit | 84c8d4b689168335da090bae57f4a162ee10018d (patch) | |
tree | f3f5ea98571500c4a203c6d173b8be9e8d486f95 /gui/dialog.h | |
parent | 4211eb8437e5708d9644ded1dd89c9cf526fbf92 (diff) | |
download | scummvm-rg350-84c8d4b689168335da090bae57f4a162ee10018d.tar.gz scummvm-rg350-84c8d4b689168335da090bae57f4a162ee10018d.tar.bz2 scummvm-rg350-84c8d4b689168335da090bae57f4a162ee10018d.zip |
added painelf's (still unfinished) sound dialog in NewGUI. Beware, this is work in progress, don't report problems with it just yet, we already know they are there :-)
svn-id: r4635
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index 40c109c220..63b1544950 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -129,4 +129,28 @@ public: }; + +class SoundDialog : public Dialog { +public: + SoundDialog(NewGui *gui); + + enum { + kMasterVolumeChanged = 'mavc', + kMusicVolumeChanged = 'muvc', + kSfxVolumeChanged = 'sfvc', + }; + + virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); + +protected: + int _soundVolumeMaster; + int _soundVolumeMusic; + int _soundVolumeSfx; + + SliderWidget *widgetMasterVolume; + SliderWidget *widgetMusicVolume; + SliderWidget *widgetSfxVolume; +}; + + #endif |