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

Method addChildItem

MyGUIEngine/src/MyGUI_LayerItem.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14 void LayerItem::addChildItem(LayerItem* _item)
15 {
16 mLayerItems.push_back(_item);
17 if (mLayerNode != nullptr)
18 {
19 _item->attachToLayerItemNode(mLayerNode, false);
20 }
21 }
22
23 void LayerItem::removeChildItem(LayerItem* _item)
24 {

Callers 2

_initialiseMethod · 0.80
attachToWidgetMethod · 0.80

Calls 2

attachToLayerItemNodeMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected