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/changeemaildialog.cpp | |
parent | ef1975a3eb4e1986601ad154bf184e0de332870c (diff) | |
download | mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.gz mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.bz2 mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.xz mana-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/changeemaildialog.cpp')
-rw-r--r-- | src/gui/changeemaildialog.cpp | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/src/gui/changeemaildialog.cpp b/src/gui/changeemaildialog.cpp index 14cfb1e7..daa66324 100644 --- a/src/gui/changeemaildialog.cpp +++ b/src/gui/changeemaildialog.cpp @@ -21,31 +21,30 @@ #include "changeemaildialog.h" -#include <string> -#include <sstream> - -#include <guichan/widgets/label.hpp> +#include "main.h" +#include "log.h" +#include "logindata.h" -#include "../main.h" -#include "../log.h" -#include "../logindata.h" +#include "gui/button.h" +#include "gui/label.h" +#include "gui/register.h" +#include "gui/textfield.h" +#include "gui/ok_dialog.h" -#include "button.h" -#include "register.h" -#include "textfield.h" -#include "ok_dialog.h" +#include "utils/gettext.h" +#include "utils/strprintf.h" -#include "../utils/gettext.h" -#include "../utils/strprintf.h" +#include <string> +#include <sstream> ChangeEmailDialog::ChangeEmailDialog(Window *parent, LoginData *loginData): Window(_("Change Email Address"), true, parent), mWrongDataNoticeListener(new WrongDataNoticeListener), mLoginData(loginData) { - gcn::Label *accountLabel = new gcn::Label(strprintf(_("Account: %s"), - mLoginData->username.c_str())); - gcn::Label *newEmailLabel = new gcn::Label(_("Type New Email Address twice:")); + gcn::Label *accountLabel = new Label(strprintf(_("Account: %s"), + mLoginData->username.c_str())); + gcn::Label *newEmailLabel = new Label(_("Type New Email Address twice:")); mFirstEmailField = new TextField; mSecondEmailField = new TextField; mChangeEmailButton = new Button(_("Change Email Address"), "change_email", this); |