summaryrefslogtreecommitdiff
path: root/src/gui/register.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-06-21 17:06:57 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-06-21 17:06:57 +0000
commite87c165b31b3bdb784f23fd7d1e6a795859aa24c (patch)
tree913263b303ff1019d8be92ade326a028c012db16 /src/gui/register.cpp
parent46cf032fc0eea43743b86d9e05950dd7a65728b7 (diff)
downloadmana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.gz
mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.bz2
mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.xz
mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.zip
Added female players.
Diffstat (limited to 'src/gui/register.cpp')
-rw-r--r--src/gui/register.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gui/register.cpp b/src/gui/register.cpp
index 41d2db6c..b99568a8 100644
--- a/src/gui/register.cpp
+++ b/src/gui/register.cpp
@@ -56,9 +56,7 @@ RegisterDialog::RegisterDialog(LoginData *loginData):
mConfirmField = new PasswordField();
mServerField = new TextField();
mMaleButton = new RadioButton("Male", "sex", true);
- mMaleButton->setEnabled(false);
mFemaleButton = new RadioButton("Female", "sex", false);
- mFemaleButton->setEnabled(false);
mRegisterButton = new Button("Register", "register", this);
mCancelButton = new Button("Cancel", "cancel", this);
@@ -92,17 +90,6 @@ RegisterDialog::RegisterDialog(LoginData *loginData):
mCancelButton->setPosition(10 + mRegisterButton->getWidth(),
mRegisterButton->getY());
-
- /*mUserField->setEventId("register");
- mPasswordField->setEventId("register");
- mConfirmField->setEventId("register");
- mServerField->setEventId("register");*/
-
- /*mUserField->addActionListener(this);
- mPasswordField->addActionListener(this);
- mConfirmField->addActionListener(this);
- mServerField->addActionListener(this);*/
-
add(userLabel);
add(passwordLabel);
add(serverLabel);