#include <MyGUI_LayoutManager.h>
Public Member Functions | |
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=nullptr) |
void | unloadLayout (VectorWidgetPtr &_widgets) |
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.
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 = nullptr | |||
) |
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.