diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-14 18:50:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-14 18:50:27 +0300 |
commit | 066488a6f4d086b57f4fe32e8799c207552cccb7 (patch) | |
tree | 2c73d80030ff0da73fc5f5b4b664a34030a51633 /src/gui/charcreatedialog.h | |
parent | 0b3aafe2859d9ea1c4009eed8a87f69c41cbc14b (diff) | |
download | manaverse-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.gz manaverse-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.bz2 manaverse-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.xz manaverse-066488a6f4d086b57f4fe32e8799c207552cccb7.zip |
Add theming to labels.
New theme file: label.xml
Parameters: padding
Diffstat (limited to 'src/gui/charcreatedialog.h')
-rw-r--r-- | src/gui/charcreatedialog.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/charcreatedialog.h b/src/gui/charcreatedialog.h index 256b49465..b7257dd44 100644 --- a/src/gui/charcreatedialog.h +++ b/src/gui/charcreatedialog.h @@ -30,13 +30,13 @@ #include <guichan/actionlistener.hpp> #include <guichan/keylistener.hpp> +class Label; class LocalPlayer; class PlayerBox; class TextField; namespace gcn { - class Label; class RadioButton; class Slider; } @@ -105,19 +105,19 @@ class CharCreateDialog final : public Window, CharSelectDialog *mCharSelectDialog; TextField *mNameField; - gcn::Label *mNameLabel; + Label *mNameLabel; gcn::Button *mNextHairColorButton; gcn::Button *mPrevHairColorButton; - gcn::Label *mHairColorLabel; - gcn::Label *mHairColorNameLabel; + Label *mHairColorLabel; + Label *mHairColorNameLabel; gcn::Button *mNextHairStyleButton; gcn::Button *mPrevHairStyleButton; - gcn::Label *mHairStyleLabel; - gcn::Label *mHairStyleNameLabel; + Label *mHairStyleLabel; + Label *mHairStyleNameLabel; gcn::Button *mNextRaceButton; gcn::Button *mPrevRaceButton; - gcn::Label *mRaceLabel; - gcn::Label *mRaceNameLabel; + Label *mRaceLabel; + Label *mRaceNameLabel; gcn::Button *mActionButton; gcn::Button *mRotateButton; @@ -127,9 +127,9 @@ class CharCreateDialog final : public Window, gcn::RadioButton *mOther; std::vector<gcn::Slider*> mAttributeSlider; - std::vector<gcn::Label*> mAttributeLabel; - std::vector<gcn::Label*> mAttributeValue; - gcn::Label *mAttributesLeft; + std::vector<Label*> mAttributeLabel; + std::vector<Label*> mAttributeValue; + Label *mAttributesLeft; int mMaxPoints; int mUsedPoints; |