diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-07-30 21:30:21 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-07-30 21:32:37 +0200 |
commit | 3b22c2cf170c877904dcef5a4af03ac360bd0581 (patch) | |
tree | eef31fccf35ca187eeb6c9ecf663ffd3e07d316f /src/gui | |
parent | b942bd30079808e2bfd6be98cfcd88aacb2d678b (diff) | |
download | mana-3b22c2cf170c877904dcef5a4af03ac360bd0581.tar.gz mana-3b22c2cf170c877904dcef5a4af03ac360bd0581.tar.bz2 mana-3b22c2cf170c877904dcef5a4af03ac360bd0581.tar.xz mana-3b22c2cf170c877904dcef5a4af03ac360bd0581.zip |
Hacked away the sliders in the character create dialog. Better not try connecting to tmwAthena server.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/charcreatedialog.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp index a36dfadf..931735f8 100644 --- a/src/gui/charcreatedialog.cpp +++ b/src/gui/charcreatedialog.cpp @@ -101,11 +101,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *parent, int slot): mNameField->setActionEventId("create"); mNameField->addActionListener(this); - mAttributesLeft = new Label( - strprintf(_("Please distribute %d points"), 99)); - int w = 200; - int h = 330; + int h = 160; setContentSize(w, h); mPlayerBox->setDimension(gcn::Rectangle(80, 30, 110, 85)); mNameLabel->setPosition(5, 5); @@ -117,7 +114,6 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *parent, int slot): mPrevHairStyleButton->setPosition(90, 64); mNextHairStyleButton->setPosition(165, 64); mHairStyleLabel->setPosition(5, 70); - mAttributesLeft->setPosition(15, 280); updateSliders(); mCancelButton->setPosition( w - 5 - mCancelButton->getWidth(), @@ -138,7 +134,6 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *parent, int slot): add(mNextHairStyleButton); add(mPrevHairStyleButton); add(mHairStyleLabel); - add(mAttributesLeft); add(mCreateButton); add(mCancelButton); @@ -240,6 +235,9 @@ std::string CharCreateDialog::getName() const void CharCreateDialog::updateSliders() { + if (Net::getNetworkType() == ServerInfo::MANASERV) + return; + for (unsigned i = 0; i < mAttributeSlider.size(); i++) { // Update captions |