aboutsummaryrefslogtreecommitdiff
path: root/gui/options.h
diff options
context:
space:
mode:
authorColin Snover2017-01-25 20:36:42 -0600
committerColin Snover2017-02-05 10:41:28 -0600
commitd1fe6476fe800b2ea796757a54dd2b974e7be365 (patch)
treeaaf285643a0cf94900c0407c29541fd96e4cb056 /gui/options.h
parenta44720e565a2456ebc2f054af9751d109bd3f5fd (diff)
downloadscummvm-rg350-d1fe6476fe800b2ea796757a54dd2b974e7be365.tar.gz
scummvm-rg350-d1fe6476fe800b2ea796757a54dd2b974e7be365.tar.bz2
scummvm-rg350-d1fe6476fe800b2ea796757a54dd2b974e7be365.zip
GUI: Add three new options for volume slider controls
GUIO_NOSPEECHVOLUME can be used for games that allow toggling of speech but do not provide the ability for users to control speech volume. GUIO_LINKMUSICTOSFX and GUI_LINKSPEECHTOSFX can be used for games that allow control of music, sfx, and speech in combinations, like games that provide control of digital audio separately from MIDI, or games that only control all three audio types through a single volume control.
Diffstat (limited to 'gui/options.h')
-rw-r--r--gui/options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/options.h b/gui/options.h
index a6eebe5748..1b15258ab5 100644
--- a/gui/options.h
+++ b/gui/options.h
@@ -175,6 +175,9 @@ private:
//
// Volume controls
//
+ void updateMusicVolume(const int newValue) const;
+ void updateSfxVolume(const int newValue) const;
+ void updateSpeechVolume(const int newValue) const;
bool _enableVolumeSettings;
StaticTextWidget *_musicVolumeDesc;