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

Method createLayout

MyGUIEngine/src/MyGUI_ResourceLayout.cpp:104–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 VectorWidgetPtr ResourceLayout::createLayout(std::string_view _prefix, Widget* _parent)
105 {
106 VectorWidgetPtr widgets;
107
108 for (auto& iter : mLayoutData)
109 {
110 Widget* widget = createWidget(iter, _prefix, _parent);
111 widgets.push_back(widget);
112 }
113
114 return widgets;
115 }
116
117 Widget* ResourceLayout::createWidget(
118 const WidgetInfo& _widgetInfo,

Callers 1

loadLayoutMethod · 0.80

Calls 2

createWidgetFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected