summaryrefslogtreecommitdiff
path: root/src/gui/setup_colors.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
commit7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a (patch)
tree2499b2198dc1efae9d7f15e021c0574a95a0c95a /src/gui/setup_colors.h
parentef1975a3eb4e1986601ad154bf184e0de332870c (diff)
downloadmana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.gz
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.bz2
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.xz
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.zip
Used custom widgets where appropriate and some cleanup
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
Diffstat (limited to 'src/gui/setup_colors.h')
-rw-r--r--src/gui/setup_colors.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/setup_colors.h b/src/gui/setup_colors.h
index 52d3f727..b909b873 100644
--- a/src/gui/setup_colors.h
+++ b/src/gui/setup_colors.h
@@ -26,17 +26,14 @@
#include <guichan/actionlistener.hpp>
-#include <guichan/widgets/label.hpp>
-#include <guichan/widgets/listbox.hpp>
+#include "gui/setuptab.h"
+#include "gui/textfield.h"
-#include "setuptab.h"
-#include "textfield.h"
-
-#include "../guichanfwd.h"
-
-#include "widgets/textpreview.h"
+#include "guichanfwd.h"
class BrowserBox;
+class TextField;
+class TextPreview;
class Setup_Colors : public SetupTab, public gcn::ActionListener,
public TextFieldListener
@@ -44,11 +41,13 @@ class Setup_Colors : public SetupTab, public gcn::ActionListener,
public:
Setup_Colors();
~Setup_Colors();
+
void apply();
void cancel();
void action(const gcn::ActionEvent &event);
void listen(const TextField *tf);
+
private:
static const std::string rawmsg;
@@ -82,4 +81,5 @@ class Setup_Colors : public SetupTab, public gcn::ActionListener,
void updateColor();
void updateGradType();
};
+
#endif