diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-08 01:33:53 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-08 01:33:53 +0000 |
commit | ee416a5f3de03a689247a290077e7fdf451e1a23 (patch) | |
tree | f456df99f954919ac7a425606df51f010aa4ef2d /src/gui/skill.cpp | |
parent | 4070dda1560bc729c3e272f0a5c03d77391e2661 (diff) | |
download | mana-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.cpp | 5 |
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); |