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

Method removeChildNode

MyGUIEngine/src/MyGUI_LayerItem.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void LayerItem::removeChildNode(LayerItem* _item)
42 {
43 VectorLayerItem::iterator item = std::remove(mLayerNodes.begin(), mLayerNodes.end(), _item);
44 MYGUI_ASSERT(item != mLayerNodes.end(), "item not found");
45 mLayerNodes.erase(item);
46 }
47
48 void LayerItem::addRenderItem(ISubWidget* _item)
49 {

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