#include <MyGUI_WidgetManager.h>
Public Types | |
| typedef std::map< std::string, ParseDelegate > | MapDelegate |
| typedef std::set < IWidgetFactory * > | SetWidgetFactory |
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 | _oldParse (Widget *_widget, const std::string &_key, const std::string &_value) |
| void | destroyWidgetsVector (VectorWidgetPtr &_widgets) |
| MYGUI_OBSOLETE_START ("") MYGUI_OBSOLETE_END void unregisterFactory(IWidgetFactory *_factory) | |
| void | parse (Widget *_widget, const std::string &_key, const std::string &_value) |
| template<typename T > | |
| MYGUI_OBSOLETE_START ("") MYGUI_OBSOLETE_END T *findWidget(const std | |
Static Public Member Functions | |
| static WidgetManager & | getInstance () |
| static WidgetManager * | getInstancePtr () |
Protected Attributes | |
| SetWidgetFactory | mFactoryList |
| MapDelegate | mDelegates |
| VectorIUnlinkWidget | mVectorIUnlinkWidget |
| VectorWidgetPtr | mUnlinkWidgets |
Definition at line 40 of file MyGUI_WidgetManager.h.
| typedef std::map<std::string, ParseDelegate> MyGUI::WidgetManager::MapDelegate |
Definition at line 46 of file MyGUI_WidgetManager.h.
| typedef std::set<IWidgetFactory*> MyGUI::WidgetManager::SetWidgetFactory |
Definition at line 48 of file MyGUI_WidgetManager.h.
| MyGUI::WidgetManager::WidgetManager | ( | ) |
| MyGUI::WidgetManager::~WidgetManager | ( | ) |
| void MyGUI::WidgetManager::_oldParse | ( | Widget * | _widget, | |
| const std::string & | _key, | |||
| const std::string & | _value | |||
| ) |
Definition at line 297 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::addWidgetToUnlink | ( | Widget * | _widget | ) |
Definition at line 209 of file MyGUI_WidgetManager.cpp.
| Widget * MyGUI::WidgetManager::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 | |||
| ) |
Definition at line 126 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::destroyWidget | ( | Widget * | _widget | ) |
Destroy _widget
Definition at line 152 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::destroyWidgets | ( | EnumeratorWidgetPtr | _widgets | ) |
Destroy Enumerator of widgets
Definition at line 170 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::destroyWidgets | ( | const VectorWidgetPtr & | _widgets | ) |
Destroy vector of widgets
Definition at line 162 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::destroyWidgetsVector | ( | VectorWidgetPtr & | _widgets | ) | [inline] |
Definition at line 85 of file MyGUI_WidgetManager.h.
| static WidgetManager& MyGUI::WidgetManager::getInstance | ( | ) | [static] |
| static WidgetManager* MyGUI::WidgetManager::getInstancePtr | ( | ) | [static] |
| void MyGUI::WidgetManager::initialise | ( | ) |
Definition at line 63 of file MyGUI_WidgetManager.cpp.
| bool MyGUI::WidgetManager::isFactoryExist | ( | const std::string & | _type | ) |
Definition at line 228 of file MyGUI_WidgetManager.cpp.
| MyGUI::WidgetManager::MYGUI_OBSOLETE_START | ( | "" | ) | const [inline] |
| MyGUI::WidgetManager::MYGUI_OBSOLETE_START | ( | "" | ) |
| void MyGUI::WidgetManager::parse | ( | Widget * | _widget, | |
| const std::string & | _key, | |||
| const std::string & | _value | |||
| ) |
Definition at line 271 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::registerUnlinker | ( | IUnlinkWidget * | _unlink | ) |
Register unlinker (call unlink if for any destroyed widget)
Definition at line 180 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::removeWidgetFromUnlink | ( | Widget *& | _widget | ) |
Definition at line 214 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::shutdown | ( | ) |
Definition at line 109 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::unlinkFromUnlinkers | ( | Widget * | _widget | ) |
Unlink widget
Definition at line 199 of file MyGUI_WidgetManager.cpp.
| void MyGUI::WidgetManager::unregisterUnlinker | ( | IUnlinkWidget * | _unlink | ) |
Unregister unlinker (call unlink if for any destroyed widget)
Definition at line 186 of file MyGUI_WidgetManager.cpp.
MapDelegate MyGUI::WidgetManager::mDelegates [protected] |
Definition at line 122 of file MyGUI_WidgetManager.h.
SetWidgetFactory MyGUI::WidgetManager::mFactoryList [protected] |
Definition at line 120 of file MyGUI_WidgetManager.h.
VectorWidgetPtr MyGUI::WidgetManager::mUnlinkWidgets [protected] |
Definition at line 128 of file MyGUI_WidgetManager.h.
Definition at line 125 of file MyGUI_WidgetManager.h.
1.5.9