diff options
Diffstat (limited to 'src/gui/skill.h')
-rw-r--r-- | src/gui/skill.h | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/src/gui/skill.h b/src/gui/skill.h index 78f48e30..0b0f737b 100644 --- a/src/gui/skill.h +++ b/src/gui/skill.h @@ -25,7 +25,6 @@ #define _TMW_SKILL_H #include <allegro.h> -#include "button.h" #include "../main.h" struct SKILL { @@ -40,9 +39,18 @@ struct SKILL { */ class SkillListModel : public gcn::ListModel { - std::vector<SKILL*> skillList; + private: + std::vector<SKILL*> skillList; + public: + /** + * Constructor. + */ SkillListModel(); + + /** + * Destructor. + */ virtual ~SkillListModel(); int getNumberOfElements(); @@ -66,11 +74,18 @@ class SkillDialog : public Window, public gcn::ActionListener SkillListModel *skills; gcn::Label *pointsLabel; - Button *incButton; - Button *closeButton; + gcn::Button *incButton; + gcn::Button *closeButton; public: - SkillDialog(gcn::Container *); + /** + * Constructor. + */ + SkillDialog(); + + /** + * Destructor. + */ ~SkillDialog(); void action(const std::string&); |