summaryrefslogtreecommitdiff
path: root/src/gui/npc_text.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_text.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_text.cpp')
-rw-r--r--src/gui/npc_text.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp
index 38c29688..dc70927c 100644
--- a/src/gui/npc_text.cpp
+++ b/src/gui/npc_text.cpp
@@ -24,12 +24,13 @@
#include "npc_text.h"
#include "scrollarea.h"
#include "button.h"
+#include "textbox.h"
#include "../game.h"
NpcTextDialog::NpcTextDialog(gcn::Container *parent):
Window(parent, "NPC")
{
- textBox = new gcn::TextBox();
+ textBox = new TextBox();
textBox->setEditable(false);
scrollArea = new ScrollArea(textBox);
okButton = new Button("OK");