
Public Member Functions | |
| SoundSettings (PG_Widget *parent, const PG_Rect &r, PG_MessageObject *caller) | |
Static Public Member Functions | |
| static void | soundSettings (PG_MessageObject *caller) |
Protected Member Functions | |
| bool | radioButtonEvent (PG_RadioButton *button, bool state) |
| bool | buttonEvent (PG_Button *button) |
| bool | eventScrollTrack (PG_ScrollBar *slider, long data) |
| bool | diag () |
Definition at line 27 of file soundsettings.cpp.
| SoundSettings::SoundSettings | ( | PG_Widget * | parent, | |
| const PG_Rect & | r, | |||
| PG_MessageObject * | caller | |||
| ) |
Definition at line 50 of file soundsettings.cpp.
References buttonEvent(), ASC_PG_Dialog::closeWindow(), diag(), eventScrollTrack(), CGameOptions::Instance(), CGameOptions::SoundSettings::musicVolume, CGameOptions::SoundSettings::muteEffects, CGameOptions::SoundSettings::muteMusic, radioButtonEvent(), CGameOptions::sound, and CGameOptions::SoundSettings::soundVolume.
| void SoundSettings::soundSettings | ( | PG_MessageObject * | caller | ) | [static] |
Definition at line 159 of file soundsettings.cpp.
References ASC_PG_Dialog::RunModal().
Referenced by soundSettings().
| bool SoundSettings::radioButtonEvent | ( | PG_RadioButton * | button, | |
| bool | state | |||
| ) | [protected] |
Definition at line 111 of file soundsettings.cpp.
References CGameOptions::Instance(), CGameOptions::SoundSettings::muteEffects, CGameOptions::SoundSettings::muteMusic, and CGameOptions::sound.
Referenced by SoundSettings().
| bool SoundSettings::buttonEvent | ( | PG_Button * | button | ) | [protected] |
Definition at line 151 of file soundsettings.cpp.
References CGameOptions::Instance(), ASC_PG_Dialog::quitModalLoop(), and CGameOptions::sound.
Referenced by SoundSettings().
| bool SoundSettings::eventScrollTrack | ( | PG_ScrollBar * | slider, | |
| long | data | |||
| ) | [protected] |
Definition at line 122 of file soundsettings.cpp.
References CGameOptions::Instance(), CGameOptions::SoundSettings::musicVolume, CGameOptions::setChanged(), CGameOptions::sound, and CGameOptions::SoundSettings::soundVolume.
Referenced by SoundSettings().
| bool SoundSettings::diag | ( | ) | [protected] |
Definition at line 141 of file soundsettings.cpp.
References SoundSystem::getDiagnosticText(), SoundSystem::getInstance(), and ASC_PG_Dialog::RunModal().
Referenced by SoundSettings().
1.5.1