aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2009-06-06 17:58:08 +0000
committerEugene Sandulenko2009-06-06 17:58:08 +0000
commitbbac0f1eeae44519032f742e94ed6ea956f8a161 (patch)
treee64f2845b7ee4b4535775696874dc7c683f92892 /engines
parenteb909702af7a1fc48c77b000cc4b4e647ebf4e60 (diff)
downloadscummvm-rg350-bbac0f1eeae44519032f742e94ed6ea956f8a161.tar.gz
scummvm-rg350-bbac0f1eeae44519032f742e94ed6ea956f8a161.tar.bz2
scummvm-rg350-bbac0f1eeae44519032f742e94ed6ea956f8a161.zip
Implement FR#862150: "GUI: Show subtitles/speech options only for speech games"
Add generic per-game GUI options support along the way ;) svn-id: r41275
Diffstat (limited to 'engines')
-rw-r--r--engines/dialogs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp
index 97c947aef0..a923379c81 100644
--- a/engines/dialogs.cpp
+++ b/engines/dialogs.cpp
@@ -277,6 +277,7 @@ ConfigDialog::ConfigDialog(bool subtitleControls)
//
addVolumeControls(this, "ScummConfig.");
+ setVolumeSettingsState(true); // could disable controls by GUI options
//
// Subtitle speed and toggle controllers
@@ -285,6 +286,7 @@ ConfigDialog::ConfigDialog(bool subtitleControls)
if (subtitleControls) {
// Global talkspeed range of 0-255
addSubtitleControls(this, "ScummConfig.", 255);
+ setSubtitleSettingsState(true); // could disable controls by GUI options
}
//