MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ExpandTree

Method ExpandTree

engine/Poseidon/UI/Controls/UIControlsTree.cpp:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void CTreeItem::ExpandTree(bool expand)
77{
78 expanded = expand;
79
80 int n = children.Size();
81 for (int i = 0; i < n; i++)
82 {
83 children[i]->ExpandTree(expand);
84 }
85}
86
87CTreeItem* CTreeItem::GetOBrother()
88{

Callers 1

ExpandMethod · 0.80

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected