From 066488a6f4d086b57f4fe32e8799c207552cccb7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Oct 2012 18:50:27 +0300 Subject: Add theming to labels. New theme file: label.xml Parameters: padding --- src/gui/charcreatedialog.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/gui/charcreatedialog.h') 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 #include +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 mAttributeSlider; - std::vector mAttributeLabel; - std::vector mAttributeValue; - gcn::Label *mAttributesLeft; + std::vector mAttributeLabel; + std::vector mAttributeValue; + Label *mAttributesLeft; int mMaxPoints; int mUsedPoints; -- cgit v1.2.3-60-g2f50