summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.h
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-05-24 21:49:09 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-25 23:18:40 +0200
commita3c66a09efc7f3683f0c247f4a2c5035bff83651 (patch)
tree1d196524cd791afaa74110456a9910c430bb0a43 /src/gui/charselectdialog.h
parenta36909f5c3408153c9b5f9477adde9b27d8c7482 (diff)
downloadmana-a3c66a09efc7f3683f0c247f4a2c5035bff83651.tar.gz
mana-a3c66a09efc7f3683f0c247f4a2c5035bff83651.tar.bz2
mana-a3c66a09efc7f3683f0c247f4a2c5035bff83651.tar.xz
mana-a3c66a09efc7f3683f0c247f4a2c5035bff83651.zip
Add change password dialog to athena client
(cherry picked from commit 050103b8d2e3eb23e7aea188a1a269feb7c181ab)
Diffstat (limited to 'src/gui/charselectdialog.h')
-rw-r--r--src/gui/charselectdialog.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h
index adbf3de1..06ce4b55 100644
--- a/src/gui/charselectdialog.h
+++ b/src/gui/charselectdialog.h
@@ -47,13 +47,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener
/**
* Constructor.
*/
-#ifdef TMWSERV_SUPPORT
CharSelectDialog(LockedArray<LocalPlayer*> *charInfo,
LoginData *loginData);
-#else
- CharSelectDialog(LockedArray<LocalPlayer*> *charInfo,
- Gender gender);
-#endif
void action(const gcn::ActionEvent &event);
@@ -70,12 +65,16 @@ class CharSelectDialog : public Window, public gcn::ActionListener
gcn::Button *mCancelButton;
gcn::Button *mPreviousButton;
gcn::Button *mNextButton;
+ gcn::Button *mChangePasswordButton;
gcn::Label *mNameLabel;
gcn::Label *mLevelLabel;
gcn::Label *mMoneyLabel;
+ gcn::Label *mAccountNameLabel;
std::string mMoney;
+ LoginData *mLoginData;
+
PlayerBox *mPlayerBox;
bool mCharSelected;
@@ -84,11 +83,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener
gcn::Button *mNewCharButton;
gcn::Button *mDelCharButton;
gcn::Button *mUnRegisterButton;
- gcn::Button *mChangePasswordButton;
gcn::Button *mChangeEmailButton;
- gcn::Label *mAccountNameLabel;
- LoginData *mLoginData;
#else
gcn::Button *mNewDelCharButton;
gcn::Label *mJobLevelLabel;