newStaticTextWidget(tab,"GameOptions_Game.Id",_("ID:"),_("Short game identifier used for referring to saved games and running the game from the command line"));
else
newStaticTextWidget(tab,"GameOptions_Game.Id",_c("ID:","lowres"),_("Short game identifier used for referring to saved games and running the game from the command line"));
_domainWidget=newDomainEditTextWidget(tab,"GameOptions_Game.Domain",_domain,_("Short game identifier used for referring to saved games and running the game from the command line"));
// GUI: Label & edit widget for the description
if(g_system->getOverlayWidth()>320)
newStaticTextWidget(tab,"GameOptions_Game.Name",_("Name:"),_("Full title of the game"));
else
newStaticTextWidget(tab,"GameOptions_Game.Name",_c("Name:","lowres"),_("Full title of the game"));
_descriptionWidget=newEditTextWidget(tab,"GameOptions_Game.Desc",description,_("Full title of the game"));
// Language popup
_langPopUpDesc=newStaticTextWidget(tab,"GameOptions_Game.LangPopupDesc",_("Language:"),_("Language of the game. This will not turn your Spanish game version into English"));
_langPopUp=newPopUpWidget(tab,"GameOptions_Game.LangPopup",_("Language of the game. This will not turn your Spanish game version into English"));
_platformPopUpDesc=newStaticTextWidget(tab,"GameOptions_Game.PlatformPopupDesc",_("Platform:"),_("Platform the game was originally designed for"));
else
_platformPopUpDesc=newStaticTextWidget(tab,"GameOptions_Game.PlatformPopupDesc",_c("Platform:","lowres"),_("Platform the game was originally designed for"));
_platformPopUp=newPopUpWidget(tab,"GameOptions_Game.PlatformPopup",_("Platform the game was originally designed for"));
_globalGraphicsOverride=newCheckboxWidget(tab,"GameOptions_Graphics.EnableTabCheckbox",_("Override global graphic settings"),0,kCmdGlobalGraphicsOverride);
else
_globalGraphicsOverride=newCheckboxWidget(tab,"GameOptions_Graphics.EnableTabCheckbox",_c("Override global graphic settings","lowres"),0,kCmdGlobalGraphicsOverride);
addGraphicControls(tab,"GameOptions_Graphics.");
//
// 4) The audio tab
//
tab->addTab(_("Audio"));
if(g_system->getOverlayWidth()>320)
_globalAudioOverride=newCheckboxWidget(tab,"GameOptions_Audio.EnableTabCheckbox",_("Override global audio settings"),0,kCmdGlobalAudioOverride);
else
_globalAudioOverride=newCheckboxWidget(tab,"GameOptions_Audio.EnableTabCheckbox",_c("Override global audio settings","lowres"),0,kCmdGlobalAudioOverride);
addAudioControls(tab,"GameOptions_Audio.");
addSubtitleControls(tab,"GameOptions_Audio.");
//
// 5) The volume tab
//
if(g_system->getOverlayWidth()>320)
tab->addTab(_("Volume"));
else
tab->addTab(_c("Volume","lowres"));
if(g_system->getOverlayWidth()>320)
_globalVolumeOverride=newCheckboxWidget(tab,"GameOptions_Volume.EnableTabCheckbox",_("Override global volume settings"),0,kCmdGlobalVolumeOverride);
else
_globalVolumeOverride=newCheckboxWidget(tab,"GameOptions_Volume.EnableTabCheckbox",_c("Override global volume settings","lowres"),0,kCmdGlobalVolumeOverride);
addVolumeControls(tab,"GameOptions_Volume.");
//
// 6) The MIDI tab
//
_globalMIDIOverride=NULL;
if(!_guioptions.contains(GUIO_NOMIDI)){
tab->addTab(_("MIDI"));
if(g_system->getOverlayWidth()>320)
_globalMIDIOverride=newCheckboxWidget(tab,"GameOptions_MIDI.EnableTabCheckbox",_("Override global MIDI settings"),0,kCmdGlobalMIDIOverride);
else
_globalMIDIOverride=newCheckboxWidget(tab,"GameOptions_MIDI.EnableTabCheckbox",_c("Override global MIDI settings","lowres"),0,kCmdGlobalMIDIOverride);
addMIDIControls(tab,"GameOptions_MIDI.");
}
//
// 7) The MT-32 tab
//
_globalMT32Override=NULL;
if(!_guioptions.contains(GUIO_NOMIDI)){
tab->addTab(_("MT-32"));
if(g_system->getOverlayWidth()>320)
_globalMT32Override=newCheckboxWidget(tab,"GameOptions_MT32.EnableTabCheckbox",_("Override global MT-32 settings"),0,kCmdGlobalMT32Override);
else
_globalMT32Override=newCheckboxWidget(tab,"GameOptions_MT32.EnableTabCheckbox",_c("Override global MT-32 settings","lowres"),0,kCmdGlobalMT32Override);
addMT32Controls(tab,"GameOptions_MT32.");
}
//
// 8) The Paths tab
//
if(g_system->getOverlayWidth()>320)
tab->addTab(_("Paths"));
else
tab->addTab(_c("Paths","lowres"));
// These buttons have to be extra wide, or the text will be truncated
newButtonWidget(tab,"GameOptions_Paths.Extrapath",_("Extra Path:"),_("Specifies path to additional data used by the game"),kCmdExtraBrowser);
else
newButtonWidget(tab,"GameOptions_Paths.Extrapath",_c("Extra Path:","lowres"),_("Specifies path to additional data used by the game"),kCmdExtraBrowser);
_extraPathWidget=newStaticTextWidget(tab,"GameOptions_Paths.ExtrapathText",extraPath,_("Specifies path to additional data used by the game"));
MessageDialogwarningMessage(_("Saved games sync feature doesn't work with non-default directories. If you want your saved games to sync, use default directory."));