diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-25 01:32:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-25 01:32:11 +0300 |
commit | 7873888f72ceb6a026eacac0d791f81cfee80a7c (patch) | |
tree | 802a6dd05788bf2d27b55f276a4984a29bc5976b /src/gui/setup_audio.h | |
parent | 490a93a1d7a347ab586637bf9d8163e114285a02 (diff) | |
download | manaplus-7873888f72ceb6a026eacac0d791f81cfee80a7c.tar.gz manaplus-7873888f72ceb6a026eacac0d791f81cfee80a7c.tar.bz2 manaplus-7873888f72ceb6a026eacac0d791f81cfee80a7c.tar.xz manaplus-7873888f72ceb6a026eacac0d791f81cfee80a7c.zip |
Replace setuo audio page to new class.
Diffstat (limited to 'src/gui/setup_audio.h')
-rw-r--r-- | src/gui/setup_audio.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/gui/setup_audio.h b/src/gui/setup_audio.h index 88869d730..c08c49c7a 100644 --- a/src/gui/setup_audio.h +++ b/src/gui/setup_audio.h @@ -25,30 +25,16 @@ #include "guichanfwd.h" -#include "gui/widgets/setuptab.h" +#include "gui/widgets/setuptabscroll.h" #include <guichan/actionlistener.hpp> -class Setup_Audio : public SetupTab +class Setup_Audio : public SetupTabScroll { public: Setup_Audio(); void apply(); - void cancel(); - - void action(const gcn::ActionEvent &event); - - private: - int mMusicVolume, mSfxVolume; - bool mAudioEnabled, mGameSoundEnabled, mGuiSoundEnabled; - bool mMusicEnabled, mMumbleEnabled; - bool mDownloadEnabled; - - gcn::CheckBox *mAudioCheckBox, *mGameSoundCheckBox, *mGuiSoundCheckBox; - gcn::CheckBox *mMusicCheckBox, *mMumbleCheckBox; - gcn::CheckBox *mDownloadMusicCheckBox; - gcn::Slider *mSfxSlider, *mMusicSlider; }; #endif |