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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/skilldialog.h b/src/gui/skilldialog.h
index 1cb832906..58c4bc42a 100644
--- a/src/gui/skilldialog.h
+++ b/src/gui/skilldialog.h
@@ -32,8 +32,9 @@
#include <map>
+#define SKILL_MIN_ID 200000
+
class Button;
-//class Image;
class Label;
class ScrollArea;
class SkillModel;
@@ -44,6 +45,7 @@ struct SkillInfo
{
unsigned short id;
std::string name;
+ std::string shortName;
std::string dispName;
Image *icon;
bool modifiable;
@@ -73,10 +75,8 @@ struct SkillInfo
void draw(Graphics *graphics, int y, int width);
};
-
typedef std::vector<SkillInfo*> SkillList;
-
/**
* The skill dialog.
*
@@ -117,6 +117,8 @@ class SkillDialog : public Window, public gcn::ActionListener
void widgetResized(const gcn::Event &event);
+ void useItem(int itemId);
+
private:
typedef std::map<int, SkillInfo*> SkillMap;
SkillMap mSkills;