diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-03-09 05:16:27 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-03-09 05:16:27 +0000 |
commit | e5f795ad9952b8bba6993ee3e324b22a0f104816 (patch) | |
tree | 1602ac0f74865135eae5acf935b0a285a8e918c2 /src/gui/setup.h | |
parent | 7593d6c71e2331c3e43c732db60ad03ee4d5385d (diff) | |
download | mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.gz mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.bz2 mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.tar.xz mana-e5f795ad9952b8bba6993ee3e324b22a0f104816.zip |
Made all class members named like mClassMember.
Diffstat (limited to 'src/gui/setup.h')
-rw-r--r-- | src/gui/setup.h | 69 |
1 files changed, 16 insertions, 53 deletions
diff --git a/src/gui/setup.h b/src/gui/setup.h index 91f181d5..fa870489 100644 --- a/src/gui/setup.h +++ b/src/gui/setup.h @@ -34,38 +34,6 @@ #include "../guichanfwd.h" /** - * The list model for mode list. - * - * \ingroup Interface - */ -class ModeListModel : public gcn::ListModel -{ - public: - /** - * Constructor. - */ - ModeListModel(); - - /** - * Destructor. - */ - virtual ~ModeListModel(); - - /** - * Returns the number of elements in container. - */ - int getNumberOfElements(); - - /** - * Returns element from container. - */ - std::string getElementAt(int i); - - private: - std::vector<std::string> videoModes; -}; - -/** * The setup dialog. * * \ingroup GUI @@ -90,31 +58,26 @@ class Setup : public Window, public gcn::ActionListener action(const std::string& eventId); private: - ModeListModel *modeListModel; + class ModeListModel *mModeListModel; // Dialog widgets - gcn::ListBox *modeList; - gcn::ScrollArea *scrollArea; - gcn::Label *alphaLabel; - gcn::Label *sfxLabel, *musicLabel; - gcn::Label *calibrateLabel; - gcn::CheckBox *fsCheckBox; - gcn::CheckBox *openGLCheckBox; - gcn::CheckBox *soundCheckBox; - gcn::CheckBox *customCursorCheckBox; - gcn::Slider *alphaSlider; - gcn::Slider *sfxSlider, *musicSlider; - gcn::Button *calibrateButton; - gcn::Button *applyButton, *cancelButton; - gcn::Button *resetWinsToDefault; + gcn::ListBox *mModeList; + gcn::CheckBox *mFsCheckBox; + gcn::CheckBox *mOpenGLCheckBox; + gcn::CheckBox *mSoundCheckBox; + gcn::CheckBox *mCustomCursorCheckBox; + gcn::Slider *mAlphaSlider; + gcn::Slider *mSfxSlider, *mMusicSlider; + gcn::Label *mCalibrateLabel; + gcn::Button *mCalibrateButton; // Variables that keeps old settings until the user "apply" them... - int musicVolume, sfxVolume; - double opacity; - bool fullScreenEnabled; - bool openGLEnabled; - bool customCursorEnabled; - bool soundEnabled; + int mMusicVolume, mSfxVolume; + double mOpacity; + bool mFullScreenEnabled; + bool mOpenGLEnabled; + bool mCustomCursorEnabled; + bool mSoundEnabled; }; #endif |