diff options
author | Torbjörn Andersson | 2012-12-27 22:11:35 +0100 |
---|---|---|
committer | Johannes Schickel | 2013-01-26 13:52:32 +0100 |
commit | c780df51758df99d8eb18513573882a4b1291f21 (patch) | |
tree | 1b7b18966e69d95fff4a9782590aa558375a6fda /gui/fluidsynth-dialog.h | |
parent | 45c1296021bc6c0d816d8652f868e3bff49c32e3 (diff) | |
download | scummvm-rg350-c780df51758df99d8eb18513573882a4b1291f21.tar.gz scummvm-rg350-c780df51758df99d8eb18513573882a4b1291f21.tar.bz2 scummvm-rg350-c780df51758df99d8eb18513573882a4b1291f21.zip |
GUI: Add "Reset" button to FluidSynth settings dialog
This resets the FluidSynth settings to their default values.
Diffstat (limited to 'gui/fluidsynth-dialog.h')
-rw-r--r-- | gui/fluidsynth-dialog.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/fluidsynth-dialog.h b/gui/fluidsynth-dialog.h index 445c1fffc8..4d74c9f93e 100644 --- a/gui/fluidsynth-dialog.h +++ b/gui/fluidsynth-dialog.h @@ -40,11 +40,17 @@ public: void open(); void close(); - void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); + void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); +protected: void setChorusSettingsState(bool enabled); void setReverbSettingsState(bool enabled); + void readSettings(); + void writeSettings(); + + void resetSettings(); + private: Common::String _domain; |