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

Method addChildNode

MyGUIEngine/src/MyGUI_LayerItem.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 }
29
30 void LayerItem::addChildNode(LayerItem* _item)
31 {
32 mLayerNodes.push_back(_item);
33 if (mLayerNode != nullptr)
34 {
35 // создаем оверлаппеду новый айтем
36 ILayerNode* child_node = mLayerNode->createChildItemNode();
37 _item->attachToLayerItemNode(child_node, true);
38 }
39 }
40
41 void LayerItem::removeChildNode(LayerItem* _item)
42 {

Callers 2

_initialiseMethod · 0.80
attachToWidgetMethod · 0.80

Calls 3

attachToLayerItemNodeMethod · 0.80
push_backMethod · 0.45
createChildItemNodeMethod · 0.45

Tested by

no test coverage detected