Advanced Strategic Command
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
SoundSettings Class Reference
Inheritance diagram for SoundSettings:
Inheritance graph
[legend]

Public Member Functions

 SoundSettings (PG_Widget *parent, const PG_Rect &r, PG_MessageObject *caller)
 
- Public Member Functions inherited from ASC_PG_Dialog
 ASC_PG_Dialog (PG_Widget *parent, const PG_Rect &r, const ASCString &windowtext, WindowFlags flags=DEFAULT, const ASCString &style="Window", int heightTitlebar=25)
 
PG_Button * AddStandardButton (const ASCString &name)
 
void StandardButtonDirection (StandardButtonDirectonType dir)
 
int RunModal ()
 

Static Public Member Functions

static void soundSettings (PG_MessageObject *caller)
 
- Static Public Member Functions inherited from ASC_PG_Dialog
static PG_Rect centerRectangle (const PG_Rect &rect)
 

Protected Member Functions

bool toggleMusic (bool state)
 
bool toggleSound (bool state)
 
bool buttonEvent ()
 
bool eventScrollTrack_sound (long data)
 
bool eventScrollTrack_music (long data)
 
bool diag ()
 
- Protected Member Functions inherited from ASC_PG_Dialog
virtual bool closeWindow ()
 
bool quitModalLoopW (PG_Button *button, int value)
 
bool quitModalLoop (int value)
 
virtual bool eventKeyDown (const SDL_KeyboardEvent *key)
 

Additional Inherited Members

- Public Types inherited from ASC_PG_Dialog
enum  StandardButtonDirectonType { Vertical, Horizontal }
 
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller
 

Detailed Description

Definition at line 27 of file soundsettings.cpp.

Constructor & Destructor Documentation

SoundSettings::SoundSettings ( PG_Widget *  parent,
const PG_Rect &  r,
PG_MessageObject *  caller 
)

Member Function Documentation

bool SoundSettings::buttonEvent ( )
protected
bool SoundSettings::diag ( )
protected
bool SoundSettings::eventScrollTrack_music ( long  data)
protected
bool SoundSettings::eventScrollTrack_sound ( long  data)
protected
void SoundSettings::soundSettings ( PG_MessageObject *  caller)
static

Definition at line 163 of file soundsettings.cpp.

References ASC_PG_Dialog::RunModal().

Referenced by soundSettings().

bool SoundSettings::toggleMusic ( bool  state)
protected
bool SoundSettings::toggleSound ( bool  state)
protected

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