aboutsummaryrefslogtreecommitdiff
path: root/gui/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/options.h')
-rw-r--r--gui/options.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/gui/options.h b/gui/options.h
index 0196bad21d..9f6c6bf852 100644
--- a/gui/options.h
+++ b/gui/options.h
@@ -42,20 +42,15 @@ public:
void open();
void close();
void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
- void handleScreenChanged();
enum {
- kApplyCmd = 'aply',
- kSaveCmd = 'save',
- kRevertCmd = 'rvrt'
+ kOKCmd = 'ok '
};
protected:
/** Config domain this dialog is used to edit. */
String _domain;
- const bool _isActiveDomain;
-
int addGraphicControls(GuiObject *boss, int yoffset);
int addMIDIControls(GuiObject *boss, int yoffset);
int addVolumeControls(GuiObject *boss, int yoffset);
@@ -63,10 +58,6 @@ protected:
void setGraphicSettingsState(bool enabled);
void setAudioSettingsState(bool enabled);
void setVolumeSettingsState(bool enabled);
-
- virtual void applySettings();
- virtual void loadSettings();
- virtual void saveSettings();
private:
//
@@ -108,15 +99,13 @@ public:
GlobalOptionsDialog(GameDetector &detector);
~GlobalOptionsDialog();
+ void open();
+ void close();
void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
protected:
BrowserDialog *_browser;
StaticTextWidget *_savePath;
-
- virtual void applySettings();
- virtual void loadSettings();
- virtual void saveSettings();
};
} // End of namespace GUI