MyGUI::ControllerManager Class Reference

#include <MyGUI_ControllerManager.h>

Inheritance diagram for MyGUI::ControllerManager:

Inheritance graph
[legend]

Public Member Functions

 ControllerManager ()
 ~ControllerManager ()
void initialise ()
void shutdown ()
ControllerItemcreateItem (const std::string &_type)
void addItem (Widget *_widget, ControllerItem *_item)
void removeItem (Widget *_widget)

Static Public Member Functions

static ControllerManagergetInstance ()
static ControllerManagergetInstancePtr ()

Detailed Description

Definition at line 36 of file MyGUI_ControllerManager.h.


Constructor & Destructor Documentation

MyGUI::ControllerManager::ControllerManager (  ) 

MyGUI::ControllerManager::~ControllerManager (  ) 


Member Function Documentation

void MyGUI::ControllerManager::addItem ( Widget _widget,
ControllerItem _item 
)

Add controlled widget

Parameters:
_widget to be controlled
_item controller with some actions (for example ControllerFadeAlpha or your own)
Note:
_item will be deleted automatically at end of controller lifetime (if not removed by removeItem(Widget* _widget) before)

Definition at line 88 of file MyGUI_ControllerManager.cpp.

ControllerItem * MyGUI::ControllerManager::createItem ( const std::string &  _type  ) 

Definition at line 82 of file MyGUI_ControllerManager.cpp.

static ControllerManager& MyGUI::ControllerManager::getInstance (  )  [static]

static ControllerManager* MyGUI::ControllerManager::getInstancePtr (  )  [static]

void MyGUI::ControllerManager::initialise (  ) 

Definition at line 38 of file MyGUI_ControllerManager.cpp.

void MyGUI::ControllerManager::removeItem ( Widget _widget  ) 

Stop the control over a widget

Parameters:
_widget to be removed

Definition at line 114 of file MyGUI_ControllerManager.cpp.

void MyGUI::ControllerManager::shutdown (  ) 

Definition at line 55 of file MyGUI_ControllerManager.cpp.


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

Generated on Thu Dec 9 14:48:10 2010 for MyGUI by  doxygen 1.5.9