From 7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 7 Apr 2009 20:19:10 +0200 Subject: 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. --- src/gui/textdialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/textdialog.cpp') diff --git a/src/gui/textdialog.cpp b/src/gui/textdialog.cpp index 8c65d64b..a7f8def7 100644 --- a/src/gui/textdialog.cpp +++ b/src/gui/textdialog.cpp @@ -19,20 +19,20 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "textdialog.h" -#include "button.h" +#include "gui/textdialog.h" -#include "../utils/gettext.h" +#include "gui/button.h" +#include "gui/label.h" +#include "gui/textfield.h" -#include -#include +#include "utils/gettext.h" TextDialog::TextDialog(const std::string &title, const std::string &msg, Window *parent): Window(title, true, parent), mTextField(new TextField) { - gcn::Label *textLabel = new gcn::Label(msg); + gcn::Label *textLabel = new Label(msg); mOkButton = new Button(_("OK"), "OK", this); gcn::Button *cancelButton = new Button(_("Cancel"), "CANCEL", this); -- cgit v1.2.3-70-g09d2