summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.h
diff options
context:
space:
mode:
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;