diff options
author | Eugene Sandulenko | 2006-03-09 01:08:25 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-03-09 01:08:25 +0000 |
commit | c3f91ca288cd4cfb884fedb956d0d1049f857841 (patch) | |
tree | 974703ccff93ea4ebcb1eccb1f3867a218520ba0 /gui/launcher.cpp | |
parent | f5efc8b1696400061a202db614ca02f8a4a8d391 (diff) | |
download | scummvm-rg350-c3f91ca288cd4cfb884fedb956d0d1049f857841.tar.gz scummvm-rg350-c3f91ca288cd4cfb884fedb956d0d1049f857841.tar.bz2 scummvm-rg350-c3f91ca288cd4cfb884fedb956d0d1049f857841.zip |
Converted all scumm dialogs to new scheme
svn-id: r21147
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r-- | gui/launcher.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index e539460ee5..24723ce3d1 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -191,12 +191,12 @@ EditGameDialog::EditGameDialog(const String &domain, const char *desc) yoffset = vBorder; // GUI: Label & edit widget for the game ID - new StaticTextWidget(tab, x, yoffset + 2, labelWidth, kLineHeight, "ID: ", kTextAlignRight, ws); + new StaticTextWidget(tab, x, yoffset + 2, labelWidth, kLineHeight, "ID: ", kTextAlignRight); _domainWidget = new DomainEditTextWidget(tab, x + labelWidth, yoffset, _w - labelWidth - 10 - x, kLineHeight, _domain, ws); yoffset += _domainWidget->getHeight() + 3; // GUI: Label & edit widget for the description - new StaticTextWidget(tab, x, yoffset + 2, labelWidth, kLineHeight, "Name: ", kTextAlignRight, ws); + new StaticTextWidget(tab, x, yoffset + 2, labelWidth, kLineHeight, "Name: ", kTextAlignRight); _descriptionWidget = new EditTextWidget(tab, x + labelWidth, yoffset, _w - labelWidth - 10 - x, kLineHeight, description, ws); yoffset += _descriptionWidget->getHeight() + 3; @@ -229,12 +229,12 @@ EditGameDialog::EditGameDialog(const String &domain, const char *desc) // GUI: Button + Label for the game path new ButtonWidget(tab, x, yoffset, buttonWidth + 5, buttonHeight, "Game Path: ", kCmdGameBrowser, 0, ws); - _gamePathWidget = new StaticTextWidget(tab, x + buttonWidth + 20, yoffset + 3, _w - (x + buttonWidth + 20) - 10, kLineHeight, gamePath, kTextAlignLeft, ws); + _gamePathWidget = new StaticTextWidget(tab, x + buttonWidth + 20, yoffset + 3, _w - (x + buttonWidth + 20) - 10, kLineHeight, gamePath, kTextAlignLeft); yoffset += buttonHeight + 4; // GUI: Button + Label for the additional path new ButtonWidget(tab, x, yoffset, buttonWidth + 5, buttonHeight, "Extra Path:", kCmdExtraBrowser, 0, ws); - _extraPathWidget = new StaticTextWidget(tab, x + buttonWidth + 20, yoffset + 3, _w - (x + buttonWidth + 20) - 10, kLineHeight, extraPath, kTextAlignLeft, ws); + _extraPathWidget = new StaticTextWidget(tab, x + buttonWidth + 20, yoffset + 3, _w - (x + buttonWidth + 20) - 10, kLineHeight, extraPath, kTextAlignLeft); if (extraPath.isEmpty() || !ConfMan.hasKey("extrapath", _domain)) { _extraPathWidget->setLabel("None"); } @@ -242,7 +242,7 @@ EditGameDialog::EditGameDialog(const String &domain, const char *desc) // GUI: Button + Label for the save path new ButtonWidget(tab, x, yoffset, buttonWidth + 5, buttonHeight, "Save Path: ", kCmdSaveBrowser, 0, ws); - _savePathWidget = new StaticTextWidget(tab, x + buttonWidth + 20, yoffset + 3, _w - (x + buttonWidth + 20) - 10, kLineHeight, savePath, kTextAlignLeft, ws); + _savePathWidget = new StaticTextWidget(tab, x + buttonWidth + 20, yoffset + 3, _w - (x + buttonWidth + 20) - 10, kLineHeight, savePath, kTextAlignLeft); if (savePath.isEmpty() || !ConfMan.hasKey("savepath", _domain)) { _savePathWidget->setLabel("Default"); } |