#include <charcreatedialog.h>

Definition at line 45 of file charcreatedialog.h.
Public Member Functions | |
| CharCreateDialog (Window *parent, int slot) | |
| Constructor. | |
| ~CharCreateDialog () | |
| Destructor. | |
| void | action (const gcn::ActionEvent &event) |
| void | unlock () |
| Unlocks the dialog, enabling the create character button again. | |
| void | setAttributes (std::vector< std::string > labels, int available, int min, int max) |
| void | setFixedGender (bool fixed, Gender gender=GENDER_FEMALE) |
Private Member Functions | |
| int | getDistributedPoints () const |
| void | updateSliders () |
| std::string | getName () const |
| Returns the name of the character to create. | |
| void | attemptCharCreate () |
| Communicate character creation to the server. | |
Private Attributes | |
| gcn::TextField * | mNameField |
| gcn::Label * | mNameLabel |
| gcn::Button * | mNextHairColorButton |
| gcn::Button * | mPrevHairColorButton |
| gcn::Label * | mHairColorLabel |
| gcn::Button * | mNextHairStyleButton |
| gcn::Button * | mPrevHairStyleButton |
| gcn::Label * | mHairStyleLabel |
| gcn::RadioButton * | mMale |
| gcn::RadioButton * | mFemale |
| std::vector< gcn::Slider * > | mAttributeSlider |
| std::vector< gcn::Label * > | mAttributeLabel |
| std::vector< gcn::Label * > | mAttributeValue |
| gcn::Label * | mAttributesLeft |
| int | mMaxPoints |
| int | mUsedPoints |
| gcn::Button * | mCreateButton |
| gcn::Button * | mCancelButton |
| Player * | mPlayer |
| PlayerBox * | mPlayerBox |
| int | mSlot |
| CharCreateDialog::CharCreateDialog | ( | Window * | parent, | |
| int | slot | |||
| ) |
| CharCreateDialog::~CharCreateDialog | ( | ) |
| void CharCreateDialog::action | ( | const gcn::ActionEvent & | event | ) |
Definition at line 151 of file charcreatedialog.cpp.
| void CharCreateDialog::unlock | ( | ) |
Unlocks the dialog, enabling the create character button again.
Definition at line 246 of file charcreatedialog.cpp.
| void CharCreateDialog::setAttributes | ( | std::vector< std::string > | labels, | |
| int | available, | |||
| int | min, | |||
| int | max | |||
| ) |
Definition at line 262 of file charcreatedialog.cpp.
| void CharCreateDialog::setFixedGender | ( | bool | fixed, | |
| Gender | gender = GENDER_FEMALE | |||
| ) |
Definition at line 313 of file charcreatedialog.cpp.
| int CharCreateDialog::getDistributedPoints | ( | ) | const [private] |
Definition at line 251 of file charcreatedialog.cpp.
| void CharCreateDialog::updateSliders | ( | ) | [private] |
Definition at line 213 of file charcreatedialog.cpp.
| std::string CharCreateDialog::getName | ( | ) | const [private] |
| void CharCreateDialog::attemptCharCreate | ( | ) | [private] |
Communicate character creation to the server.
gcn::TextField* CharCreateDialog::mNameField [private] |
Definition at line 85 of file charcreatedialog.h.
gcn::Label* CharCreateDialog::mNameLabel [private] |
Definition at line 86 of file charcreatedialog.h.
gcn::Button* CharCreateDialog::mNextHairColorButton [private] |
Definition at line 87 of file charcreatedialog.h.
gcn::Button* CharCreateDialog::mPrevHairColorButton [private] |
Definition at line 88 of file charcreatedialog.h.
gcn::Label* CharCreateDialog::mHairColorLabel [private] |
Definition at line 89 of file charcreatedialog.h.
gcn::Button* CharCreateDialog::mNextHairStyleButton [private] |
Definition at line 90 of file charcreatedialog.h.
gcn::Button* CharCreateDialog::mPrevHairStyleButton [private] |
Definition at line 91 of file charcreatedialog.h.
gcn::Label* CharCreateDialog::mHairStyleLabel [private] |
Definition at line 92 of file charcreatedialog.h.
gcn::RadioButton* CharCreateDialog::mMale [private] |
Definition at line 94 of file charcreatedialog.h.
gcn::RadioButton* CharCreateDialog::mFemale [private] |
Definition at line 95 of file charcreatedialog.h.
std::vector<gcn::Slider*> CharCreateDialog::mAttributeSlider [private] |
Definition at line 97 of file charcreatedialog.h.
std::vector<gcn::Label*> CharCreateDialog::mAttributeLabel [private] |
Definition at line 98 of file charcreatedialog.h.
std::vector<gcn::Label*> CharCreateDialog::mAttributeValue [private] |
Definition at line 99 of file charcreatedialog.h.
gcn::Label* CharCreateDialog::mAttributesLeft [private] |
Definition at line 100 of file charcreatedialog.h.
int CharCreateDialog::mMaxPoints [private] |
Definition at line 102 of file charcreatedialog.h.
int CharCreateDialog::mUsedPoints [private] |
Definition at line 103 of file charcreatedialog.h.
gcn::Button* CharCreateDialog::mCreateButton [private] |
Definition at line 105 of file charcreatedialog.h.
gcn::Button* CharCreateDialog::mCancelButton [private] |
Definition at line 106 of file charcreatedialog.h.
Player* CharCreateDialog::mPlayer [private] |
Definition at line 108 of file charcreatedialog.h.
PlayerBox* CharCreateDialog::mPlayerBox [private] |
Definition at line 109 of file charcreatedialog.h.
int CharCreateDialog::mSlot [private] |
Definition at line 111 of file charcreatedialog.h.
1.5.5