Ticket #8703: spaceless_strings.patch
File spaceless_strings.patch, 4.3 KB (added by , 16 years ago) |
---|
-
gui/options.cpp
502 502 int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW"); 503 503 504 504 // The GFX mode popup 505 _gfxPopUp = new PopUpWidget(boss, prefix + "grModePopup", "Graphics mode: 505 _gfxPopUp = new PopUpWidget(boss, prefix + "grModePopup", "Graphics mode:", labelWidth); 506 506 507 507 _gfxPopUp->appendEntry("<default>"); 508 508 _gfxPopUp->appendEntry(""); … … 512 512 } 513 513 514 514 // RenderMode popup 515 _renderModePopUp = new PopUpWidget(boss, prefix + "grRenderPopup", "Render mode: 515 _renderModePopUp = new PopUpWidget(boss, prefix + "grRenderPopup", "Render mode:", labelWidth); 516 516 _renderModePopUp->appendEntry("<default>", Common::kRenderDefault); 517 517 _renderModePopUp->appendEntry(""); 518 518 const Common::RenderModeDescription *rm = Common::g_renderModes; … … 539 539 int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW"); 540 540 541 541 // The MIDI mode popup & a label 542 _midiPopUp = new PopUpWidget(boss, prefix + "auMidiPopup", "Music driver: 542 _midiPopUp = new PopUpWidget(boss, prefix + "auMidiPopup", "Music driver:", labelWidth); 543 543 544 544 // Populate it 545 545 const MidiDriverDescription *md = MidiDriver::getAvailableMidiDrivers(); … … 549 549 } 550 550 551 551 // Sample rate settings 552 _outputRatePopUp = new PopUpWidget(boss, prefix + "auSampleRatePopup", "Output rate: 552 _outputRatePopUp = new PopUpWidget(boss, prefix + "auSampleRatePopup", "Output rate:", labelWidth); 553 553 554 554 for (int i = 0; outputRateLabels[i]; i++) { 555 555 _outputRatePopUp->appendEntry(outputRateLabels[i], outputRateValues[i]); … … 719 719 720 720 int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW"); 721 721 722 _autosavePeriodPopUp = new PopUpWidget(tab, "globaloptions_autosaveperiod", "Autosave: 722 _autosavePeriodPopUp = new PopUpWidget(tab, "globaloptions_autosaveperiod", "Autosave:", labelWidth); 723 723 724 724 for (int i = 0; savePeriodLabels[i]; i++) { 725 725 _autosavePeriodPopUp->appendEntry(savePeriodLabels[i], savePeriodValues[i]); -
gui/launcher.cpp
171 171 tab->addTab("Game"); 172 172 173 173 // GUI: Label & edit widget for the game ID 174 new StaticTextWidget(tab, "gameoptions_id", "ID: 174 new StaticTextWidget(tab, "gameoptions_id", "ID:"); 175 175 _domainWidget = new DomainEditTextWidget(tab, "gameoptions_domain", _domain); 176 176 177 177 // GUI: Label & edit widget for the description 178 new StaticTextWidget(tab, "gameoptions_name", "Name: 178 new StaticTextWidget(tab, "gameoptions_name", "Name:"); 179 179 _descriptionWidget = new EditTextWidget(tab, "gameoptions_desc", description); 180 180 181 181 // Language popup 182 _langPopUp = new PopUpWidget(tab, "gameoptions_lang", "Language: 182 _langPopUp = new PopUpWidget(tab, "gameoptions_lang", "Language:", labelWidth); 183 183 _langPopUp->appendEntry("<default>"); 184 184 _langPopUp->appendEntry(""); 185 185 const Common::LanguageDescription *l = Common::g_languages; … … 188 188 } 189 189 190 190 // Platform popup 191 _platformPopUp = new PopUpWidget(tab, "gameoptions_platform", "Platform: 191 _platformPopUp = new PopUpWidget(tab, "gameoptions_platform", "Platform:", labelWidth); 192 192 _platformPopUp->appendEntry("<default>"); 193 193 _platformPopUp->appendEntry(""); 194 194 const Common::PlatformDescription *p = Common::g_platforms; … … 242 242 // in the small version of the GUI. 243 243 244 244 // GUI: Button + Label for the game path 245 new ButtonWidget(tab, "gameoptions_gamepath", "Game Path: 245 new ButtonWidget(tab, "gameoptions_gamepath", "Game Path:", kCmdGameBrowser, 0); 246 246 _gamePathWidget = new StaticTextWidget(tab, "gameoptions_gamepathText", gamePath); 247 247 248 248 // GUI: Button + Label for the additional path … … 253 253 } 254 254 255 255 // GUI: Button + Label for the save path 256 new ButtonWidget(tab, "gameoptions_savepath", "Save Path: 256 new ButtonWidget(tab, "gameoptions_savepath", "Save Path:", kCmdSaveBrowser, 0); 257 257 _savePathWidget = new StaticTextWidget(tab, "gameoptions_savepathText", savePath); 258 258 if (savePath.empty() || !ConfMan.hasKey("savepath", _domain)) { 259 259 _savePathWidget->setLabel("Default");