summaryrefslogtreecommitdiff
path: root/src/gui/setup.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-14 00:41:48 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-14 00:41:48 +0000
commit06111415b117fc47b5b8bf6396d855616778f3b0 (patch)
tree54d21336701541b77750554e248b9a92dcba95c6 /src/gui/setup.h
parent4ecc89dcc6516b10c6dab8b79dcaa435ec9e1435 (diff)
downloadmana-client-06111415b117fc47b5b8bf6396d855616778f3b0.tar.gz
mana-client-06111415b117fc47b5b8bf6396d855616778f3b0.tar.bz2
mana-client-06111415b117fc47b5b8bf6396d855616778f3b0.tar.xz
mana-client-06111415b117fc47b5b8bf6396d855616778f3b0.zip
Committed resource manager cleanup patch by Doener, and properly implemented
the custom mouse cursor option, which is now also dynamically changeable through the setup window.
Diffstat (limited to 'src/gui/setup.h')
-rw-r--r--src/gui/setup.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/gui/setup.h b/src/gui/setup.h
index 30eda305..02eebae1 100644
--- a/src/gui/setup.h
+++ b/src/gui/setup.h
@@ -31,7 +31,8 @@
*
* \ingroup Interface
*/
-class ModeListModel : public gcn::ListModel {
+class ModeListModel : public gcn::ListModel
+{
public:
/**
* Constructor.
@@ -62,25 +63,27 @@ class ModeListModel : public gcn::ListModel {
*
* \ingroup GUI
*/
-class Setup : public Window, public gcn::ActionListener {
+class Setup : public Window, public gcn::ActionListener
+{
private:
+ ModeListModel *modeListModel;
+
// Dialog widgets
- gcn::Label *videoLabel, *audioLabel;
gcn::ListBox *modeList;
- ModeListModel *modeListModel;
gcn::ScrollArea *scrollArea;
+ gcn::Label *videoLabel, *audioLabel;
+ gcn::Label *alphaLabel;
+ gcn::Label *sfxLabel, *musicLabel;
gcn::CheckBox *fsCheckBox;
gcn::CheckBox *openGlCheckBox;
- gcn::Slider *alphaSlider;
- gcn::Label *alphaLabel;
gcn::CheckBox *soundCheckBox;
+ gcn::CheckBox *customCursorCheckBox;
+ gcn::Slider *alphaSlider;
gcn::Slider *sfxSlider, *musicSlider;
- gcn::Label *sfxLabel, *musicLabel;
gcn::Button *applyButton;
gcn::Button *cancelButton;
- public:
-
+ public:
/**
* Constructor.
*/
@@ -94,7 +97,8 @@ class Setup : public Window, public gcn::ActionListener {
/**
* Event handling method.
*/
- void action(const std::string& eventId);
+ void
+ action(const std::string& eventId);
};