MyGUI
3.2.0
|
#include <MyGUI_WidgetManager.h>
Public Member Functions | |
WidgetManager () | |
void | initialise () |
void | shutdown () |
Widget * | createWidget (WidgetStyle _style, const std::string &_type, const std::string &_skin, const IntCoord &_coord, Widget *_parent, ICroppedRectangle *_cropeedParent, 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) |
bool | isFactoryExist (const std::string &_type) |
void | _deleteWidget (Widget *_widget) |
void | _deleteDelayWidgets () |
![]() | |
Singleton () | |
virtual | ~Singleton () |
![]() | |
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 | parse (Widget *_widget, const std::string &_key, const std::string &_value) |
Additional Inherited Members | |
![]() | |
typedef Singleton< WidgetManager > | Base |
![]() | |
static WidgetManager & | getInstance () |
static WidgetManager * | getInstancePtr () |
static const char * | getClassTypeName () |
![]() | |
static const char * | mClassTypeName |
Definition at line 35 of file MyGUI_WidgetManager.h.
MyGUI::WidgetManager::WidgetManager | ( | ) |
Definition at line 59 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::_deleteDelayWidgets | ( | ) |
Definition at line 197 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::_deleteWidget | ( | Widget * | _widget | ) |
Definition at line 183 of file MyGUI_WidgetManager.cpp.
Widget * MyGUI::WidgetManager::createWidget | ( | WidgetStyle | _style, |
const std::string & | _type, | ||
const std::string & | _skin, | ||
const IntCoord & | _coord, | ||
Widget * | _parent, | ||
ICroppedRectangle * | _cropeedParent, | ||
const std::string & | _name | ||
) |
Definition at line 118 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::destroyWidget | ( | Widget * | _widget | ) |
Destroy _widget
Definition at line 132 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::destroyWidgets | ( | const VectorWidgetPtr & | _widgets | ) |
Destroy vector of widgets
Definition at line 137 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::destroyWidgets | ( | EnumeratorWidgetPtr | _widgets | ) |
Destroy Enumerator of widgets
Definition at line 142 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::initialise | ( | ) |
Definition at line 64 of file MyGUI_WidgetManager.cpp.
bool MyGUI::WidgetManager::isFactoryExist | ( | const std::string & | _type | ) |
Check if factory with specified widget type exist
Definition at line 168 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::registerUnlinker | ( | IUnlinkWidget * | _unlink | ) |
Register unlinker (call unlink if for any destroyed widget)
Definition at line 147 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::shutdown | ( | ) |
Definition at line 102 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::unlinkFromUnlinkers | ( | Widget * | _widget | ) |
Unlink widget
Definition at line 160 of file MyGUI_WidgetManager.cpp.
void MyGUI::WidgetManager::unregisterUnlinker | ( | IUnlinkWidget * | _unlink | ) |
Unregister unlinker (call unlink if for any destroyed widget)
Definition at line 153 of file MyGUI_WidgetManager.cpp.