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

Function get_layer

UnitTests/UnitTest_AttachDetach/DemoKeeper.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 static std::string_view get_layer()
64 {
65 const int SIZE = 4;
66 static const std::string_view names[SIZE] = {std::string_view{}, "Main", "Overlapped", "Popup"};
67 return names[random(SIZE)];
68 }
69
70 static MyGUI::IntCoord get_coord()
71 {

Callers 4

step_attach_layerFunction · 0.85
step_detach_widgetFunction · 0.85
step_attach_widgetFunction · 0.85
step_create_widgetFunction · 0.85

Calls 1

randomFunction · 0.85

Tested by

no test coverage detected