summaryrefslogtreecommitdiff
path: root/src/gui/skill.h
diff options
context:
space:
mode:
authorRoderic Morris <roderic@ccs.neu.edu>2008-08-18 01:23:58 +0000
committerRoderic Morris <roderic@ccs.neu.edu>2008-08-18 01:23:58 +0000
commitc8b89f9c29e16680f68d9f2ca42048f6f01423a9 (patch)
tree108aea4acaedf19cf795d6ac5cb504a22e5ae4ec /src/gui/skill.h
parentd55645648aab1bdf89602bdc05e7a0b356fe191b (diff)
downloadmana-client-c8b89f9c29e16680f68d9f2ca42048f6f01423a9.tar.gz
mana-client-c8b89f9c29e16680f68d9f2ca42048f6f01423a9.tar.bz2
mana-client-c8b89f9c29e16680f68d9f2ca42048f6f01423a9.tar.xz
mana-client-c8b89f9c29e16680f68d9f2ca42048f6f01423a9.zip
fix bug #209, display skill icons correctly.
Diffstat (limited to 'src/gui/skill.h')
-rw-r--r--src/gui/skill.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/skill.h b/src/gui/skill.h
index b3a9e126..12f619bd 100644
--- a/src/gui/skill.h
+++ b/src/gui/skill.h
@@ -36,6 +36,7 @@
#include "../guichanfwd.h"
class ProgressBar;
+class Icon;
class Skill_Tab : public GCContainer, public gcn::ActionListener
{
@@ -48,7 +49,7 @@ class Skill_Tab : public GCContainer, public gcn::ActionListener
/**
* Constructor
*/
- Skill_Tab(std::string type);
+ Skill_Tab(const std::string &type);
/**
* Update this tab
@@ -82,9 +83,9 @@ class Skill_Tab : public GCContainer, public gcn::ActionListener
/**
* Get the icon associated with the given index
*/
- gcn::Icon* getIcon(int index);
+ Icon* getIcon(int index);
- std::vector<gcn::Icon *> mSkillIcons;
+ std::vector<Icon *> mSkillIcons;
std::vector<gcn::Label *> mSkillNameLabels;
std::vector<gcn::Label *> mSkillLevelLabels;
std::vector<gcn::Label *> mSkillExpLabels;