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

Method _deleteWidget

MyGUIEngine/src/MyGUI_WidgetManager.cpp:170–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 }
169
170 void WidgetManager::_deleteWidget(Widget* _widget)
171 {
172 _widget->_shutdown();
173
174 for (auto& widget : mDestroyWidgets)
175 {
176 /*if ((*entry) == _widget)
177 return;*/
178 MYGUI_ASSERT(widget != _widget, "double delete widget");
179 }
180
181 mDestroyWidgets.push_back(_widget);
182 }
183
184 void WidgetManager::_deleteDelayWidgets()
185 {

Callers 5

_destroyChildWidgetMethod · 0.80
_destroyChildWidgetMethod · 0.80

Calls 2

_shutdownMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected