summaryrefslogtreecommitdiff
path: root/src/gui/npc.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-30 13:11:32 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-30 13:11:32 +0000
commitbbd44ef322cb26ed326250300e240df6fc19b545 (patch)
tree8b61902cd739c77b872a0d0e081711223bb917e8 /src/gui/npc.cpp
parenta6938f026fd8656cb559f2645110880f4e79c4f5 (diff)
downloadmana-bbd44ef322cb26ed326250300e240df6fc19b545.tar.gz
mana-bbd44ef322cb26ed326250300e240df6fc19b545.tar.bz2
mana-bbd44ef322cb26ed326250300e240df6fc19b545.tar.xz
mana-bbd44ef322cb26ed326250300e240df6fc19b545.zip
Subclassed ListBox and TextBox for a little better visual appearance.
Diffstat (limited to 'src/gui/npc.cpp')
-rw-r--r--src/gui/npc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/npc.cpp b/src/gui/npc.cpp
index 80d55c73..95180356 100644
--- a/src/gui/npc.cpp
+++ b/src/gui/npc.cpp
@@ -24,12 +24,13 @@
#include "npc.h"
#include "button.h"
#include "scrollarea.h"
+#include "listbox.h"
#include "../game.h"
NpcListDialog::NpcListDialog(gcn::Container *parent):
Window(parent, "NPC")
{
- itemList = new gcn::ListBox(this);
+ itemList = new ListBox(this);
scrollArea = new ScrollArea(itemList);
okButton = new Button("OK");
cancelButton = new Button("Cancel");