Definition at line 43 of file skilldialog.cpp.
Public Member Functions | |
SkillTab (const std::string &type) | |
Constructor. | |
void | update () |
Update this tab. | |
void | action (const gcn::ActionEvent &event) |
Called when receiving actions from widget. | |
Public Attributes | |
const std::string | type |
The type of this skill tab. | |
Private Member Functions | |
void | updateSkill (int index) |
Update the information of a skill at the given index. | |
int | getSkillNum () |
Gets the number of skills in this particular type of tab. | |
int | getSkillBegin () |
Get the first enumeration of this skill tab's skill type. | |
Icon * | getIcon (int index) |
Get the icon associated with the given index. | |
Private Attributes | |
std::vector< Icon * > | mSkillIcons |
std::vector< gcn::Label * > | mSkillNameLabels |
std::vector< gcn::Label * > | mSkillLevelLabels |
std::vector< gcn::Label * > | mSkillExpLabels |
std::vector< ProgressBar * > | mSkillProgress |
SkillTab::SkillTab | ( | const std::string & | type | ) |
void SkillTab::update | ( | ) |
void SkillTab::action | ( | const gcn::ActionEvent & | event | ) | [inline] |
void SkillTab::updateSkill | ( | int | index | ) | [private] |
Update the information of a skill at the given index.
Definition at line 254 of file skilldialog.cpp.
int SkillTab::getSkillNum | ( | ) | [private] |
Gets the number of skills in this particular type of tab.
Definition at line 203 of file skilldialog.cpp.
int SkillTab::getSkillBegin | ( | ) | [private] |
Get the first enumeration of this skill tab's skill type.
Definition at line 225 of file skilldialog.cpp.
Icon * SkillTab::getIcon | ( | int | index | ) | [private] |
const std::string SkillTab::type |
std::vector<Icon *> SkillTab::mSkillIcons [private] |
Definition at line 90 of file skilldialog.cpp.
std::vector<gcn::Label *> SkillTab::mSkillNameLabels [private] |
Definition at line 91 of file skilldialog.cpp.
std::vector<gcn::Label *> SkillTab::mSkillLevelLabels [private] |
Definition at line 92 of file skilldialog.cpp.
std::vector<gcn::Label *> SkillTab::mSkillExpLabels [private] |
Definition at line 93 of file skilldialog.cpp.
std::vector<ProgressBar *> SkillTab::mSkillProgress [private] |
Definition at line 94 of file skilldialog.cpp.