Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SoundSettings Class Reference

Inheritance diagram for SoundSettings:

Inheritance graph
[legend]
List of all members.

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 ()

Constructor & Destructor Documentation

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(), PG_ScrollBar::HORIZONTAL, CGameOptions::Instance(), CGameOptions::SoundSettings::musicVolume, CGameOptions::SoundSettings::muteEffects, CGameOptions::SoundSettings::muteMusic, PG_Rect::PG_Rect(), radioButtonEvent(), PG_ScrollBar::SetPosition(), PG_RadioButton::SetPressed(), PG_ScrollBar::SetRange(), PG_CheckButton::SetUnpressed(), PG_Button::sigClick, PG_RadioButton::sigClick, PG_Window::sigClose, PG_ScrollBar::sigScrollTrack, CGameOptions::SoundSettings::soundVolume, and PG_Rect::Width().


Member Function Documentation

bool SoundSettings::buttonEvent PG_Button button  )  [protected]
 

Definition at line 151 of file soundsettings.cpp.

References CGameOptions::Instance(), and ASC_PG_Dialog::quitModalLoop().

Referenced by SoundSettings().

bool SoundSettings::diag  )  [protected]
 

Definition at line 141 of file soundsettings.cpp.

References SoundSystem::getInstance(), PG_Rect::PG_Rect(), ASC_PG_Dialog::RunModal(), and PG_Widget::Show().

Referenced by SoundSettings().

bool SoundSettings::eventScrollTrack PG_ScrollBar slider,
long  data
[protected]
 

Definition at line 122 of file soundsettings.cpp.

References PG_Widget::GetID(), and CGameOptions::Instance().

Referenced by SoundSettings().

bool SoundSettings::radioButtonEvent PG_RadioButton button,
bool  state
[protected]
 

Definition at line 111 of file soundsettings.cpp.

References PG_Widget::GetID(), and CGameOptions::Instance().

Referenced by SoundSettings().

void SoundSettings::soundSettings PG_MessageObject caller  )  [static]
 

Definition at line 159 of file soundsettings.cpp.

References PG_Rect::PG_Rect(), ASC_PG_Dialog::RunModal(), and PG_Widget::Show().

Referenced by soundSettings().


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:20:54 2008 for Advanced Strategic Command by  doxygen 1.4.2