MyGUI
3.0.1
|
#include <MyGUI_LayoutManager.h>
Public Member Functions | |
LayoutManager () | |
~LayoutManager () | |
void | initialise () |
void | shutdown () |
VectorWidgetPtr & | load (const std::string &_file) |
void | _load (xml::ElementPtr _node, const std::string &_file, Version _version) |
VectorWidgetPtr & | loadLayout (const std::string &_file, const std::string &_prefix="", Widget *_parent=0) |
void | unloadLayout (VectorWidgetPtr &_widgets) |
Static Public Member Functions | |
static LayoutManager & | getInstance () |
static LayoutManager * | getInstancePtr () |
Definition at line 35 of file MyGUI_LayoutManager.h.
void MyGUI::LayoutManager::_load | ( | xml::ElementPtr | _node, |
const std::string & | _file, | ||
Version | _version | ||
) |
Definition at line 70 of file MyGUI_LayoutManager.cpp.
static LayoutManager& MyGUI::LayoutManager::getInstance | ( | ) | [static] |
static LayoutManager* MyGUI::LayoutManager::getInstancePtr | ( | ) | [static] |
void MyGUI::LayoutManager::initialise | ( | ) |
Definition at line 39 of file MyGUI_LayoutManager.cpp.
VectorWidgetPtr & MyGUI::LayoutManager::load | ( | const std::string & | _file | ) |
Load layout file
_file | name of layout |
Definition at line 63 of file MyGUI_LayoutManager.cpp.
VectorWidgetPtr & MyGUI::LayoutManager::loadLayout | ( | const std::string & | _file, |
const std::string & | _prefix = "" , |
||
Widget * | _parent = 0 |
||
) |
Load layout file
_file | name of layout |
_prefix | will be added to all loaded widgets names |
_parent | widget to load on |
Definition at line 78 of file MyGUI_LayoutManager.cpp.
void MyGUI::LayoutManager::shutdown | ( | ) |
Definition at line 52 of file MyGUI_LayoutManager.cpp.
void MyGUI::LayoutManager::unloadLayout | ( | VectorWidgetPtr & | _widgets | ) |
Unload layout file
Definition at line 91 of file MyGUI_LayoutManager.cpp.