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

Method CreateFakeWidgetT

Tools/EditorFramework/Control.cpp:151–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 MyGUI::Widget* Control::CreateFakeWidgetT(std::string_view _typeName, MyGUI::Widget* _parent)
152 {
153 if (_parent)
154 return _parent->createWidgetT(
155 _typeName,
156 MyGUI::SkinManager::getInstance().getDefaultSkin(),
157 MyGUI::IntCoord(),
158 MyGUI::Align::Default);
159
160 return MyGUI::Gui::getInstance().createWidgetT(
161 _typeName,
162 MyGUI::SkinManager::getInstance().getDefaultSkin(),
163 MyGUI::IntCoord(),
164 MyGUI::Align::Default,
165 std::string_view{});
166 }
167
168 void Control::CreateControllers()
169 {

Callers

nothing calls this directly

Calls 2

IntCoordFunction · 0.50
createWidgetTMethod · 0.45

Tested by

no test coverage detected