MyGUI::LayoutManager Class Reference

#include <MyGUI_LayoutManager.h>


Public Member Functions

 LayoutManager ()
 ~LayoutManager ()
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=0)
void unloadLayout (VectorWidgetPtr &_widgets)

Static Public Member Functions

static LayoutManagergetInstance ()
static LayoutManagergetInstancePtr ()


Detailed Description

Definition at line 35 of file MyGUI_LayoutManager.h.


Constructor & Destructor Documentation

MyGUI::LayoutManager::LayoutManager (  ) 

MyGUI::LayoutManager::~LayoutManager (  ) 


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.

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

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 = 0 
)

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 Dec 9 14:48:14 2010 for MyGUI by  doxygen 1.5.9