diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
commit | f55baadfeb6245899497cd472f65f23e905481b9 (patch) | |
tree | d5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/windows/charselectdialog.cpp | |
parent | 52039744fa2e5e116548e5236cd8ba5f5d81702a (diff) | |
download | manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2 manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz manaplus-f55baadfeb6245899497cd472f65f23e905481b9.zip |
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index a8da297cb..b4fa77506 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -94,15 +94,15 @@ CharSelectDialog::CharSelectDialog(LoginData &data) : setCloseButton(true); setFocusable(true); - ContainerPlacer placer; + ContainerPlacer placer(nullptr, nullptr); placer = getPlacer(0, 0); - placer(0, 0, mSwitchLoginButton); + placer(0, 0, mSwitchLoginButton, 1, 1); int n = 1; - placer(n, 0, mChangePasswordButton); + placer(n, 0, mChangePasswordButton, 1, 1); n ++; - placer(n, 0, mDeleteButton); + placer(n, 0, mDeleteButton, 1, 1); n ++; #ifdef TMWA_SUPPORT if (Net::getNetworkType() != ServerType::TMWATHENA) @@ -113,10 +113,10 @@ CharSelectDialog::CharSelectDialog(LoginData &data) : _("Rename"), "rename", this); - placer(n, 0, mRenameButton); + placer(n, 0, mRenameButton, 1, 1); n ++; } - placer(n, 0, mInfoButton); + placer(n, 0, mInfoButton, 1, 1); n ++; for (int i = 0; i < CAST_S32(mLoginData->characterSlots); i++) @@ -126,13 +126,13 @@ CharSelectDialog::CharSelectDialog(LoginData &data) : mCharacterEntries.push_back(character); } - placer(0, 2, mPlayButton); + placer(0, 2, mPlayButton, 1, 1); if (!mSmallScreen) { mCharacterView = new CharacterViewNormal( this, &mCharacterEntries, mPadding); - placer(0, 1, mCharacterView, 10); + placer(0, 1, mCharacterView, 10, 1); int sz = 410 + 2 * mPadding; if (config.getIntValue("fontSize") > 18) sz = 500 + 2 * mPadding; @@ -151,7 +151,7 @@ CharSelectDialog::CharSelectDialog(LoginData &data) : this, &mCharacterEntries, mPadding); mCharacterView->setWidth(mainGraphics->getWidth() - 2 * getPadding()); - placer(0, 1, mCharacterView, 10); + placer(0, 1, mCharacterView, 10, 1); reflowLayout(); } addKeyListener(this); |