diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-16 14:18:33 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-16 14:18:33 +0000 |
commit | f34960bc4a774764062a7bff70596779006c9413 (patch) | |
tree | eff906ad2f016a47689e3d19902057c13e00d7e5 /src/gui/setup.h | |
parent | 62de779017018a6e8f89fed9e0c930fc4904f5d2 (diff) | |
download | mana-f34960bc4a774764062a7bff70596779006c9413.tar.gz mana-f34960bc4a774764062a7bff70596779006c9413.tar.bz2 mana-f34960bc4a774764062a7bff70596779006c9413.tar.xz mana-f34960bc4a774764062a7bff70596779006c9413.zip |
- Readding stripping to executable (Dev-cpp project options)
- New slider skin
- Some updates to win32 compile guide
- Cleaned sound engine
- Improved setup window (need testing)
Diffstat (limited to 'src/gui/setup.h')
-rw-r--r-- | src/gui/setup.h | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/src/gui/setup.h b/src/gui/setup.h index 0fe3df1b..21f65038 100644 --- a/src/gui/setup.h +++ b/src/gui/setup.h @@ -21,8 +21,8 @@ * $Id$ */ -#ifndef tmw_included_setup_h -#define tmw_included_setup_h +#ifndef _TMW_SETUP_H +#define _TMW_SETUP_H #include "window.h" #include "../sound.h" @@ -55,8 +55,7 @@ class ModeListModel : public gcn::ListModel { std::string getElementAt(int i); private: - int nmode; - char **mode; + std::vector<std::string> videoModes; }; /** @@ -66,22 +65,20 @@ class ModeListModel : public gcn::ListModel { */ class Setup : public Window, public gcn::ActionListener { private: - // Dialog parts - //ModeListModel *modeListModel; - //gcn::Label *displayLabel; + // Dialog widgets + gcn::Label *videoLabel, *audioLabel; + gcn::ListBox *modeList; + ModeListModel *modeListModel; + gcn::ScrollArea *scrollArea; gcn::CheckBox *fsCheckBox; - gcn::Label *soundLabel; + gcn::CheckBox *openGlCheckBox; + gcn::Slider *alphaSlider; + gcn::Label *alphaLabel; gcn::CheckBox *soundCheckBox; - gcn::RadioButton *disabledRadio; - //gcn::ScrollArea *scrollArea; - //gcn::ListBox *modeList; + gcn::Slider *sfxSlider, *musicSlider; + gcn::Label *sfxLabel, *musicLabel; gcn::Button *applyButton; gcn::Button *cancelButton; - gcn::Label *alphaLabel; - gcn::Slider *alphaSlider; - - // Video selections - int last_sel, sel; public: @@ -93,7 +90,7 @@ class Setup : public Window, public gcn::ActionListener { /** * Destructor. */ - ~Setup(); + ~Setup(); /** * Event handling method. |