#include <MyGUI_WidgetManager.h>
Public Member Functions |
| WidgetManager () |
| ~WidgetManager () |
void | initialise () |
void | shutdown () |
Widget * | createWidget (WidgetStyle _style, const std::string &_type, const std::string &_skin, const IntCoord &_coord, Align _align, Widget *_parent, ICroppedRectangle *_cropeedParent, IWidgetCreator *_creator, const std::string &_name) |
void | destroyWidget (Widget *_widget) |
void | destroyWidgets (const VectorWidgetPtr &_widgets) |
void | destroyWidgets (EnumeratorWidgetPtr _widgets) |
void | registerUnlinker (IUnlinkWidget *_unlink) |
void | unregisterUnlinker (IUnlinkWidget *_unlink) |
void | unlinkFromUnlinkers (Widget *_widget) |
void | addWidgetToUnlink (Widget *_widget) |
void | removeWidgetFromUnlink (Widget *&_widget) |
bool | isFactoryExist (const std::string &_type) |
void | destroyWidgetsVector (VectorWidgetPtr &_widgets) |
Widget * | findWidgetT (const std::string &_name, bool _throw=true) |
Widget * | findWidgetT (const std::string &_name, const std::string &_prefix, bool _throw=true) |
void | registerFactory (IWidgetFactory *_factory) |
void | unregisterFactory (IWidgetFactory *_factory) |
void | parse (Widget *_widget, const std::string &_key, const std::string &_value) |
ParseDelegate & | registerDelegate (const std::string &_key) |
void | unregisterDelegate (const std::string &_key) |
template<typename T > |
T * | findWidget (const std::string &_name, bool _throw=true) |
template<typename T > |
T * | findWidget (const std::string &_name, const std::string &_prefix, bool _throw=true) |
Detailed Description
Definition at line 40 of file MyGUI_WidgetManager.h.
Member Typedef Documentation
Constructor & Destructor Documentation
MyGUI::WidgetManager::WidgetManager |
( |
| ) |
|
MyGUI::WidgetManager::~WidgetManager |
( |
| ) |
|
Member Function Documentation
void MyGUI::WidgetManager::addWidgetToUnlink |
( |
Widget * |
_widget | ) |
|
void MyGUI::WidgetManager::destroyWidget |
( |
Widget * |
_widget | ) |
|
void MyGUI::WidgetManager::destroyWidgets |
( |
const VectorWidgetPtr & |
_widgets | ) |
|
void MyGUI::WidgetManager::destroyWidgetsVector |
( |
VectorWidgetPtr & |
_widgets | ) |
|
|
inline |
template<typename T >
T* MyGUI::WidgetManager::findWidget |
( |
const std::string & |
_name, |
|
|
bool |
_throw = true |
|
) |
| |
|
inline |
template<typename T >
T* MyGUI::WidgetManager::findWidget |
( |
const std::string & |
_name, |
|
|
const std::string & |
_prefix, |
|
|
bool |
_throw = true |
|
) |
| |
|
inline |
Widget * MyGUI::WidgetManager::findWidgetT |
( |
const std::string & |
_name, |
|
|
bool |
_throw = true |
|
) |
| |
Widget * MyGUI::WidgetManager::findWidgetT |
( |
const std::string & |
_name, |
|
|
const std::string & |
_prefix, |
|
|
bool |
_throw = true |
|
) |
| |
void MyGUI::WidgetManager::initialise |
( |
| ) |
|
bool MyGUI::WidgetManager::isFactoryExist |
( |
const std::string & |
_type | ) |
|
void MyGUI::WidgetManager::parse |
( |
Widget * |
_widget, |
|
|
const std::string & |
_key, |
|
|
const std::string & |
_value |
|
) |
| |
ParseDelegate & MyGUI::WidgetManager::registerDelegate |
( |
const std::string & |
_key | ) |
|
void MyGUI::WidgetManager::registerFactory |
( |
IWidgetFactory * |
_factory | ) |
|
void MyGUI::WidgetManager::registerUnlinker |
( |
IUnlinkWidget * |
_unlink | ) |
|
void MyGUI::WidgetManager::removeWidgetFromUnlink |
( |
Widget *& |
_widget | ) |
|
void MyGUI::WidgetManager::shutdown |
( |
| ) |
|
void MyGUI::WidgetManager::unlinkFromUnlinkers |
( |
Widget * |
_widget | ) |
|
void MyGUI::WidgetManager::unregisterDelegate |
( |
const std::string & |
_key | ) |
|
void MyGUI::WidgetManager::unregisterFactory |
( |
IWidgetFactory * |
_factory | ) |
|
void MyGUI::WidgetManager::unregisterUnlinker |
( |
IUnlinkWidget * |
_unlink | ) |
|
Field Documentation
The documentation for this class was generated from the following files: