SkillTab Class Reference

Inheritance diagram for SkillTab:

Container

List of all members.


Detailed Description

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.
IcongetIcon (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

Constructor & Destructor Documentation

SkillTab::SkillTab ( const std::string &  type  ) 

Constructor.

Definition at line 164 of file skilldialog.cpp.


Member Function Documentation

void SkillTab::update (  ) 

Update this tab.

Definition at line 309 of file skilldialog.cpp.

void SkillTab::action ( const gcn::ActionEvent &  event  )  [inline]

Called when receiving actions from widget.

Definition at line 64 of file skilldialog.cpp.

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]

Get the icon associated with the given index.

Definition at line 247 of file skilldialog.cpp.


Member Data Documentation

const std::string SkillTab::type

The type of this skill tab.

Definition at line 49 of file skilldialog.cpp.

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.


The documentation for this class was generated from the following file:

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5