|
MyGUI
3.2.0
|
#include <MyGUI_LayoutManager.h>
Inheritance diagram for MyGUI::LayoutManager:Public Member Functions | |
| LayoutManager () | |
| void | initialise () |
| void | shutdown () |
| VectorWidgetPtr | loadLayout (const std::string &_file, const std::string &_prefix="", Widget *_parent=0) |
| void | unloadLayout (VectorWidgetPtr &_widgets) |
| ResourceLayout * | getByName (const std::string &_name, bool _throw=true) const |
| bool | isExist (const std::string &_name) const |
| const std::string & | getCurrentLayout () const |
Data Fields | |
| EventHandle_AddUserStringDelegate | eventAddUserString |
Definition at line 37 of file MyGUI_LayoutManager.h.
Definition at line 37 of file MyGUI_LayoutManager.cpp.
| ResourceLayout * MyGUI::LayoutManager::getByName | ( | const std::string & | _name, |
| bool | _throw = true |
||
| ) | const |
Get ResourceLayout by name
Definition at line 99 of file MyGUI_LayoutManager.cpp.
| const std::string & MyGUI::LayoutManager::getCurrentLayout | ( | ) | const |
Definition at line 118 of file MyGUI_LayoutManager.cpp.
| void MyGUI::LayoutManager::initialise | ( | ) |
Definition at line 42 of file MyGUI_LayoutManager.cpp.
| bool MyGUI::LayoutManager::isExist | ( | const std::string & | _name | ) | const |
Check if skin with specified name exist
Definition at line 123 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 72 of file MyGUI_LayoutManager.cpp.
| void MyGUI::LayoutManager::shutdown | ( | ) |
Definition at line 54 of file MyGUI_LayoutManager.cpp.
| void MyGUI::LayoutManager::unloadLayout | ( | VectorWidgetPtr & | _widgets | ) |
Unload layout (actually deletes vector of widgets returned by loadLayout)
Definition at line 94 of file MyGUI_LayoutManager.cpp.
Event : Multidelegate. UserString was added from layout.
signature : void method(MyGUI::Widget* _widget, const std::string& _key, const std::string& _value)
| _widget | Widget that got new UserString. |
| _key | UserString key. |
| _key | UserString value. |
Definition at line 72 of file MyGUI_LayoutManager.h.
1.7.6.1