summaryrefslogtreecommitdiff
path: root/src/gui/buy.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/buy.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/buy.cpp')
-rw-r--r--src/gui/buy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index 2f2e01ef..8eefa503 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -25,6 +25,7 @@
#include "button.h"
#include "slider.h"
#include "scrollarea.h"
+#include "listbox.h"
#include <sstream>
@@ -32,7 +33,7 @@ BuyDialog::BuyDialog(gcn::Container *parent):
Window(parent, "Buy"),
money(0)
{
- itemList = new gcn::ListBox(this);
+ itemList = new ListBox(this);
scrollArea = new ScrollArea(itemList);
slider = new Slider(1.0);
quantityLabel = new gcn::Label("0");