| 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 | { |
no test coverage detected