|
|
|
@ -119,7 +119,7 @@ enum {
|
|
|
|
|
kApplyCmd = 'appl'
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static const char *savePeriodLabels[] = { _s("Never"), _s("every 5 mins"), _s("every 10 mins"), _s("every 15 mins"), _s("every 30 mins"), 0 };
|
|
|
|
|
static const char *savePeriodLabels[] = { _s("Never"), _s("Every 5 mins"), _s("Every 10 mins"), _s("Every 15 mins"), _s("Every 30 mins"), 0 };
|
|
|
|
|
static const int savePeriodValues[] = { 0, 5 * 60, 10 * 60, 15 * 60, 30 * 60, -1 };
|
|
|
|
|
// The keyboard mouse speed values range from 0 to 7 and correspond to speeds shown in the label
|
|
|
|
|
// "10" (value 3) is the default speed corresponding to the speed before introduction of this control
|
|
|
|
@ -1100,9 +1100,9 @@ void OptionsDialog::addGraphicControls(GuiObject *boss, const Common::String &pr
|
|
|
|
|
void OptionsDialog::addAudioControls(GuiObject *boss, const Common::String &prefix) {
|
|
|
|
|
// The MIDI mode popup & a label
|
|
|
|
|
if (g_system->getOverlayWidth() > 320)
|
|
|
|
|
_midiPopUpDesc = new StaticTextWidget(boss, prefix + "auMidiPopupDesc", _domain == Common::ConfigManager::kApplicationDomain ? _("Preferred Device:") : _("Music Device:"), _domain == Common::ConfigManager::kApplicationDomain ? _("Specifies preferred sound device or sound card emulator") : _("Specifies output sound device or sound card emulator"));
|
|
|
|
|
_midiPopUpDesc = new StaticTextWidget(boss, prefix + "auMidiPopupDesc", _domain == Common::ConfigManager::kApplicationDomain ? _("Preferred device:") : _("Music device:"), _domain == Common::ConfigManager::kApplicationDomain ? _("Specifies preferred sound device or sound card emulator") : _("Specifies output sound device or sound card emulator"));
|
|
|
|
|
else
|
|
|
|
|
_midiPopUpDesc = new StaticTextWidget(boss, prefix + "auMidiPopupDesc", _domain == Common::ConfigManager::kApplicationDomain ? _c("Preferred Dev.:", "lowres") : _c("Music Device:", "lowres"), _domain == Common::ConfigManager::kApplicationDomain ? _("Specifies preferred sound device or sound card emulator") : _("Specifies output sound device or sound card emulator"));
|
|
|
|
|
_midiPopUpDesc = new StaticTextWidget(boss, prefix + "auMidiPopupDesc", _domain == Common::ConfigManager::kApplicationDomain ? _c("Preferred dev.:", "lowres") : _c("Music device:", "lowres"), _domain == Common::ConfigManager::kApplicationDomain ? _("Specifies preferred sound device or sound card emulator") : _("Specifies output sound device or sound card emulator"));
|
|
|
|
|
_midiPopUp = new PopUpWidget(boss, prefix + "auMidiPopup", _("Specifies output sound device or sound card emulator"));
|
|
|
|
|
|
|
|
|
|
// Populate it
|
|
|
|
@ -1143,7 +1143,7 @@ void OptionsDialog::addAudioControls(GuiObject *boss, const Common::String &pref
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void OptionsDialog::addMIDIControls(GuiObject *boss, const Common::String &prefix) {
|
|
|
|
|
_gmDevicePopUpDesc = new StaticTextWidget(boss, prefix + "auPrefGmPopupDesc", _("GM Device:"), _("Specifies default sound device for General MIDI output"));
|
|
|
|
|
_gmDevicePopUpDesc = new StaticTextWidget(boss, prefix + "auPrefGmPopupDesc", _("GM device:"), _("Specifies default sound device for General MIDI output"));
|
|
|
|
|
_gmDevicePopUp = new PopUpWidget(boss, prefix + "auPrefGmPopup");
|
|
|
|
|
|
|
|
|
|
// Populate
|
|
|
|
@ -1208,7 +1208,7 @@ void OptionsDialog::addMT32Controls(GuiObject *boss, const Common::String &prefi
|
|
|
|
|
_mt32Checkbox = new CheckboxWidget(boss, prefix + "mcMt32Checkbox", _c("True Roland MT-32 (no GM emulation)", "lowres"), _("Check if you want to use your real hardware Roland-compatible sound device connected to your computer"));
|
|
|
|
|
|
|
|
|
|
// GS Extensions setting
|
|
|
|
|
_enableGSCheckbox = new CheckboxWidget(boss, prefix + "mcGSCheckbox", _("Roland GS Device (enable MT-32 mappings)"), _("Check if you want to enable patch mappings to emulate an MT-32 on a Roland GS device"));
|
|
|
|
|
_enableGSCheckbox = new CheckboxWidget(boss, prefix + "mcGSCheckbox", _("Roland GS device (enable MT-32 mappings)"), _("Check if you want to enable patch mappings to emulate an MT-32 on a Roland GS device"));
|
|
|
|
|
|
|
|
|
|
const PluginList p = MusicMan.getPlugins();
|
|
|
|
|
// Make sure the null device is the first one in the list to avoid undesired
|
|
|
|
@ -1244,7 +1244,7 @@ void OptionsDialog::addMT32Controls(GuiObject *boss, const Common::String &prefi
|
|
|
|
|
void OptionsDialog::addSubtitleControls(GuiObject *boss, const Common::String &prefix, int maxSliderVal) {
|
|
|
|
|
|
|
|
|
|
if (g_system->getOverlayWidth() > 320) {
|
|
|
|
|
_subToggleDesc = new StaticTextWidget(boss, prefix + "subToggleDesc", _("Text and Speech:"));
|
|
|
|
|
_subToggleDesc = new StaticTextWidget(boss, prefix + "subToggleDesc", _("Text and speech:"));
|
|
|
|
|
|
|
|
|
|
_subToggleGroup = new RadiobuttonGroup(boss, kSubtitleToggle);
|
|
|
|
|
|
|
|
|
@ -1254,7 +1254,7 @@ void OptionsDialog::addSubtitleControls(GuiObject *boss, const Common::String &p
|
|
|
|
|
|
|
|
|
|
_subSpeedDesc = new StaticTextWidget(boss, prefix + "subSubtitleSpeedDesc", _("Subtitle speed:"));
|
|
|
|
|
} else {
|
|
|
|
|
_subToggleDesc = new StaticTextWidget(boss, prefix + "subToggleDesc", _c("Text and Speech:", "lowres"));
|
|
|
|
|
_subToggleDesc = new StaticTextWidget(boss, prefix + "subToggleDesc", _c("Text and speech:", "lowres"));
|
|
|
|
|
|
|
|
|
|
_subToggleGroup = new RadiobuttonGroup(boss, kSubtitleToggle);
|
|
|
|
|
|
|
|
|
@ -1287,7 +1287,7 @@ void OptionsDialog::addVolumeControls(GuiObject *boss, const Common::String &pre
|
|
|
|
|
_musicVolumeSlider->setMaxValue(Audio::Mixer::kMaxMixerVolume);
|
|
|
|
|
_musicVolumeLabel->setFlags(WIDGET_CLEARBG);
|
|
|
|
|
|
|
|
|
|
_muteCheckbox = new CheckboxWidget(boss, prefix + "vcMuteCheckbox", _("Mute All"), 0, kMuteAllChanged);
|
|
|
|
|
_muteCheckbox = new CheckboxWidget(boss, prefix + "vcMuteCheckbox", _("Mute all"), 0, kMuteAllChanged);
|
|
|
|
|
|
|
|
|
|
if (g_system->getOverlayWidth() > 320)
|
|
|
|
|
_sfxVolumeDesc = new StaticTextWidget(boss, prefix + "vcSfxText", _("SFX volume:"), _("Special sound effects volume"));
|
|
|
|
@ -1626,7 +1626,7 @@ void GlobalOptionsDialog::build() {
|
|
|
|
|
_curTheme = new StaticTextWidget(tab, "GlobalOptions_Misc.CurTheme", g_gui.theme()->getThemeName());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_rendererPopUpDesc = new StaticTextWidget(tab, "GlobalOptions_Misc.RendererPopupDesc", _("GUI Renderer:"));
|
|
|
|
|
_rendererPopUpDesc = new StaticTextWidget(tab, "GlobalOptions_Misc.RendererPopupDesc", _("GUI renderer:"));
|
|
|
|
|
_rendererPopUp = new PopUpWidget(tab, "GlobalOptions_Misc.RendererPopup");
|
|
|
|
|
|
|
|
|
|
if (g_system->getOverlayWidth() > 320) {
|
|
|
|
@ -1655,7 +1655,7 @@ void GlobalOptionsDialog::build() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef USE_TRANSLATION
|
|
|
|
|
_guiLanguagePopUpDesc = new StaticTextWidget(tab, "GlobalOptions_Misc.GuiLanguagePopupDesc", _("GUI Language:"), _("Language of ScummVM GUI"));
|
|
|
|
|
_guiLanguagePopUpDesc = new StaticTextWidget(tab, "GlobalOptions_Misc.GuiLanguagePopupDesc", _("GUI language:"), _("Language of ScummVM GUI"));
|
|
|
|
|
_guiLanguagePopUp = new PopUpWidget(tab, "GlobalOptions_Misc.GuiLanguagePopup");
|
|
|
|
|
#ifdef USE_DETECTLANG
|
|
|
|
|
_guiLanguagePopUp->appendEntry(_("<default>"), Common::kTranslationAutodetectId);
|
|
|
|
|