Planeshift
Public Member Functions | Public Attributes

EEditParticleListToolbox Class Reference

This allows you to open/edit particle systems. More...

#include <eeditpartlisttoolbox.h>

List of all members.

Public Member Functions

void CreateNewEffect (const char *string)
void CreateNewEmit (const char *string)
 EEditParticleListToolbox ()
 EEditParticleListToolbox (const EEditParticleListToolbox &origin)
 TODO: Copy constructor, useless currently. Would be implemented later.
void FillList (iEngine *engine)
 Fills the particles list with the names of all particle systems in the engine.
void FillParmList (iParticleEffector *eff)
void FillParmList (iMeshObjectFactory *fact)
void FillParmList (iParticleEmitter *emit)
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 OnButtonReleased (int button, int keyModifier, pawsWidget *widget)
 Called whenever a button is released.
virtual bool OnChange (pawsWidget *widget)
 Called whenever a widget is selected.
virtual void OnListAction (pawsListBox *selected, int status)
 Called whenever an item in a child list box is selected.
virtual bool OnScroll (int dir, pawsScrollBar *widget)
 Called whenever a window is scrolled.
virtual bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void RefreshEditList ()
void RefreshParmList ()
virtual void Update (unsigned int elapsed)
 Updates the toobox.
virtual ~EEditParticleListToolbox ()

Public Attributes

pawsButtonaddEffectorButton
pawsButtonaddEmitButton
pawsButtonaddParButton
pawsButtondelEEButton
pawsButtondelParButton
pawsListBoxeditList
pawsButtonopenPartButton
csPDelArray< ParticleParameterRow > parameterRows
pawsListBoxparmList
pawsListBoxpartList
pawsButtonrefreshButton
pawsButtonreloadButton
pawsButtonsaveButton
pawsSpinBoxvalue2NumSpinBox
pawsSpinBoxvalue3NumSpinBox
pawsCheckBoxvalueBool
pawsCheckBoxvalueBool2
pawsCheckBoxvalueBool3
pawsCheckBoxvalueBool4
pawsCheckBoxvalueBool5
pawsComboBoxvalueChoices
pawsListBoxvalueList
pawsSpinBoxvalueNumSpinBox
pawsScrollBarvalueScroll1
pawsScrollBarvalueScroll2
pawsScrollBarvalueScroll3
pawsScrollBarvalueScroll4

Detailed Description

This allows you to open/edit particle systems.

Definition at line 59 of file eeditpartlisttoolbox.h.


Constructor & Destructor Documentation

EEditParticleListToolbox::EEditParticleListToolbox ( )
EEditParticleListToolbox::EEditParticleListToolbox ( const EEditParticleListToolbox origin)

TODO: Copy constructor, useless currently. Would be implemented later.

virtual EEditParticleListToolbox::~EEditParticleListToolbox ( ) [virtual]

Member Function Documentation

void EEditParticleListToolbox::CreateNewEffect ( const char *  string)
void EEditParticleListToolbox::CreateNewEmit ( const char *  string)
void EEditParticleListToolbox::FillList ( iEngine *  engine)

Fills the particles list with the names of all particle systems in the engine.

void EEditParticleListToolbox::FillParmList ( iParticleEmitter *  emit)
void EEditParticleListToolbox::FillParmList ( iParticleEffector *  eff)
void EEditParticleListToolbox::FillParmList ( iMeshObjectFactory *  fact)
virtual const char* EEditParticleListToolbox::GetName ( ) const [virtual]

Gets the name of the toolbox.

Returns:
the toolbox name

Implements EEditToolbox.

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

Gets the toolbox type.

Returns:
the toolbox type

Implements EEditToolbox.

virtual bool EEditParticleListToolbox::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 EEditParticleListToolbox::OnButtonReleased ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is released.

Parameters:
buttonThe button released.
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 EEditParticleListToolbox::OnChange ( pawsWidget widget) [virtual]

Called whenever a widget is selected.

Parameters:
widgetThe widget acted upon.
Returns:
Notify parent and return result FALSE if no parent.

Reimplemented from pawsWidget.

virtual void EEditParticleListToolbox::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 EEditParticleListToolbox::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.

virtual bool EEditParticleListToolbox::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 EEditParticleListToolbox::RefreshEditList ( )
void EEditParticleListToolbox::RefreshParmList ( )
virtual void EEditParticleListToolbox::Update ( unsigned int  elapsed) [virtual]

Updates the toobox.

Parameters:
elapsedthe time elapsed in milliseconds.

Reimplemented from EEditToolbox.


Member Data Documentation

Definition at line 137 of file eeditpartlisttoolbox.h.

Definition at line 136 of file eeditpartlisttoolbox.h.

Definition at line 134 of file eeditpartlisttoolbox.h.

Definition at line 138 of file eeditpartlisttoolbox.h.

Definition at line 135 of file eeditpartlisttoolbox.h.

Definition at line 114 of file eeditpartlisttoolbox.h.

Definition at line 117 of file eeditpartlisttoolbox.h.

csPDelArray<ParticleParameterRow> EEditParticleListToolbox::parameterRows

Definition at line 111 of file eeditpartlisttoolbox.h.

Definition at line 115 of file eeditpartlisttoolbox.h.

Definition at line 113 of file eeditpartlisttoolbox.h.

Definition at line 118 of file eeditpartlisttoolbox.h.

Definition at line 120 of file eeditpartlisttoolbox.h.

Definition at line 119 of file eeditpartlisttoolbox.h.

Definition at line 122 of file eeditpartlisttoolbox.h.

Definition at line 123 of file eeditpartlisttoolbox.h.

Definition at line 125 of file eeditpartlisttoolbox.h.

Definition at line 126 of file eeditpartlisttoolbox.h.

Definition at line 127 of file eeditpartlisttoolbox.h.

Definition at line 128 of file eeditpartlisttoolbox.h.

Definition at line 129 of file eeditpartlisttoolbox.h.

Definition at line 124 of file eeditpartlisttoolbox.h.

Definition at line 116 of file eeditpartlisttoolbox.h.

Definition at line 121 of file eeditpartlisttoolbox.h.

Definition at line 130 of file eeditpartlisttoolbox.h.

Definition at line 131 of file eeditpartlisttoolbox.h.

Definition at line 132 of file eeditpartlisttoolbox.h.

Definition at line 133 of file eeditpartlisttoolbox.h.


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