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

Method removeChildItem

MyGUIEngine/src/MyGUI_LayerItem.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 void LayerItem::removeChildItem(LayerItem* _item)
24 {
25 VectorLayerItem::iterator item = std::remove(mLayerItems.begin(), mLayerItems.end(), _item);
26 MYGUI_ASSERT(item != mLayerItems.end(), "item not found");
27 mLayerItems.erase(item);
28 }
29
30 void LayerItem::addChildNode(LayerItem* _item)
31 {

Callers 2

_shutdownMethod · 0.80
detachFromWidgetMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected