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

Function step_attach_layer

UnitTests/UnitTest_AttachDetach/DemoKeeper.cpp:94–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 static void step_attach_layer()
95 {
96 MyGUI::Widget* widget = get_random(all_widgets);
97 if (!widget)
98 return;
99 if (widget->isRootWidget())
100 {
101 std::string_view layername = get_layer();
102 if (!layername.empty())
103 MyGUI::LayerManager::getInstance().attachToLayerNode(layername, widget);
104 }
105 test_widgets();
106 }
107
108 static void step_attach_layer(int _count)
109 {

Callers 1

notifyFrameStartedMethod · 0.85

Calls 7

get_randomFunction · 0.85
get_layerFunction · 0.85
test_widgetsFunction · 0.85
randomFunction · 0.85
isRootWidgetMethod · 0.80
attachToLayerNodeMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected