#include <MyGUI_ControllerManager.h>
Public Member Functions | |
ControllerManager () | |
~ControllerManager () | |
void | initialise () |
void | shutdown () |
ControllerItem * | createItem (const std::string &_type) |
void | addItem (WidgetPtr _widget, ControllerItem *_item) |
void | removeItem (WidgetPtr _widget) |
Static Public Member Functions | |
static ControllerManager & | getInstance () |
static ControllerManager * | getInstancePtr () |
Definition at line 36 of file MyGUI_ControllerManager.h.
MyGUI::ControllerManager::ControllerManager | ( | ) |
Definition at line 37 of file MyGUI_ControllerManager.cpp.
MyGUI::ControllerManager::~ControllerManager | ( | ) |
Definition at line 37 of file MyGUI_ControllerManager.cpp.
void MyGUI::ControllerManager::addItem | ( | WidgetPtr | _widget, | |
ControllerItem * | _item | |||
) |
Add controlled widget
_widget | to be controlled | |
_item | controller with some actions (for example ControllerFadeAlpha or your own) |
Definition at line 89 of file MyGUI_ControllerManager.cpp.
ControllerItem * MyGUI::ControllerManager::createItem | ( | const std::string & | _type | ) |
Definition at line 83 of file MyGUI_ControllerManager.cpp.
ControllerManager & MyGUI::ControllerManager::getInstance | ( | ) | [static] |
Definition at line 37 of file MyGUI_ControllerManager.cpp.
ControllerManager * MyGUI::ControllerManager::getInstancePtr | ( | ) | [static] |
Definition at line 37 of file MyGUI_ControllerManager.cpp.
void MyGUI::ControllerManager::initialise | ( | ) |
Definition at line 39 of file MyGUI_ControllerManager.cpp.
void MyGUI::ControllerManager::removeItem | ( | WidgetPtr | _widget | ) |
Stop the control over a widget
_widget | to be removed |
Definition at line 115 of file MyGUI_ControllerManager.cpp.
void MyGUI::ControllerManager::shutdown | ( | ) |
Definition at line 56 of file MyGUI_ControllerManager.cpp.