summaryrefslogtreecommitdiff
path: root/src/gui/charcreatedialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-31 04:48:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-31 16:29:22 +0300
commit670304fefa71e2b25b264066aaf0d69fde95bced (patch)
treec949ba1faf68579f0b3c786aac3f69152eec3f15 /src/gui/charcreatedialog.h
parentc01b3f215a9ec7e5ebceac8550c1e18c0a2b7435 (diff)
downloadmv-670304fefa71e2b25b264066aaf0d69fde95bced.tar.gz
mv-670304fefa71e2b25b264066aaf0d69fde95bced.tar.bz2
mv-670304fefa71e2b25b264066aaf0d69fde95bced.tar.xz
mv-670304fefa71e2b25b264066aaf0d69fde95bced.zip
Redesing char creation dialog.
Add support for reading all information about hair colors.
Diffstat (limited to 'src/gui/charcreatedialog.h')
-rw-r--r--src/gui/charcreatedialog.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/charcreatedialog.h b/src/gui/charcreatedialog.h
index 7bb7b7fed..ceafcc08e 100644
--- a/src/gui/charcreatedialog.h
+++ b/src/gui/charcreatedialog.h
@@ -70,6 +70,10 @@ class CharCreateDialog : public Window, public gcn::ActionListener
void setFixedGender(bool fixed, Gender gender = GENDER_FEMALE);
+ void logic();
+
+ void updatePlayer();
+
private:
int getDistributedPoints() const;
@@ -96,14 +100,19 @@ class CharCreateDialog : public Window, public gcn::ActionListener
gcn::Button *mNextHairColorButton;
gcn::Button *mPrevHairColorButton;
gcn::Label *mHairColorLabel;
+ gcn::Label *mHairColorNameLabel;
gcn::Button *mNextHairStyleButton;
gcn::Button *mPrevHairStyleButton;
gcn::Label *mHairStyleLabel;
+ gcn::Label *mHairStyleNameLabel;
gcn::Button *mNextRaceButton;
gcn::Button *mPrevRaceButton;
gcn::Label *mRaceLabel;
gcn::Label *mRaceNameLabel;
+ gcn::Button *mActionButton;
+ gcn::Button *mRotateButton;
+
gcn::RadioButton *mMale;
gcn::RadioButton *mFemale;
@@ -131,6 +140,9 @@ class CharCreateDialog : public Window, public gcn::ActionListener
unsigned minHairColor;
unsigned maxHairStyle;
unsigned minHairStyle;
+
+ unsigned mAction;
+ unsigned mDirection;
};
#endif // CHAR_CREATE_DIALOG_H