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

Method getTopWidget

Tools/LayoutEditor/WidgetSelectorManager.cpp:96–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 MyGUI::Widget* WidgetSelectorManager::getTopWidget(const MyGUI::IntPoint& _point)
97 {
98 MyGUI::Widget* result = nullptr;
99
100 EnumeratorWidgetContainer container = EditorWidgets::getInstance().getWidgets();
101 while (container.next())
102 checkContainer(container.current(), result, _point);
103
104 return result;
105 }
106
107 void WidgetSelectorManager::checkContainer(
108 WidgetContainer* _container,

Callers

nothing calls this directly

Calls 3

getWidgetsMethod · 0.80
nextMethod · 0.45
currentMethod · 0.45

Tested by

no test coverage detected