Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
76
void 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
87
CTreeItem* CTreeItem::GetOBrother()
88
{
Callers
1
Expand
Method · 0.80
Calls
1
Size
Method · 0.45
Tested by
no test coverage detected