Planeshift
EEditToolboxManager Class Reference

A class that manages a group of toolbox windows. More...

#include <eedittoolboxmanager.h>

Public Member Functions

 EEditToolboxManager ()
 
EEditToolboxGetToolbox (size_t type) const
 Grabs a toolbox of the given type. More...
 
size_t GetToolboxCount () const
 Counts the number of toolboxes in the list. More...
 
pawsWidgetGetToolboxWidget (size_t type) const
 Grabs the toolbox widget of the given toolbox type. More...
 
bool LoadWidgets (PawsManager *paws)
 Loads all the toolbox widgets. More...
 
bool RegisterFactories () const
 Registers all the factories needed by the toolboxes. More...
 
void UpdateAll (unsigned int elapsed)
 Updates all the toolboxes in the list. More...
 
 ~EEditToolboxManager ()
 

Detailed Description

A class that manages a group of toolbox windows.

Definition at line 35 of file eedittoolboxmanager.h.

Constructor & Destructor Documentation

EEditToolboxManager::EEditToolboxManager ( )
EEditToolboxManager::~EEditToolboxManager ( )

Member Function Documentation

EEditToolbox* EEditToolboxManager::GetToolbox ( size_t  type) const

Grabs a toolbox of the given type.

Parameters
typethe toolbox type.
Returns
the toolbox.
size_t EEditToolboxManager::GetToolboxCount ( ) const

Counts the number of toolboxes in the list.

Returns
the number of toolboxes.
pawsWidget* EEditToolboxManager::GetToolboxWidget ( size_t  type) const

Grabs the toolbox widget of the given toolbox type.

Parameters
typethe toolbox type
Returns
the toolbox as a pawsWidget
bool EEditToolboxManager::LoadWidgets ( PawsManager paws)

Loads all the toolbox widgets.

Parameters
pawsa pointer to a valid PawsManager
Returns
true on success, false otherwise.
bool EEditToolboxManager::RegisterFactories ( ) const

Registers all the factories needed by the toolboxes.

Returns
true on success, false otherwise.
void EEditToolboxManager::UpdateAll ( unsigned int  elapsed)

Updates all the toolboxes in the list.

Parameters
elapsedthe time in milliseconds that has passed since last frame.

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