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

Method _createFakeWidgetT

Common/BaseLayout/BaseLayout.h:255–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 }
254
255 MyGUI::Widget* _createFakeWidgetT(std::string_view _typeName, MyGUI::Widget* _parent)
256 {
257 if (_parent)
258 return _parent->createWidgetT(
259 _typeName,
260 MyGUI::SkinManager::getInstance().getDefaultSkin(),
261 MyGUI::IntCoord(),
262 MyGUI::Align::Default);
263
264 return MyGUI::Gui::getInstance().createWidgetT(
265 _typeName,
266 MyGUI::SkinManager::getInstance().getDefaultSkin(),
267 MyGUI::IntCoord(),
268 MyGUI::Align::Default,
269 std::string_view{});
270 }
271
272 public:
273 virtual ~BaseLayout()

Callers

nothing calls this directly

Calls 2

IntCoordFunction · 0.50
createWidgetTMethod · 0.45

Tested by

no test coverage detected