diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-07 20:19:10 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-07 20:19:10 +0200 |
commit | 7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a (patch) | |
tree | 2499b2198dc1efae9d7f15e021c0574a95a0c95a /src/gui/setup_colors.h | |
parent | ef1975a3eb4e1986601ad154bf184e0de332870c (diff) | |
download | Mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.gz Mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.bz2 Mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.xz Mana-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.h | 16 |
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 |