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

Method setWidgetStyle

MyGUIEngine/src/MyGUI_Widget.cpp:930–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928 }
929
930 void Widget::setWidgetStyle(WidgetStyle _style, std::string_view _layer)
931 {
932 if (_style == mWidgetStyle)
933 return;
934 if (nullptr == getParent())
935 return;
936
937 Widget* parent = mParent;
938
939 detachFromWidget();
940 attachToWidget(parent, _style, _layer);
941 // ищем леер к которому мы присоедененны
942 }
943
944 Widget* Widget::createWidgetT(
945 std::string_view _type,

Callers 4

_initialiseMethod · 0.80
step_change_typeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected