ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <options.h>

Inheritance diagram for GUI::OptionsDialog:
Collaboration diagram for GUI::OptionsDialog:

List of all members.

Public Member Functions

 OptionsDialog (const Common::String &domain, int x, int y, int w, int h)
 OptionsDialog (const Common::String &domain, const Common::String &name)
 ~OptionsDialog ()
void init ()
void open ()
virtual void apply ()
void close ()
void handleCommand (CommandSender *sender, uint32 cmd, uint32 data)
const Common::StringgetDomain () const
virtual void reflowLayout ()

Protected Member Functions

virtual void build ()
virtual void clean ()
void rebuild ()
void addControlControls (GuiObject *boss, const Common::String &prefix)
void addGraphicControls (GuiObject *boss, const Common::String &prefix)
void addShaderControls (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 addEngineControls (GuiObject *boss, const Common::String &prefix, const ExtraGuiOptions &engineOptions)
void setGraphicSettingsState (bool enabled)
void setAudioSettingsState (bool enabled)
void setMIDISettingsState (bool enabled)
void setMT32SettingsState (bool enabled)
void setVolumeSettingsState (bool enabled)
void setSubtitleSettingsState (bool enabled)
virtual void setupGraphicsTab ()
bool loadMusicDeviceSetting (PopUpWidget *popup, Common::String setting, MusicType preferredType=MT_AUTO)
void saveMusicDeviceSetting (PopUpWidget *popup, Common::String setting)

Protected Attributes

Common::String _domain
 Config domain this dialog is used to edit.
ButtonWidget_soundFontButton
StaticTextWidget_soundFont
ButtonWidget_soundFontClearButton
TabWidget_tabWidget
int _graphicsTabId
int _midiTabId
int _pathsTabId
Common::String _guioptions
Common::String _guioptionsString
CheckboxWidgetList _engineCheckboxes

Private Types

typedef Common::Array
< CheckboxWidget * > 
CheckboxWidgetList

Private Member Functions

int getSubtitleMode (bool subtitles, bool speech_mute)
void updateMusicVolume (const int newValue) const
void updateSfxVolume (const int newValue) const
void updateSpeechVolume (const int newValue) const

Private Attributes

bool _enableControlSettings
CheckboxWidget_touchpadCheckbox
CheckboxWidget_onscreenCheckbox
CheckboxWidget_swapMenuAndBackBtnsCheckbox
StaticTextWidget_kbdMouseSpeedDesc
SliderWidget_kbdMouseSpeedSlider
StaticTextWidget_kbdMouseSpeedLabel
StaticTextWidget_joystickDeadzoneDesc
SliderWidget_joystickDeadzoneSlider
StaticTextWidget_joystickDeadzoneLabel
bool _enableGraphicSettings
StaticTextWidget_gfxPopUpDesc
PopUpWidget_gfxPopUp
StaticTextWidget_stretchPopUpDesc
PopUpWidget_stretchPopUp
CheckboxWidget_fullscreenCheckbox
CheckboxWidget_filteringCheckbox
CheckboxWidget_aspectCheckbox
CheckboxWidget_vsyncCheckbox
StaticTextWidget_rendererTypePopUpDesc
PopUpWidget_rendererTypePopUp
StaticTextWidget_antiAliasPopUpDesc
PopUpWidget_antiAliasPopUp
StaticTextWidget_renderModePopUpDesc
PopUpWidget_renderModePopUp
bool _enableShaderSettings
StaticTextWidget_shaderPopUpDesc
PopUpWidget_shaderPopUp
bool _enableAudioSettings
StaticTextWidget_midiPopUpDesc
PopUpWidget_midiPopUp
StaticTextWidget_oplPopUpDesc
PopUpWidget_oplPopUp
StaticTextWidget_mt32DevicePopUpDesc
PopUpWidget_mt32DevicePopUp
StaticTextWidget_gmDevicePopUpDesc
PopUpWidget_gmDevicePopUp
bool _enableMIDISettings
CheckboxWidget_multiMidiCheckbox
StaticTextWidget_midiGainDesc
SliderWidget_midiGainSlider
StaticTextWidget_midiGainLabel
bool _enableMT32Settings
CheckboxWidget_mt32Checkbox
CheckboxWidget_enableGSCheckbox
bool _enableSubtitleSettings
StaticTextWidget_subToggleDesc
RadiobuttonGroup_subToggleGroup
RadiobuttonWidget_subToggleSubOnly
RadiobuttonWidget_subToggleSpeechOnly
RadiobuttonWidget_subToggleSubBoth
StaticTextWidget_subSpeedDesc
SliderWidget_subSpeedSlider
StaticTextWidget_subSpeedLabel
bool _enableVolumeSettings
StaticTextWidget_musicVolumeDesc
SliderWidget_musicVolumeSlider
StaticTextWidget_musicVolumeLabel
StaticTextWidget_sfxVolumeDesc
SliderWidget_sfxVolumeSlider
StaticTextWidget_sfxVolumeLabel
StaticTextWidget_speechVolumeDesc
SliderWidget_speechVolumeSlider
StaticTextWidget_speechVolumeLabel
CheckboxWidget_muteCheckbox

Static Private Attributes

static const char * _subModeDesc []
static const char * _lowresSubModeDesc []

Detailed Description

Definition at line 59 of file options.h.


Member Typedef Documentation

Definition at line 60 of file options.h.


Constructor & Destructor Documentation

GUI::OptionsDialog::OptionsDialog ( const Common::String domain,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 116 of file options.cpp.

GUI::OptionsDialog::OptionsDialog ( const Common::String domain,
const Common::String name 
)

Definition at line 121 of file options.cpp.

GUI::OptionsDialog::~OptionsDialog (  ) 

Definition at line 126 of file options.cpp.


Member Function Documentation

void GUI::OptionsDialog::addAudioControls ( GuiObject boss,
const Common::String prefix 
) [protected]

Definition at line 1175 of file options.cpp.

void GUI::OptionsDialog::addControlControls ( GuiObject boss,
const Common::String prefix 
) [protected]

Definition at line 1033 of file options.cpp.

void GUI::OptionsDialog::addEngineControls ( GuiObject boss,
const Common::String prefix,
const ExtraGuiOptions engineOptions 
) [protected]

Definition at line 1395 of file options.cpp.

void GUI::OptionsDialog::addGraphicControls ( GuiObject boss,
const Common::String prefix 
) [protected]

Definition at line 1091 of file options.cpp.

void GUI::OptionsDialog::addMIDIControls ( GuiObject boss,
const Common::String prefix 
) [protected]

Definition at line 1223 of file options.cpp.

void GUI::OptionsDialog::addMT32Controls ( GuiObject boss,
const Common::String prefix 
) [protected]

Definition at line 1279 of file options.cpp.

void GUI::OptionsDialog::addShaderControls ( GuiObject boss,
const Common::String prefix 
) [protected]

Definition at line 1074 of file options.cpp.

void GUI::OptionsDialog::addSubtitleControls ( GuiObject boss,
const Common::String prefix,
int  maxSliderVal = 255 
) [protected]

Definition at line 1324 of file options.cpp.

void GUI::OptionsDialog::addVolumeControls ( GuiObject boss,
const Common::String prefix 
) [protected]

Definition at line 1357 of file options.cpp.

void GUI::OptionsDialog::apply (  )  [virtual]

Reimplemented in GUI::EditGameDialog, and GUI::GlobalOptionsDialog.

Definition at line 467 of file options.cpp.

void GUI::OptionsDialog::build (  )  [protected, virtual]

Reimplemented in GUI::GlobalOptionsDialog.

Definition at line 208 of file options.cpp.

void GUI::OptionsDialog::clean (  )  [protected, virtual]

Reimplemented in GUI::GlobalOptionsDialog.

Definition at line 436 of file options.cpp.

void GUI::OptionsDialog::close (  )  [virtual]

Reimplemented from GUI::Dialog.

Reimplemented in GUI::GlobalOptionsDialog.

Definition at line 795 of file options.cpp.

const Common::String& GUI::OptionsDialog::getDomain (  )  const [inline]

Definition at line 73 of file options.h.

int GUI::OptionsDialog::getSubtitleMode ( bool  subtitles,
bool  speech_mute 
) [private]

Definition at line 1454 of file options.cpp.

void GUI::OptionsDialog::handleCommand ( CommandSender sender,
uint32  cmd,
uint32  data 
) [virtual]

Reimplemented from GUI::Dialog.

Reimplemented in ConfigDialog, GUI::EditGameDialog, and GUI::GlobalOptionsDialog.

Definition at line 802 of file options.cpp.

void GUI::OptionsDialog::init (  ) 

Definition at line 130 of file options.cpp.

bool GUI::OptionsDialog::loadMusicDeviceSetting ( PopUpWidget popup,
Common::String  setting,
MusicType  preferredType = MT_AUTO 
) [protected]

Definition at line 1411 of file options.cpp.

void GUI::OptionsDialog::open (  )  [virtual]

Reimplemented from GUI::Dialog.

Reimplemented in GUI::EditGameDialog.

Definition at line 458 of file options.cpp.

void GUI::OptionsDialog::rebuild (  )  [protected]

Definition at line 449 of file options.cpp.

void GUI::OptionsDialog::reflowLayout (  )  [virtual]

Reimplemented from GUI::Dialog.

Reimplemented in GUI::GlobalOptionsDialog.

Definition at line 1492 of file options.cpp.

void GUI::OptionsDialog::saveMusicDeviceSetting ( PopUpWidget popup,
Common::String  setting 
) [protected]

Definition at line 1433 of file options.cpp.

void GUI::OptionsDialog::setAudioSettingsState ( bool  enabled  )  [protected]

Definition at line 925 of file options.cpp.

void GUI::OptionsDialog::setGraphicSettingsState ( bool  enabled  )  [protected]

Definition at line 898 of file options.cpp.

void GUI::OptionsDialog::setMIDISettingsState ( bool  enabled  )  [protected]

Definition at line 945 of file options.cpp.

void GUI::OptionsDialog::setMT32SettingsState ( bool  enabled  )  [protected]

Definition at line 968 of file options.cpp.

void GUI::OptionsDialog::setSubtitleSettingsState ( bool  enabled  )  [protected]

Definition at line 1013 of file options.cpp.

void GUI::OptionsDialog::setupGraphicsTab (  )  [protected, virtual]

Reimplemented in GUI::EditGameDialog.

Definition at line 1500 of file options.cpp.

void GUI::OptionsDialog::setVolumeSettingsState ( bool  enabled  )  [protected]

Definition at line 978 of file options.cpp.

void GUI::OptionsDialog::updateMusicVolume ( const int  newValue  )  const [private]

Definition at line 1471 of file options.cpp.

void GUI::OptionsDialog::updateSfxVolume ( const int  newValue  )  const [private]

Definition at line 1478 of file options.cpp.

void GUI::OptionsDialog::updateSpeechVolume ( const int  newValue  )  const [private]

Definition at line 1485 of file options.cpp.


Member Data Documentation

Definition at line 152 of file options.h.

Definition at line 147 of file options.h.

Config domain this dialog is used to edit.

Definition at line 79 of file options.h.

Definition at line 166 of file options.h.

Definition at line 124 of file options.h.

Definition at line 140 of file options.h.

Definition at line 191 of file options.h.

Definition at line 180 of file options.h.

Definition at line 189 of file options.h.

Definition at line 159 of file options.h.

Definition at line 197 of file options.h.

Definition at line 215 of file options.h.

Definition at line 241 of file options.h.

Definition at line 146 of file options.h.

Definition at line 145 of file options.h.

Definition at line 142 of file options.h.

Definition at line 141 of file options.h.

Definition at line 175 of file options.h.

Definition at line 174 of file options.h.

Definition at line 115 of file options.h.

Definition at line 235 of file options.h.

Definition at line 236 of file options.h.

Definition at line 130 of file options.h.

Definition at line 131 of file options.h.

const char* GUI::OptionsDialog::_lowresSubModeDesc[] [static, private]

Definition at line 204 of file options.h.

Definition at line 182 of file options.h.

Definition at line 184 of file options.h.

Definition at line 183 of file options.h.

Definition at line 168 of file options.h.

Definition at line 167 of file options.h.

Definition at line 116 of file options.h.

Definition at line 190 of file options.h.

Definition at line 173 of file options.h.

Definition at line 181 of file options.h.

Definition at line 217 of file options.h.

Definition at line 219 of file options.h.

Definition at line 218 of file options.h.

Definition at line 229 of file options.h.

Definition at line 127 of file options.h.

Definition at line 170 of file options.h.

Definition at line 169 of file options.h.

Definition at line 117 of file options.h.

Definition at line 150 of file options.h.

Definition at line 154 of file options.h.

Definition at line 221 of file options.h.

Definition at line 223 of file options.h.

Definition at line 222 of file options.h.

Definition at line 161 of file options.h.

Definition at line 160 of file options.h.

Definition at line 82 of file options.h.

Definition at line 81 of file options.h.

Definition at line 83 of file options.h.

Definition at line 225 of file options.h.

Definition at line 227 of file options.h.

Definition at line 226 of file options.h.

Definition at line 144 of file options.h.

Definition at line 143 of file options.h.

const char* GUI::OptionsDialog::_subModeDesc[] [static, private]

Definition at line 203 of file options.h.

Definition at line 205 of file options.h.

Definition at line 207 of file options.h.

Definition at line 206 of file options.h.

Definition at line 198 of file options.h.

Definition at line 199 of file options.h.

Definition at line 202 of file options.h.

Definition at line 200 of file options.h.

Definition at line 114 of file options.h.

Definition at line 126 of file options.h.

Definition at line 148 of file options.h.


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


Generated on Sat Jul 20 2019 05:03:07 for ResidualVM by doxygen 1.7.1
curved edge   curved edge