Planeshift
Public Member Functions | Protected Attributes

pawsConfigShortcut Class Reference

#include <pawsconfigshortcut.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, 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.
 pawsConfigShortcut ()
void PickText (const char *fontName, int size)
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 Attributes

pawsCheckBox * buttonBackground
pawsScrollBar * buttonHeight
pawsScrollBar * buttonWidth
pawsRadioButtonGroup * buttonWidthMode
pawsRadioButtonGroup * editLockMode
pawsRadioButtonGroup * enableScrollBar
pawsCheckBox * healthAndMana
pawsScrollBar * HPDangerLevel
pawsScrollBar * HPFlashLevel
pawsScrollBar * HPWarnLevel
pawsRadioButtonGroup * leftScroll
bool loaded
pawsScrollBar * ManaDangerLevel
pawsScrollBar * ManaFlashLevel
pawsScrollBar * ManaWarnLevel
pawsScrollMenu * MenuBar
pawsRadioButtonGroup * rightScroll
pawsWidget * ShortcutMenu
pawsComboBox * textFont
pawsScrollBar * textSize
pawsScrollBar * textSpacing

Detailed Description

Definition at line 39 of file pawsconfigshortcut.h.


Constructor & Destructor Documentation

pawsConfigShortcut::pawsConfigShortcut ( )

Member Function Documentation

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

sets content of dialog according to current configuration

Implements pawsConfigSectionWindow.

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

void pawsConfigShortcut::PickText ( const char *  fontName,
int  size 
)
virtual bool pawsConfigShortcut::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 pawsConfigShortcut::SaveConfig ( ) [virtual]

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

Implements pawsConfigSectionWindow.

virtual void pawsConfigShortcut::SetDefault ( ) [virtual]

sets content of dialog according to default configuration

Implements pawsConfigSectionWindow.


Member Data Documentation

Definition at line 72 of file pawsconfigshortcut.h.

Definition at line 62 of file pawsconfigshortcut.h.

Definition at line 64 of file pawsconfigshortcut.h.

Definition at line 63 of file pawsconfigshortcut.h.

Definition at line 66 of file pawsconfigshortcut.h.

Definition at line 70 of file pawsconfigshortcut.h.

Definition at line 73 of file pawsconfigshortcut.h.

Definition at line 83 of file pawsconfigshortcut.h.

Definition at line 84 of file pawsconfigshortcut.h.

Definition at line 82 of file pawsconfigshortcut.h.

Definition at line 68 of file pawsconfigshortcut.h.

bool pawsConfigShortcut::loaded [protected]

Definition at line 89 of file pawsconfigshortcut.h.

Definition at line 86 of file pawsconfigshortcut.h.

Definition at line 87 of file pawsconfigshortcut.h.

Definition at line 85 of file pawsconfigshortcut.h.

Definition at line 80 of file pawsconfigshortcut.h.

Definition at line 69 of file pawsconfigshortcut.h.

Definition at line 79 of file pawsconfigshortcut.h.

Definition at line 75 of file pawsconfigshortcut.h.

Definition at line 76 of file pawsconfigshortcut.h.

Definition at line 77 of file pawsconfigshortcut.h.


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