ScummVM API documentation
GUI::GlobalOptionsDialog Class Reference
Inheritance diagram for GUI::GlobalOptionsDialog:
GUI::OptionsDialog GUI::CommandSender GUI::Dialog GUI::GuiObject GUI::CommandReceiver

Public Member Functions

 GlobalOptionsDialog (LauncherDialog *launcher)
 
void apply () override
 
void close () override
 
void handleCommand (CommandSender *sender, uint32 cmd, uint32 data) override
 
void handleTickle () override
 
void reflowLayout () override
 
- Public Member Functions inherited from GUI::OptionsDialog
 OptionsDialog (const Common::String &domain, int x, int y, int w, int h)
 
 OptionsDialog (const Common::String &domain, const Common::String &name)
 
void init ()
 
void open () override
 
void handleOtherEvent (const Common::Event &event) override
 
const Common::StringgetDomain () const
 
- Public Member Functions inherited from GUI::Dialog
 Dialog (int x, int y, int w, int h, bool scale=false)
 
 Dialog (const Common::String &name)
 
virtual int runModal ()
 
bool isVisible () const override
 
bool isMouseUpdatedOnFocus () const
 
void releaseFocus () override
 
void setFocusWidget (Widget *widget)
 
WidgetgetFocusWidget ()
 
bool isDragging () const
 
void setTickleWidget (Widget *widget)
 
void unSetTickleWidget ()
 
WidgetgetTickleWidget ()
 
virtual void lostFocus ()
 
virtual void receivedFocus (int x=-1, int y=-1)
 
- Public Member Functions inherited from GUI::GuiObject
 GuiObject (int x, int y, int w, int h, bool scale=false)
 
 GuiObject (const Common::String &name)
 
virtual void setTextDrawableArea (const Common::Rect &r)
 
virtual void resize (int x, int y, int w, int h, bool scale=true)
 
virtual WidgetaddChild (Widget *newChild)
 
virtual int16 getRelX () const
 
virtual int16 getRelY () const
 
virtual int16 getAbsX () const
 
virtual int16 getAbsY () const
 
virtual int16 getChildX () const
 
virtual int16 getChildY () const
 
virtual uint16 getWidth () const
 
virtual uint16 getHeight () const
 
virtual bool isPointIn (int x, int y)
 
virtual Common::Rect getClipRect () const
 
virtual void handleTooltipUpdate (int x, int y)
 
- Public Member Functions inherited from GUI::CommandSender
 CommandSender (CommandReceiver *target)
 
void setTarget (CommandReceiver *target)
 
CommandReceivergetTarget () const
 
virtual void sendCommand (uint32 cmd, uint32 data)
 

Protected Member Functions

void build () override
 
void clean () override
 
void addMIDIControls (GuiObject *boss, const Common::String &prefix)
 
void addPathsControls (GuiObject *boss, const Common::String &prefix, bool lowres)
 
void addGUIControls (GuiObject *boss, const Common::String &prefix, bool lowres)
 
bool updateAutosavePeriod (int newValue)
 
void addMiscControls (GuiObject *boss, const Common::String &prefix, bool lowres)
 
void addAccessibilityControls (GuiObject *boss, const Common::String &prefix)
 
- Protected Member Functions inherited from GUI::OptionsDialog
void rebuild ()
 
bool testGraphicsSettings ()
 
void addControlControls (GuiObject *boss, const Common::String &prefix)
 
void addKeyMapperControls (GuiObject *boss, const Common::String &prefix, const Common::Array< Common::Keymap *> &keymaps, const Common::String &domain)
 
void addAchievementsControls (GuiObject *boss, const Common::String &prefix)
 
void addStatisticsControls (GuiObject *boss, const Common::String &prefix)
 
void addGraphicControls (GuiObject *boss, const Common::String &prefix)
 
void addAudioControls (GuiObject *boss, const Common::String &prefix)
 
void addMIDIControls (GuiObject *boss, const Common::String &prefix)
 
void addMT32Controls (GuiObject *boss, const Common::String &prefix)
 
void addVolumeControls (GuiObject *boss, const Common::String &prefix)
 
void addSubtitleControls (GuiObject *boss, const Common::String &prefix, int maxSliderVal=255)
 
void setGraphicSettingsState (bool enabled)
 
void setAudioSettingsState (bool enabled)
 
void setMIDISettingsState (bool enabled)
 
void setMT32SettingsState (bool enabled)
 
void setVolumeSettingsState (bool enabled)
 
void setSubtitleSettingsState (bool enabled)
 
void enableShaderControls (bool enabled)
 
virtual void setupGraphicsTab ()
 
void updateScaleFactors (uint32 tag)
 
bool loadMusicDeviceSetting (PopUpWidget *popup, Common::String setting, MusicType preferredType=MT_AUTO)
 
void saveMusicDeviceSetting (PopUpWidget *popup, Common::String setting)
 
- Protected Member Functions inherited from GUI::Dialog
void markWidgetsAsDirty ()
 
virtual void drawDialog (DrawLayer layerToDraw)
 
void drawWidgets ()
 
virtual void handleMouseDown (int x, int y, int button, int clickCount)
 
virtual void handleMouseUp (int x, int y, int button, int clickCount)
 
virtual void handleMouseWheel (int x, int y, int direction) override
 
virtual void handleKeyDown (Common::KeyState state)
 
virtual void handleKeyUp (Common::KeyState state)
 
virtual void handleMouseMoved (int x, int y, int button)
 
virtual void handleMouseLeft (int button)
 
WidgetfindWidget (int x, int y)
 
WidgetfindWidget (const char *name)
 
void removeWidget (Widget *widget) override
 
void setMouseUpdatedOnFocus (bool mouseUpdatedOnFocus)
 
void setDefaultFocusedWidget ()
 
void setResult (int result)
 
int getResult () const
 

Protected Attributes

Common::String _newTheme
 
LauncherDialog_launcher
 
PathWidget_savePath
 
ButtonWidget_savePathClearButton
 
PathWidget_themePath
 
ButtonWidget_themePathClearButton
 
PathWidget_iconPath
 
ButtonWidget_iconPathClearButton
 
PathWidget_extraPath
 
ButtonWidget_extraPathClearButton
 
StaticTextWidget_browserPath
 
ButtonWidget_browserPathClearButton
 
StaticTextWidget_logPath
 
StaticTextWidget_curTheme
 
StaticTextWidget_guiBasePopUpDesc
 
PopUpWidget_guiBasePopUp
 
StaticTextWidget_rendererPopUpDesc
 
PopUpWidget_rendererPopUp
 
StaticTextWidget_guiLanguagePopUpDesc
 
PopUpWidget_guiLanguagePopUp
 
CheckboxWidget_guiLanguageUseGameLanguageCheckbox
 
CheckboxWidget_useSystemDialogsCheckbox
 
CheckboxWidget_guiReturnToLauncherAtExit
 
CheckboxWidget_guiConfirmExit
 
CheckboxWidget_guiDisableBDFScaling
 
StaticTextWidget_autosavePeriodPopUpDesc
 
PopUpWidget_autosavePeriodPopUp
 
StaticTextWidget_randomSeedDesc
 
EditTextWidget_randomSeed
 
ButtonWidget_randomSeedClearButton
 
PopUpWidget_debugLevelPopUp
 
bool _enableTTS
 
CheckboxWidget_ttsCheckbox
 
PopUpWidget_ttsVoiceSelectionPopUp
 
- Protected Attributes inherited from GUI::OptionsDialog
Common::String _domain
 
ButtonWidget_soundFontButton
 
PathWidget_soundFont
 
ButtonWidget_soundFontClearButton
 
TabWidget_tabWidget
 
int _graphicsTabId
 
int _midiTabId
 
ScrollContainerWidget_pathsContainer
 
PathWidget_shader
 
ButtonWidget_shaderClearButton
 
ButtonWidget_updateShadersButton = nullptr
 
Common::String _guioptions
 
Common::String _guioptionsString
 
OptionsContainerWidget_backendOptions
 
- Protected Attributes inherited from GUI::Dialog
Widget_mouseWidget
 
Widget_focusedWidget
 
Widget_dragWidget
 
Widget_tickleWidget
 
bool _visible
 
bool _mouseUpdatedOnFocus
 
ThemeEngine::DialogBackground _backgroundType
 
- Protected Attributes inherited from GUI::GuiObject
Common::Rect _textDrawableArea
 
int16 _x
 
int16 _y
 
uint16 _w
 
uint16 _h
 
bool _useRTL
 
const Common::String _name
 
Widget_firstWidget
 
- Protected Attributes inherited from GUI::CommandSender
CommandReceiver_target
 

The documentation for this class was generated from the following file: