20 #ifndef PAWS_CONFIG_SOUND_HEADER    21 #define PAWS_CONFIG_SOUND_HEADER    24 #include <csutil/array.h>    25 #include <iutil/document.h> 
virtual bool LoadConfig()
sets content of dialog according to current configuration 
 
CREATE_PAWS_FACTORY(pawsConfigSound)
 
virtual bool SaveConfig()
remembers settings in-game and saves them permanently to a file also 
 
bool oldlisteneroncamerapos
 
A combination widget that has a check box and a text label. 
 
virtual bool OnButtonPressed(int, int, pawsWidget *)
Called whenever a button is pressed. 
 
pawsComboBox * soundLocation
 
pawsCheckBox * combatMusic
 
virtual void Show()
Makes widget visible and brings it to the front. 
 
virtual bool OnScroll(int, pawsScrollBar *)
Called whenever a window is scrolled. 
 
virtual void Hide()
Makes widget invisible and removes focus if widget has current focus. 
 
virtual void SetDefault()
sets content of dialog according to default configuration 
 
virtual bool Initialize()
 
pawsScrollBar * voicesVol
 
virtual void OnListAction(pawsListBox *selected, int status)
Called whenever an item in a child list box is selected. 
 
pawsScrollBar * ambientVol
 
A simple list box widget. 
 
configuration screen for sounds volumes, music volumes, UI volume, ambient, voices, ... 
 
pawsScrollBar * instrumentsVol
 
pawsCheckBox * instruments
 
pawsScrollBar * generalVol
 
virtual bool PostSetup()
This is called after the widget and all of it's children have been created. 
 
A basic combo box widget. 
 
pawsScrollBar * actionsVol
 
pawsCheckBox * muteOnFocusLoss
 
pawsScrollBar * effectsVol