Planeshift
Public Member Functions

EEditRenderToolbox Class Reference

This handles the effect render toolbox. More...

#include <eeditrendertoolbox.h>

List of all members.

Public Member Functions

 EEditRenderToolbox ()
void FillAnchor (const char *anchorName)
void FillObj (const char *objName)
psEffectGetCurrentEffect ()
virtual const char * GetName () const
 Gets the name of the toolbox.
virtual size_t GetType () const
 Gets the toolbox type.
void LoadEffect (psEffectManager *mgr, const char *effectName)
virtual bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 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 PostSetup ()
 This is called after the widget and all of it's children have been created.
void SetEngine (iEngine *e)
virtual void Update (unsigned int elapsed)
 Updates the toobox.
virtual ~EEditRenderToolbox ()

Detailed Description

This handles the effect render toolbox.

Definition at line 37 of file eeditrendertoolbox.h.


Constructor & Destructor Documentation

EEditRenderToolbox::EEditRenderToolbox ( )
virtual EEditRenderToolbox::~EEditRenderToolbox ( ) [virtual]

Member Function Documentation

void EEditRenderToolbox::FillAnchor ( const char *  anchorName)
void EEditRenderToolbox::FillObj ( const char *  objName)
psEffect* EEditRenderToolbox::GetCurrentEffect ( )
virtual const char* EEditRenderToolbox::GetName ( ) const [virtual]

Gets the name of the toolbox.

Returns:
the toolbox name

Implements EEditToolbox.

virtual size_t EEditRenderToolbox::GetType ( ) const [virtual]

Gets the toolbox type.

Returns:
the toolbox type

Implements EEditToolbox.

void EEditRenderToolbox::LoadEffect ( psEffectManager mgr,
const char *  effectName 
)
virtual bool EEditRenderToolbox::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 EEditRenderToolbox::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 EEditRenderToolbox::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.

void EEditRenderToolbox::SetEngine ( iEngine *  e) [inline]

Definition at line 57 of file eeditrendertoolbox.h.

virtual void EEditRenderToolbox::Update ( unsigned int  elapsed) [virtual]

Updates the toobox.

Parameters:
elapsedthe time elapsed in milliseconds.

Reimplemented from EEditToolbox.


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