31 const std::string
XML_TYPE(
"Layout");
34 template <> LayoutManager* Singleton<LayoutManager>::msInstance =
nullptr;
63 mIsInitialise =
false;
74 mCurrentLayoutName = _file;
87 MYGUI_LOG(Warning,
"Layout '" << _file <<
"' couldn't be loaded");
89 mCurrentLayoutName =
"";
104 if (result !=
nullptr)
107 if (resource ==
nullptr)
109 MYGUI_ASSERT(!_throw,
"Resource '" << skinName <<
"' is not ResourceLayout type");
114 MYGUI_ASSERT(!_throw,
"ResourceLayout '" << skinName <<
"' not found");
120 return mCurrentLayoutName;
125 return getByName(_name,
false) !=
nullptr;