summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-19 17:16:42 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-19 17:16:42 +0200
commit2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73 (patch)
tree949e1ad112f95b686a03c39d7697b2ea2b9d4ca3 /src/gui/skilldialog.h
parent31dda9ab4d1559749a0f8f181ce1f7948e482813 (diff)
downloadplus-2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73.tar.gz
plus-2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73.tar.bz2
plus-2db104b657d0403f1b8ce2eb2dc8ada4ee9d7f73.tar.xz
plus-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.h6
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;