diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-07 20:19:10 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-07 20:19:10 +0200 |
commit | 7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a (patch) | |
tree | 2499b2198dc1efae9d7f15e021c0574a95a0c95a /src/gui/textdialog.cpp | |
parent | ef1975a3eb4e1986601ad154bf184e0de332870c (diff) | |
download | mana-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/textdialog.cpp')
-rw-r--r-- | src/gui/textdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 <guichan/widgets/label.hpp> -#include <guichan/widgets/textfield.hpp> +#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); |