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_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 1136 of file options.cpp.

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

Definition at line 1009 of file options.cpp.

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

Definition at line 1354 of file options.cpp.

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

Definition at line 1067 of file options.cpp.

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

Definition at line 1182 of file options.cpp.

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

Definition at line 1238 of file options.cpp.

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

Definition at line 1050 of file options.cpp.

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

Definition at line 1283 of file options.cpp.

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

Definition at line 1316 of file options.cpp.

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

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

Definition at line 454 of file options.cpp.

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

Reimplemented in GUI::GlobalOptionsDialog.

Definition at line 206 of file options.cpp.

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

Reimplemented in GUI::GlobalOptionsDialog.

Definition at line 423 of file options.cpp.

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

Reimplemented from GUI::Dialog.

Reimplemented in GUI::GlobalOptionsDialog.

Definition at line 772 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 1413 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 779 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 1370 of file options.cpp.

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

Reimplemented from GUI::Dialog.

Reimplemented in GUI::EditGameDialog.

Definition at line 445 of file options.cpp.

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

Definition at line 436 of file options.cpp.

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

Reimplemented from GUI::Dialog.

Reimplemented in GUI::GlobalOptionsDialog.

Definition at line 1451 of file options.cpp.

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

Definition at line 1392 of file options.cpp.

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

Definition at line 901 of file options.cpp.

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

Definition at line 875 of file options.cpp.

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

Definition at line 921 of file options.cpp.

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

Definition at line 944 of file options.cpp.

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

Definition at line 989 of file options.cpp.

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

Reimplemented in GUI::EditGameDialog.

Definition at line 1459 of file options.cpp.

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

Definition at line 954 of file options.cpp.

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

Definition at line 1430 of file options.cpp.

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

Definition at line 1437 of file options.cpp.

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

Definition at line 1444 of file options.cpp.


Member Data Documentation

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 164 of file options.h.

Definition at line 124 of file options.h.

Definition at line 140 of file options.h.

Definition at line 189 of file options.h.

Definition at line 178 of file options.h.

Definition at line 187 of file options.h.

Definition at line 157 of file options.h.

Definition at line 195 of file options.h.

Definition at line 213 of file options.h.

Definition at line 239 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 173 of file options.h.

Definition at line 172 of file options.h.

Definition at line 115 of file options.h.

Definition at line 233 of file options.h.

Definition at line 234 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 202 of file options.h.

Definition at line 180 of file options.h.

Definition at line 182 of file options.h.

Definition at line 181 of file options.h.

Definition at line 166 of file options.h.

Definition at line 165 of file options.h.

Definition at line 116 of file options.h.

Definition at line 188 of file options.h.

Definition at line 171 of file options.h.

Definition at line 179 of file options.h.

Definition at line 215 of file options.h.

Definition at line 217 of file options.h.

Definition at line 216 of file options.h.

Definition at line 227 of file options.h.

Definition at line 127 of file options.h.

Definition at line 168 of file options.h.

Definition at line 167 of file options.h.

Definition at line 117 of file options.h.

Definition at line 150 of file options.h.

Definition at line 152 of file options.h.

Definition at line 219 of file options.h.

Definition at line 221 of file options.h.

Definition at line 220 of file options.h.

Definition at line 159 of file options.h.

Definition at line 158 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 223 of file options.h.

Definition at line 225 of file options.h.

Definition at line 224 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 201 of file options.h.

Definition at line 203 of file options.h.

Definition at line 205 of file options.h.

Definition at line 204 of file options.h.

Definition at line 196 of file options.h.

Definition at line 197 of file options.h.

Definition at line 200 of file options.h.

Definition at line 198 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 May 25 2019 05:06:00 for ResidualVM by doxygen 1.7.1
curved edge   curved edge