diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-19 17:16:42 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-19 17:16:42 +0200 |
commit | 2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73 (patch) | |
tree | 949e1ad112f95b686a03c39d7697b2ea2b9d4ca3 /src/gui/skilldialog.h | |
parent | 31dda9ab4d1559749a0f8f181ce1f7948e482813 (diff) | |
download | mv-2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73.tar.gz mv-2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73.tar.bz2 mv-2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73.tar.xz mv-2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73.zip |
Add unknown skills to first skill tab. (in tmw Basic).
Diffstat (limited to 'src/gui/skilldialog.h')
-rw-r--r-- | src/gui/skilldialog.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/skilldialog.h b/src/gui/skilldialog.h index 4ba4afe8e..188cf76d5 100644 --- a/src/gui/skilldialog.h +++ b/src/gui/skilldialog.h @@ -37,6 +37,7 @@ class Button; //class Image; class Label; class ScrollArea; +class SkillModel; class Tab; class TabbedArea; @@ -71,7 +72,9 @@ class SkillDialog : public Window, public gcn::ActionListener void loadSkills(const std::string &file); - void setModifiable(int id, bool modifiable); + bool setModifiable(int id, bool modifiable); + + void addSkill(int id, int level, bool modifiable); SkillInfo* getSkill(int id); @@ -84,6 +87,7 @@ class SkillDialog : public Window, public gcn::ActionListener TabbedArea *mTabs; Label *mPointsLabel; Button *mIncreaseButton; + SkillModel *mDefaultModel; }; extern SkillDialog *skillDialog; |