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

Method SortChildren

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

Source from the content-addressed store, hash-verified

62}
63
64void CTreeItem::SortChildren(bool reversed)
65{
66 if (reversed)
67 {
68 QSort(children.Data(), children.Size(), CompChildrenRev);
69 }
70 else
71 {
72 QSort(children.Data(), children.Size(), CompChildren);
73 }
74}
75
76void CTreeItem::ExpandTree(bool expand)
77{

Callers 1

InsertGamesMethod · 0.80

Calls 3

QSortFunction · 0.85
DataMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected