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

Method createWidgetRealT

MyGUIEngine/src/MyGUI_Widget.cpp:349–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347 }
348
349 Widget* Widget::createWidgetRealT(
350 std::string_view _type,
351 std::string_view _skin,
352 const FloatCoord& _coord,
353 Align _align,
354 std::string_view _name)
355 {
356 return createWidgetT(_type, _skin, CoordConverter::convertFromRelative(_coord, getSize()), _align, _name);
357 }
358
359 void Widget::_updateView()
360 {

Callers

nothing calls this directly

Calls 3

convertFromRelativeFunction · 0.85
getSizeFunction · 0.85
FloatCoordFunction · 0.50

Tested by

no test coverage detected