BACKENDS: Fix the DS, GameCube and Wii builds

This commit is contained in:
Bastien Bouclet 2020-01-04 11:26:31 +01:00
parent 2de01a3553
commit 0634762ed6
2 changed files with 7 additions and 7 deletions

View file

@ -58,7 +58,7 @@ DSOptionsDialog::DSOptionsDialog() : GUI::Dialog(0, 0, 320 - 10, 230 - 40) {
_tab = new GUI::TabWidget(this, 10, 5, 300, 230 - 20 - 40 - 20); _tab = new GUI::TabWidget(this, 10, 5, 300, 230 - 20 - 40 - 20);
_tab->addTab("Controls"); _tab->addTab("Controls", "");
_leftHandedCheckbox = new GUI::CheckboxWidget(_tab, 5, 5, 130, 20, _("~L~eft handed mode")); _leftHandedCheckbox = new GUI::CheckboxWidget(_tab, 5, 5, 130, 20, _("~L~eft handed mode"));
_indyFightCheckbox = new GUI::CheckboxWidget(_tab, 5, 20, 140, 20, _("~I~ndy fight controls")); _indyFightCheckbox = new GUI::CheckboxWidget(_tab, 5, 20, 140, 20, _("~I~ndy fight controls"));
@ -94,7 +94,7 @@ DSOptionsDialog::DSOptionsDialog() : GUI::Dialog(0, 0, 320 - 10, 230 - 40) {
_sensitivity->setValue(8); _sensitivity->setValue(8);
_sensitivity->setFlags(GUI::WIDGET_CLEARBG); _sensitivity->setFlags(GUI::WIDGET_CLEARBG);
_tab->addTab("Graphics"); _tab->addTab("Graphics", "");
new GUI::StaticTextWidget(_tab, 5, 67, 180, 15, _("Initial top screen scale:"), Graphics::kTextAlignLeft); new GUI::StaticTextWidget(_tab, 5, 67, 180, 15, _("Initial top screen scale:"), Graphics::kTextAlignLeft);
@ -116,7 +116,7 @@ DSOptionsDialog::DSOptionsDialog() : GUI::Dialog(0, 0, 320 - 10, 230 - 40) {
_tab->addTab("General"); _tab->addTab("General", "");
_highQualityAudioCheckbox = new GUI::CheckboxWidget(_tab, 5, 5, 250, 20, _("High quality audio (slower) (reboot)"), 0, 0, 'T'); _highQualityAudioCheckbox = new GUI::CheckboxWidget(_tab, 5, 5, 250, 20, _("High quality audio (slower) (reboot)"), 0, 0, 'T');
_disablePowerOff = new GUI::CheckboxWidget(_tab, 5, 20, 200, 20, _("Disable power off"), 0, 0, 'T'); _disablePowerOff = new GUI::CheckboxWidget(_tab, 5, 20, 200, 20, _("Disable power off"), 0, 0, 'T');

View file

@ -48,7 +48,7 @@ WiiOptionsDialog::WiiOptionsDialog(bool doubleStrike) :
new ButtonWidget(this, _w - 216 - 32, _h - 24 - 16, 108, 24, _("Cancel"), 0, 'c'); new ButtonWidget(this, _w - 216 - 32, _h - 24 - 16, 108, 24, _("Cancel"), 0, 'c');
_tab = new TabWidget(this, 0, 0, _w, _h - 54); _tab = new TabWidget(this, 0, 0, _w, _h - 54);
_tabVideo = _tab->addTab(_("Video")); _tabVideo = _tab->addTab(_("Video"), "");
new StaticTextWidget(_tab, 16, 16, 128, 16, new StaticTextWidget(_tab, 16, 16, 128, 16,
_("Current video mode:"), Graphics::kTextAlignRight); _("Current video mode:"), Graphics::kTextAlignRight);
@ -68,7 +68,7 @@ WiiOptionsDialog::WiiOptionsDialog(bool doubleStrike) :
_sliderUnderscanY->setMinValue(0); _sliderUnderscanY->setMinValue(0);
_sliderUnderscanY->setMaxValue(32); _sliderUnderscanY->setMaxValue(32);
_tabInput = _tab->addTab(_("Input")); _tabInput = _tab->addTab(_("Input"), "");
new StaticTextWidget(_tab, 16, 16, 128, 16, new StaticTextWidget(_tab, 16, 16, 128, 16,
_("GC Pad sensitivity:"), Graphics::kTextAlignRight); _("GC Pad sensitivity:"), Graphics::kTextAlignRight);
@ -83,7 +83,7 @@ WiiOptionsDialog::WiiOptionsDialog(bool doubleStrike) :
_sliderPadAcceleration->setMaxValue(8); _sliderPadAcceleration->setMaxValue(8);
#ifdef USE_WII_DI #ifdef USE_WII_DI
_tabDVD = _tab->addTab(_("DVD")); _tabDVD = _tab->addTab(_("DVD"), "");
new StaticTextWidget(_tab, 16, 16, 64, 16, new StaticTextWidget(_tab, 16, 16, 64, 16,
_("Status:"), Graphics::kTextAlignRight); _("Status:"), Graphics::kTextAlignRight);
@ -95,7 +95,7 @@ WiiOptionsDialog::WiiOptionsDialog(bool doubleStrike) :
#endif #endif
#ifdef USE_WII_SMB #ifdef USE_WII_SMB
_tabSMB = _tab->addTab(_("SMB")); _tabSMB = _tab->addTab(_("SMB"), "");
new StaticTextWidget(_tab, 16, 16, 64, 16, new StaticTextWidget(_tab, 16, 16, 64, 16,
_("Status:"), Graphics::kTextAlignRight); _("Status:"), Graphics::kTextAlignRight);