MCPcopy Create free account
hub / github.com/MyGUI/mygui / loadxmlDocument

Method loadxmlDocument

Tools/LayoutEditor/EditorWidgets.cpp:225–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 void EditorWidgets::loadxmlDocument(MyGUI::xml::Document* doc, bool _testMode)
226 {
227 MyGUI::xml::ElementPtr root = doc->getRoot();
228
229 std::string_view type = root->findAttribute("type");
230 if (type == "Layout")
231 {
232 loadWidgetsFromXmlNode(root, _testMode);
233 }
234 mWidgetsChanged = true;
235 }
236
237 MyGUI::xml::Document* EditorWidgets::savexmlDocument()
238 {

Callers 9

undoMethod · 0.80
redoMethod · 0.80
notifyActionSkinMethod · 0.80
notifyActionTypeMethod · 0.80
notifyActionTemplateMethod · 0.80
initStateMethod · 0.80
cleanupStateMethod · 0.80

Calls 2

findAttributeMethod · 0.80
getRootMethod · 0.45

Tested by 2

initStateMethod · 0.64
cleanupStateMethod · 0.64