MyGUI::WidgetManager Class Reference

#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 ()
WidgetcreateWidget (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 WidgetManagergetInstance ()
static WidgetManagergetInstancePtr ()

Protected Attributes

SetWidgetFactory mFactoryList
MapDelegate mDelegates
VectorIUnlinkWidget mVectorIUnlinkWidget
VectorWidgetPtr mUnlinkWidgets


Detailed Description

Definition at line 40 of file MyGUI_WidgetManager.h.


Member Typedef Documentation

typedef std::map<std::string, ParseDelegate> MyGUI::WidgetManager::MapDelegate

Definition at line 46 of file MyGUI_WidgetManager.h.

Definition at line 48 of file MyGUI_WidgetManager.h.


Constructor & Destructor Documentation

MyGUI::WidgetManager::WidgetManager (  ) 

MyGUI::WidgetManager::~WidgetManager (  ) 


Member Function Documentation

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]

Deprecated:
"use : void WidgetManager::destroyWidgets(VectorWidgetPtr &_widgets)"

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.

template<typename T >
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 
)

Deprecated:
"use : void Widget::setProperty(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.


Field Documentation

Definition at line 122 of file MyGUI_WidgetManager.h.

Definition at line 120 of file MyGUI_WidgetManager.h.

Definition at line 128 of file MyGUI_WidgetManager.h.

Definition at line 125 of file MyGUI_WidgetManager.h.


The documentation for this class was generated from the following files:

Generated on Thu Dec 9 14:48:21 2010 for MyGUI by  doxygen 1.5.9