Planeshift
|
This allows you to edit the effect. More...
#include <eeditediteffecttoolbox.h>
Public Types | |
enum | ANCHOR_TYPE { AT_NONE = 0, AT_BASIC, AT_SPLINE, AT_SOCKET, AT_COUNT } |
Public Member Functions | |
EEditEditEffectToolbox () | |
virtual const char * | GetName () const |
Gets the name of the toolbox. | |
virtual size_t | GetType () const |
Gets the toolbox type. | |
void | LoadEffect (psEffect *effect) |
Loads the given effect tree. | |
virtual bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
Called whenever a button is pressed. | |
virtual bool | OnSelected (pawsWidget *widget) |
Called whenever a widget is selected. | |
virtual void | OnUpdateData (const char *dataname, PAWSData &data) |
virtual bool | PostSetup () |
This is called after the widget and all of it's children have been created. | |
virtual void | Update (unsigned int elapsed) |
Updates the toobox. | |
virtual | ~EEditEditEffectToolbox () |
This allows you to edit the effect.
Definition at line 50 of file eeditediteffecttoolbox.h.
Definition at line 81 of file eeditediteffecttoolbox.h.
EEditEditEffectToolbox::EEditEditEffectToolbox | ( | ) |
virtual EEditEditEffectToolbox::~EEditEditEffectToolbox | ( | ) | [virtual] |
virtual const char* EEditEditEffectToolbox::GetName | ( | ) | const [virtual] |
virtual size_t EEditEditEffectToolbox::GetType | ( | ) | const [virtual] |
void EEditEditEffectToolbox::LoadEffect | ( | psEffect * | effect | ) |
Loads the given effect tree.
effect | the effect to load |
virtual bool EEditEditEffectToolbox::OnButtonPressed | ( | int | button, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [virtual] |
Called whenever a button is pressed.
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
virtual bool EEditEditEffectToolbox::OnSelected | ( | pawsWidget * | widget | ) | [virtual] |
Called whenever a widget is selected.
widget | The selected widget. |
Reimplemented from pawsWidget.
virtual void EEditEditEffectToolbox::OnUpdateData | ( | const char * | dataname, |
PAWSData & | data | ||
) | [virtual] |
Reimplemented from pawsWidget.
virtual bool EEditEditEffectToolbox::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
Updates the toobox.
elapsed | the time elapsed in milliseconds. |
Reimplemented from EEditToolbox.