MyGUI::LayoutManager Class Reference

#include <MyGUI_LayoutManager.h>

Public Member Functions

void initialise ()
void shutdown ()
VectorWidgetPtrload (const std::string &_file)
void _load (xml::ElementPtr _node, const std::string &_file, Version _version)
VectorWidgetPtrloadLayout (const std::string &_file, const std::string &_prefix="", Widget *_parent=nullptr)
void unloadLayout (VectorWidgetPtr &_widgets)

Detailed Description

Definition at line 35 of file MyGUI_LayoutManager.h.


Member Function Documentation

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

Parameters:
_file name of layout
Returns:
Return vector of pointers of loaded root widgets (root == without parents)

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

Parameters:
_file name of layout
_prefix will be added to all loaded widgets names
_parent widget to load on
Returns:
Return vector of pointers of loaded root widgets (root == without parents)

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.


The documentation for this class was generated from the following files:
Generated on Thu Nov 17 15:31:16 2011 for MyGUI by  doxygen 1.6.3