16 template <> LayoutManager* Singleton<LayoutManager>::msInstance =
nullptr;
17 template <>
const char* Singleton<LayoutManager>::mClassTypeName =
"LayoutManager";
21 mXmlLayoutTagName(
"Layout")
50 mIsInitialise =
false;
61 mCurrentLayoutName = _file;
74 MYGUI_LOG(Warning,
"Layout '" << _file <<
"' couldn't be loaded");
76 mCurrentLayoutName =
"";
91 if (result !=
nullptr)
94 if (resource ==
nullptr)
96 MYGUI_ASSERT(!_throw,
"Resource '" << skinName <<
"' is not ResourceLayout type");
101 MYGUI_ASSERT(!_throw,
"ResourceLayout '" << skinName <<
"' not found");
107 return mCurrentLayoutName;
112 return getByName(_name,
false) !=
nullptr;