summaryrefslogtreecommitdiff
path: root/src/gui/newskill.h
diff options
context:
space:
mode:
authorKiyoshi Kyokai <kiyoshi.kyokai@gmail.com>2005-02-22 14:39:59 +0000
committerKiyoshi Kyokai <kiyoshi.kyokai@gmail.com>2005-02-22 14:39:59 +0000
commit032a97e40be8369526811f67a9e7fa5561365461 (patch)
tree1435a36b45fe2d3eca2b3024fe176b9003da0d33 /src/gui/newskill.h
parent8d0da8de6bc877969f9705f89fa071ceccc984ef (diff)
downloadmana-032a97e40be8369526811f67a9e7fa5561365461.tar.gz
mana-032a97e40be8369526811f67a9e7fa5561365461.tar.bz2
mana-032a97e40be8369526811f67a9e7fa5561365461.tar.xz
mana-032a97e40be8369526811f67a9e7fa5561365461.zip
fixed the newskill fiile so it compiles. I don't know how it got corrupted.
Diffstat (limited to 'src/gui/newskill.h')
-rw-r--r--src/gui/newskill.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/newskill.h b/src/gui/newskill.h
index a3cf6c04..468b2114 100644
--- a/src/gui/newskill.h
+++ b/src/gui/newskill.h
@@ -26,8 +26,11 @@
#include <guichan.hpp>
#include "window.h"
+#include "progressbar.h"
#define N_SKILL 100 // skill count constant
+#define N_SKILL_CAT 9 // skill category count
+#define N_SKILL_CAT_SIZE 10 // skill category maximum size
struct nSkill {
short level;
@@ -38,11 +41,10 @@ class NewSkillDialog : public Window, public gcn::ActionListener
{
private:
// members
-
- gcn::ScrollArea *skillScrollArea;
- gcn::Container *skillList;
+ int startPoint; // starting point of skill listing
+ ProgressBar *skillbar;
gcn::Label *skillLabel;
- gcn::Button *groupButtons;
+ gcn::Button *catButton[N_SKILL_CAT];
gcn::Button *closeButton;
public: