Planeshift
Classes | Public Member Functions

EEditTargetToolbox Class Reference

This handles the effect target object. More...

#include <eedittargettoolbox.h>

List of all members.

Classes

class  OnAnimSelected
 Callback class for the anim selection dialog.
class  OnFileSelected
 Callback class for the pawsFileNavigation dialog.

Public Member Functions

 EEditTargetToolbox ()
void FillAnimList (iSpriteCal3DState *cal3d)
 Fills the animation list with the cal3d animations.
virtual const char * GetName () const
 Gets the name of the toolbox.
virtual size_t GetType () const
 Gets the toolbox type.
virtual bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
virtual bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void SetMeshFile (const csString &file)
 Sets the path to the target's mesh indicator, to be filled in the edit box.
void SetPosition (const csVector3 &pos)
 Sets the position of the actor.
virtual void Update (unsigned int elapsed)
 Updates the toobox.
virtual ~EEditTargetToolbox ()

Detailed Description

This handles the effect target object.

Definition at line 42 of file eedittargettoolbox.h.


Constructor & Destructor Documentation

EEditTargetToolbox::EEditTargetToolbox ( )
virtual EEditTargetToolbox::~EEditTargetToolbox ( ) [virtual]

Member Function Documentation

void EEditTargetToolbox::FillAnimList ( iSpriteCal3DState *  cal3d)

Fills the animation list with the cal3d animations.

Parameters:
cal3dthe cal3d state to get the anims from.
virtual const char* EEditTargetToolbox::GetName ( ) const [virtual]

Gets the name of the toolbox.

Returns:
the toolbox name

Implements EEditToolbox.

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

Gets the toolbox type.

Returns:
the toolbox type

Implements EEditToolbox.

virtual bool EEditTargetToolbox::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 bool EEditTargetToolbox::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 EEditTargetToolbox::SetMeshFile ( const csString &  file)

Sets the path to the target's mesh indicator, to be filled in the edit box.

Parameters:
filethe file path to fill in the mesh edit box.
void EEditTargetToolbox::SetPosition ( const csVector3 &  pos)

Sets the position of the actor.

Parameters:
posThe new position.
virtual void EEditTargetToolbox::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: