MyGUI  3.0.1
Public Member Functions | Static Public Member Functions
MyGUI::ControllerManager Class Reference

#include <MyGUI_ControllerManager.h>

+ Inheritance diagram for MyGUI::ControllerManager:

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
_widgetto be controlled
_itemcontroller 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
_widgetto 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: