aboutsummaryrefslogtreecommitdiff
path: root/gui/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/options.h')
-rw-r--r--gui/options.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/options.h b/gui/options.h
index aca2f39a47..2fe38b2ba0 100644
--- a/gui/options.h
+++ b/gui/options.h
@@ -41,7 +41,7 @@ class OptionsDialog : public Dialog {
typedef Common::String String;
public:
OptionsDialog(const String &domain, int x, int y, int w, int h);
- OptionsDialog(const String &domain, String name);
+ OptionsDialog(const String &domain, const String &name);
void init();
@@ -62,13 +62,13 @@ protected:
ButtonWidget *_soundFontButton;
StaticTextWidget *_soundFont;
- void addGraphicControls(GuiObject *boss, String prefix);
- void addAudioControls(GuiObject *boss, String prefix);
- void addMIDIControls(GuiObject *boss, String prefix);
- void addVolumeControls(GuiObject *boss, String prefix);
+ void addGraphicControls(GuiObject *boss, const String &prefix);
+ void addAudioControls(GuiObject *boss, const String &prefix);
+ void addMIDIControls(GuiObject *boss, const String &prefix);
+ void addVolumeControls(GuiObject *boss, const String &prefix);
// The default value is the launcher's non-scaled talkspeed value. When SCUMM uses the widget,
// it uses its own scale
- void addSubtitleControls(GuiObject *boss, String prefix, int maxSliderVal = 255);
+ void addSubtitleControls(GuiObject *boss, const String &prefix, int maxSliderVal = 255);
void setGraphicSettingsState(bool enabled);
void setAudioSettingsState(bool enabled);