Planeshift
Public Member Functions

peSkinSelector Class Reference

#include <peskinselector.h>

List of all members.

Public Member Functions

bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
void OnListAction (pawsListBox *widget, int status)
 Called whenever an item in a child list box is selected.
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
bool PreviewResource (const char *resource, const char *resname, const char *mountPath)
void PreviewSkin (const char *name)
 ~peSkinSelector ()

Detailed Description

Definition at line 39 of file peskinselector.h.


Constructor & Destructor Documentation

peSkinSelector::~peSkinSelector ( )

Member Function Documentation

bool peSkinSelector::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.

void peSkinSelector::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.

bool peSkinSelector::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.

bool peSkinSelector::PreviewResource ( const char *  resource,
const char *  resname,
const char *  mountPath 
)
void peSkinSelector::PreviewSkin ( const char *  name)

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