diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-18 17:25:09 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-18 17:25:09 -0700 |
commit | d975741a095ae0dee82ff1dfdaa8e03439d7cf2b (patch) | |
tree | 5e929b32d54421d8130f7506a1c18a107c6d666d /src/gui/setup_colours.h | |
parent | 8d6f86a5b4b647ead0ec806ed1f73249594f7a70 (diff) | |
download | mana-client-d975741a095ae0dee82ff1dfdaa8e03439d7cf2b.tar.gz mana-client-d975741a095ae0dee82ff1dfdaa8e03439d7cf2b.tar.bz2 mana-client-d975741a095ae0dee82ff1dfdaa8e03439d7cf2b.tar.xz mana-client-d975741a095ae0dee82ff1dfdaa8e03439d7cf2b.zip |
Reflowed Color setup dialog to use layout code.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup_colours.h')
-rw-r--r-- | src/gui/setup_colours.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/src/gui/setup_colours.h b/src/gui/setup_colours.h index 3bd87848..628efb43 100644 --- a/src/gui/setup_colours.h +++ b/src/gui/setup_colours.h @@ -49,27 +49,24 @@ class Setup_Colours : public SetupTab, public gcn::ActionListener, void listen(const TextField *tf); private: gcn::ListBox *mColourBox; - gcn::Label mColourLabel; ScrollArea *mScroll; int mSelected; - gcn::Label *mLabel1; - Slider *mSlider1; - TextField *mText1; - int mValue1; + gcn::Label *mRedLabel; + Slider *mRedSlider; + TextField *mRedText; + int mRedValue; - gcn::Label *mLabel2; - Slider *mSlider2; - TextField *mText2; - int mValue2; + gcn::Label *mGreenLabel; + Slider *mGreenSlider; + TextField *mGreenText; + int mGreenValue; - gcn::Label *mLabel3; - Slider *mSlider3; - TextField *mText3; - int mValue3; + gcn::Label *mBlueLabel; + Slider *mBlueSlider; + TextField *mBlueText; + int mBlueValue; - void setupPlacer(int v, gcn::Label *&l, Slider *&s, TextField *&t, - std::string lbl, std::string sfx); void setEntry(Slider *s, TextField *t, int value); void updateColour(); }; |