Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

pawsConfigDetails Class Reference

#include <pawsconfigdetails.h>

List of all members.

Public Member Functions

virtual bool Initialize ()
virtual bool LoadConfig ()
 sets content of dialog according to current configuration
virtual bool OnButtonPressed (int button, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
virtual bool OnScroll (int scrollDirection, pawsScrollBar *widget)
 Called whenever a window is scrolled.
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

Protected Member Functions

void ConstraintScrollBars ()
int GetValue (const csString &name)
bool OnChange (pawsWidget *widget)
 Called whenever a widget is selected.
void SetModeVisibility ()
void SetScrollValue (const csString &name, int val)

Protected Attributes

pawsCheckBoxadaptCheck
pawsWidgetadaptConfig
pawsScrollBarcapFPSscroll
pawsEditTextBoxcapFPSvalue
pawsScrollBardistScroll
pawsEditTextBoxdistvalue
pawsWidgetfixedConfig
pawsScrollBarmaxFPSscroll
pawsEditTextBoxmaxFPSvalue
pawsScrollBarminDistScroll
pawsEditTextBoxminDistvalue
pawsScrollBarminFPSscroll
pawsEditTextBoxminFPSvalue

Detailed Description

Definition at line 36 of file pawsconfigdetails.h.


Member Function Documentation

void pawsConfigDetails::ConstraintScrollBars ( ) [protected]
int pawsConfigDetails::GetValue ( const csString &  name) [protected]
virtual bool pawsConfigDetails::Initialize ( ) [virtual]
virtual bool pawsConfigDetails::LoadConfig ( ) [virtual]

sets content of dialog according to current configuration

Implements pawsConfigSectionWindow.

virtual bool pawsConfigDetails::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.

bool pawsConfigDetails::OnChange ( pawsWidget widget) [protected, virtual]

Called whenever a widget is selected.

Parameters:
widgetThe widget acted upon.
Returns:
Notify parent and return result FALSE if no parent.

Reimplemented from pawsWidget.

virtual bool pawsConfigDetails::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 pawsConfigDetails::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 pawsConfigDetails::SaveConfig ( ) [virtual]

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

Implements pawsConfigSectionWindow.

virtual void pawsConfigDetails::SetDefault ( ) [virtual]

sets content of dialog according to default configuration

Implements pawsConfigSectionWindow.

void pawsConfigDetails::SetModeVisibility ( ) [protected]
void pawsConfigDetails::SetScrollValue ( const csString &  name,
int  val 
) [protected]

Member Data Documentation

Definition at line 52 of file pawsconfigdetails.h.

Definition at line 54 of file pawsconfigdetails.h.

Definition at line 57 of file pawsconfigdetails.h.

Definition at line 62 of file pawsconfigdetails.h.

Definition at line 57 of file pawsconfigdetails.h.

Definition at line 62 of file pawsconfigdetails.h.

Definition at line 54 of file pawsconfigdetails.h.

Definition at line 57 of file pawsconfigdetails.h.

Definition at line 62 of file pawsconfigdetails.h.

Definition at line 57 of file pawsconfigdetails.h.

Definition at line 62 of file pawsconfigdetails.h.

Definition at line 57 of file pawsconfigdetails.h.

Definition at line 62 of file pawsconfigdetails.h.


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