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
This commit is contained in:
Eugene Sandulenko 2009-06-06 17:58:08 +00:00
parent eb909702af
commit bbac0f1eea
3 changed files with 63 additions and 14 deletions

View file

@ -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
}
//