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

Method savexmlDocument

Tools/LayoutEditor/EditorWidgets.cpp:237–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 }
236
237 MyGUI::xml::Document* EditorWidgets::savexmlDocument()
238 {
239 MyGUI::xml::Document* doc = new MyGUI::xml::Document();
240
241 doc->createDeclaration();
242 MyGUI::xml::ElementPtr root = doc->createRoot("MyGUI");
243 root->addAttribute("type", "Layout");
244
245 saveWidgetsToXmlNode(root);
246
247 return doc;
248 }
249
250 void EditorWidgets::add(WidgetContainer* _container)
251 {

Callers 7

addValueMethod · 0.80
notifyActionSkinMethod · 0.80
notifyActionTypeMethod · 0.80
notifyActionTemplateMethod · 0.80
initStateMethod · 0.80

Calls 3

createDeclarationMethod · 0.80
createRootMethod · 0.80
addAttributeMethod · 0.80

Tested by 1

initStateMethod · 0.64