Planeshift
Public Member Functions | Protected Attributes

pawsConfigSound Class Reference

class pawsConfigPvP is options screen for configuration of PvP More...

#include <pawsconfigsound.h>

List of all members.

Public Member Functions

virtual void Hide ()
 Makes widget invisible and removes focus if widget has current focus.
virtual bool Initialize ()
virtual bool LoadConfig ()
 sets content of dialog according to current configuration
virtual bool OnButtonPressed (int, int, pawsWidget *)
 Called whenever a button is pressed.
virtual void OnListAction (pawsListBox *selected, int status)
 Called whenever an item in a child list box is selected.
virtual bool OnScroll (int, pawsScrollBar *)
 Called whenever a window is scrolled.
 pawsConfigSound ()
virtual bool PostSetup ()
 This is called after the widget and all of it's children have been created.
virtual bool SaveConfig ()
 remembers settings in-game and saves them permanently to a file also
virtual void SetDefault ()
 sets content of dialog according to default configuration
virtual void Show ()
 Makes widget visible and brings it to the front.

Protected Attributes

pawsCheckBoxactions
pawsScrollBaractionsVol
pawsCheckBoxambient
pawsScrollBarambientVol
pawsCheckBoxchatSound
pawsCheckBoxcombatMusic
pawsCheckBoxeffects
pawsScrollBareffectsVol
pawsScrollBargeneralVol
pawsCheckBoxgui
pawsScrollBarguiVol
pawsCheckBoxinstruments
pawsScrollBarinstrumentsVol
bool loaded
pawsCheckBoxloopBGM
pawsCheckBoxmusic
pawsScrollBarmusicVol
pawsCheckBoxmuteOnFocusLoss
bool oldactions
float oldactionsvol
bool oldambient
float oldambientvol
bool oldchatsound
bool oldeffects
float oldeffectsvol
bool oldgui
float oldguivol
bool oldInstruments
float oldInstrumentsVol
bool oldlisteneroncamerapos
bool oldmusic
float oldmusicvol
bool oldvoices
float oldvoicesvol
float oldvol
pawsComboBoxsoundLocation
pawsCheckBoxvoices
pawsScrollBarvoicesVol

Detailed Description

class pawsConfigPvP is options screen for configuration of PvP

Definition at line 41 of file pawsconfigsound.h.


Constructor & Destructor Documentation

pawsConfigSound::pawsConfigSound ( )

Member Function Documentation

virtual void pawsConfigSound::Hide ( ) [virtual]

Makes widget invisible and removes focus if widget has current focus.

Sets visible FALSE, hides border if present and then if focused when called it calls SetCurrentFocusedWidget(NULL).

Reimplemented from pawsWidget.

virtual bool pawsConfigSound::Initialize ( ) [virtual]
virtual bool pawsConfigSound::LoadConfig ( ) [virtual]

sets content of dialog according to current configuration

Implements pawsConfigSectionWindow.

virtual bool pawsConfigSound::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is pressed.

Parameters:
buttonThe button pressed.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

virtual void pawsConfigSound::OnListAction ( pawsListBox selected,
int  status 
) [virtual]

Called whenever an item in a child list box is selected.

Parameters:
selectedThe listbox that has the item selected.
statusFrom listbox when a row is selected.

Reimplemented from pawsWidget.

virtual bool pawsConfigSound::OnScroll ( int  scrollDirection,
pawsScrollBar widget 
) [virtual]

Called whenever a window is scrolled.

Parameters:
scrollDirectionThe direction to move.
widgetThe scrollbar widget being manipulated.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

virtual bool pawsConfigSound::PostSetup ( ) [virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented from pawsWidget.

virtual bool pawsConfigSound::SaveConfig ( ) [virtual]

remembers settings in-game and saves them permanently to a file also

Implements pawsConfigSectionWindow.

virtual void pawsConfigSound::SetDefault ( ) [virtual]

sets content of dialog according to default configuration

Implements pawsConfigSectionWindow.

virtual void pawsConfigSound::Show ( ) [virtual]

Makes widget visible and brings it to the front.

Sets visible TRUE shows border if present then calls BringToTop() on itself.

Reimplemented from pawsWidget.


Member Data Documentation

Definition at line 72 of file pawsconfigsound.h.

Definition at line 65 of file pawsconfigsound.h.

Definition at line 71 of file pawsconfigsound.h.

Definition at line 64 of file pawsconfigsound.h.

Definition at line 82 of file pawsconfigsound.h.

Definition at line 81 of file pawsconfigsound.h.

Definition at line 73 of file pawsconfigsound.h.

Definition at line 66 of file pawsconfigsound.h.

Definition at line 62 of file pawsconfigsound.h.

Definition at line 75 of file pawsconfigsound.h.

Definition at line 67 of file pawsconfigsound.h.

Definition at line 77 of file pawsconfigsound.h.

Definition at line 69 of file pawsconfigsound.h.

bool pawsConfigSound::loaded [protected]

Definition at line 86 of file pawsconfigsound.h.

Definition at line 80 of file pawsconfigsound.h.

Definition at line 74 of file pawsconfigsound.h.

Definition at line 63 of file pawsconfigsound.h.

Definition at line 79 of file pawsconfigsound.h.

bool pawsConfigSound::oldactions [protected]

Definition at line 88 of file pawsconfigsound.h.

Definition at line 89 of file pawsconfigsound.h.

bool pawsConfigSound::oldambient [protected]

Definition at line 88 of file pawsconfigsound.h.

Definition at line 89 of file pawsconfigsound.h.

Definition at line 88 of file pawsconfigsound.h.

bool pawsConfigSound::oldeffects [protected]

Definition at line 88 of file pawsconfigsound.h.

Definition at line 89 of file pawsconfigsound.h.

bool pawsConfigSound::oldgui [protected]

Definition at line 88 of file pawsconfigsound.h.

Definition at line 89 of file pawsconfigsound.h.

Definition at line 88 of file pawsconfigsound.h.

Definition at line 89 of file pawsconfigsound.h.

Definition at line 88 of file pawsconfigsound.h.

bool pawsConfigSound::oldmusic [protected]

Definition at line 88 of file pawsconfigsound.h.

Definition at line 89 of file pawsconfigsound.h.

bool pawsConfigSound::oldvoices [protected]

Definition at line 88 of file pawsconfigsound.h.

Definition at line 89 of file pawsconfigsound.h.

Definition at line 89 of file pawsconfigsound.h.

Definition at line 84 of file pawsconfigsound.h.

Definition at line 76 of file pawsconfigsound.h.

Definition at line 68 of file pawsconfigsound.h.


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