diff options
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r-- | src/gui/char_select.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h index 7136f301..1b747607 100644 --- a/src/gui/char_select.h +++ b/src/gui/char_select.h @@ -119,6 +119,9 @@ class CharCreateDialog : public Window, public gcn::ActionListener std::string getName(); private: + int getDistributedPoints(); + void UpdateSliders(); + gcn::TextField *mNameField; gcn::Label *mNameLabel; gcn::Button *mNextHairColorButton; @@ -127,6 +130,12 @@ class CharCreateDialog : public Window, public gcn::ActionListener gcn::Button *mNextHairStyleButton; gcn::Button *mPrevHairStyleButton; gcn::Label *mHairStyleLabel; + + gcn::Slider *mAttributeSlider[7]; + gcn::Label *mAttributeLable[7]; + gcn::Label *mAttributeValue[7]; + gcn::Label *mAttributesLeft; + gcn::Button *mCreateButton; gcn::Button *mCancelButton; @@ -135,6 +144,9 @@ class CharCreateDialog : public Window, public gcn::ActionListener int mSlot; + static const int mMaxPoints = 70; + int mUsedPoints; + /** * Communicate character creation to the server. |