SkillDialog Class Reference
[User interface related classes (windows, dialogs)]

#include <skill.h>

Inheritance diagram for SkillDialog:

Window Window

List of all members.


Detailed Description

The skill dialog.

Definition at line 46 of file skill.h.


Public Member Functions

 SkillDialog ()
 Constructor.
 ~SkillDialog ()
 Destructor.
void action (const gcn::ActionEvent &event)
void update ()
int getNumberOfElements ()
bool hasSkill (int id)
void addSkill (int id, int lv, int sp)
void setSkill (int id, int lv, int sp)
void cleanList ()
const std::vector< SKILL * > & getSkills () const
 SkillDialog ()
 ~SkillDialog ()
void action (const gcn::ActionEvent &event)
 Called when receiving actions from widget.
void update ()
 Update the tabs in this dialog.
void draw (gcn::Graphics *g)
 Draw this window.

Private Attributes

GuiTablemTable
ScrollAreaskillScrollArea
SkillGuiTableModelmTableModel
gcn::Label * mPointsLabel
gcn::Button * mIncButton
gcn::Button * mUseButton
std::vector< SKILL * > mSkillList
std::list< SkillTab * > mTabs

Constructor & Destructor Documentation

SkillDialog::SkillDialog (  ) 

Constructor.

Definition at line 125 of file skill.cpp.

SkillDialog::~SkillDialog (  ) 

Destructor.

Definition at line 164 of file skill.cpp.

SkillDialog::SkillDialog (  ) 

SkillDialog::~SkillDialog (  ) 


Member Function Documentation

void SkillDialog::action ( const gcn::ActionEvent &  event  ) 

Definition at line 169 of file skill.cpp.

void SkillDialog::update (  ) 

Definition at line 195 of file skill.cpp.

int SkillDialog::getNumberOfElements (  ) 

Definition at line 222 of file skill.cpp.

bool SkillDialog::hasSkill ( int  id  ) 

Definition at line 227 of file skill.cpp.

void SkillDialog::addSkill ( int  id,
int  lv,
int  sp 
)

Definition at line 237 of file skill.cpp.

void SkillDialog::setSkill ( int  id,
int  lv,
int  sp 
)

Definition at line 246 of file skill.cpp.

void SkillDialog::cleanList (  ) 

Definition at line 258 of file skill.cpp.

const std::vector<SKILL*>& SkillDialog::getSkills (  )  const [inline]

Definition at line 70 of file skill.h.

void SkillDialog::action ( const gcn::ActionEvent &  event  ) 

Called when receiving actions from widget.

void SkillDialog::update (  ) 

Update the tabs in this dialog.

void SkillDialog::draw ( gcn::Graphics *  g  ) 

Draw this window.

Reimplemented from Window.

Definition at line 148 of file skilldialog.cpp.


Member Data Documentation

Definition at line 73 of file skill.h.

Definition at line 74 of file skill.h.

Definition at line 75 of file skill.h.

gcn::Label* SkillDialog::mPointsLabel [private]

Definition at line 76 of file skill.h.

gcn::Button* SkillDialog::mIncButton [private]

Definition at line 77 of file skill.h.

gcn::Button* SkillDialog::mUseButton [private]

Definition at line 78 of file skill.h.

std::vector<SKILL*> SkillDialog::mSkillList [private]

Definition at line 80 of file skill.h.

std::list<SkillTab*> SkillDialog::mTabs [private]

Definition at line 65 of file skilldialog.h.


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

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