summaryrefslogtreecommitdiff
path: root/src/gui/npcpostdialog.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
commit7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a (patch)
tree2499b2198dc1efae9d7f15e021c0574a95a0c95a /src/gui/npcpostdialog.cpp
parentef1975a3eb4e1986601ad154bf184e0de332870c (diff)
downloadmana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.gz
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.bz2
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.xz
mana-client-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.zip
Used custom widgets where appropriate and some cleanup
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
Diffstat (limited to 'src/gui/npcpostdialog.cpp')
-rw-r--r--src/gui/npcpostdialog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/npcpostdialog.cpp b/src/gui/npcpostdialog.cpp
index 2b178cff..f755c64b 100644
--- a/src/gui/npcpostdialog.cpp
+++ b/src/gui/npcpostdialog.cpp
@@ -21,6 +21,7 @@
#include "gui/npcpostdialog.h"
+#include "gui/label.h"
#include "gui/textbox.h"
#include "gui/textfield.h"
#include "gui/button.h"
@@ -35,15 +36,13 @@
#include "utils/gettext.h"
-#include <guichan/widgets/label.hpp>
-
NpcPostDialog::NpcPostDialog():
Window(_("NPC"))
{
setContentSize(400, 180);
// create text field for receiver
- gcn::Label *senderText = new gcn::Label("To:");
+ gcn::Label *senderText = new Label("To:");
senderText->setPosition(5, 5);
mSender = new TextField;
mSender->setPosition(senderText->getWidth() + 5, 5);