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/unregisterdialog.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/unregisterdialog.cpp')
-rw-r--r-- | src/gui/unregisterdialog.cpp | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/src/gui/unregisterdialog.cpp b/src/gui/unregisterdialog.cpp index c133c9f7..b67fb01e 100644 --- a/src/gui/unregisterdialog.cpp +++ b/src/gui/unregisterdialog.cpp @@ -19,34 +19,33 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "unregisterdialog.h" +#include "gui/unregisterdialog.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/checkbox.h" +#include "gui/label.h" +#include "gui/ok_dialog.h" +#include "gui/passwordfield.h" +#include "gui/register.h" +#include "gui/textfield.h" -#include "button.h" -#include "checkbox.h" -#include "register.h" -#include "passwordfield.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> UnRegisterDialog::UnRegisterDialog(Window *parent, LoginData *loginData): Window("Unregister", true, parent), mWrongDataNoticeListener(new WrongDataNoticeListener), mLoginData(loginData) { - gcn::Label *userLabel = new gcn::Label(strprintf(_("Name: %s"), mLoginData->username.c_str())); - gcn::Label *passwordLabel = new gcn::Label(_("Password:")); + gcn::Label *userLabel = new Label(strprintf(_("Name: %s"), mLoginData->username.c_str())); + gcn::Label *passwordLabel = new Label(_("Password:")); mPasswordField = new PasswordField(mLoginData->password); mUnRegisterButton = new Button(_("Unregister"), "unregister", this); mCancelButton = new Button(_("Cancel"), "cancel", this); |