summaryrefslogtreecommitdiff
path: root/src/gui/skill.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-08 01:33:53 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-08 01:33:53 +0000
commitee416a5f3de03a689247a290077e7fdf451e1a23 (patch)
treef456df99f954919ac7a425606df51f010aa4ef2d /src/gui/skill.cpp
parent4070dda1560bc729c3e272f0a5c03d77391e2661 (diff)
downloadmana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.gz
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.bz2
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.xz
mana-ee416a5f3de03a689247a290077e7fdf451e1a23.zip
Well improved window container and window widgets a bit, and made a start
on support for modal dialogs. Still some issues to work out. Tell me if you experience something unsettling.
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r--src/gui/skill.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index 2139c4ff..b66a5426 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -24,6 +24,7 @@
#include "skill.h"
#include "listbox.h"
#include "scrollarea.h"
+#include "button.h"
extern PLAYER_INFO *char_info;
@@ -112,8 +113,8 @@ void SkillListModel::setSkill(int id, int lv, int sp)
}
-SkillDialog::SkillDialog(gcn::Container *parent)
- : Window(parent, "Skills")
+SkillDialog::SkillDialog():
+ Window("Skills")
{
skills = new SkillListModel();
skillListBox = new ListBox(skills);