MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / ExpandClicked

Method ExpandClicked

lib/macro/macro-tree.cpp:317–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317void MacroTreeItem::ExpandClicked(bool checked)
318{
319 if (!checked) {
320 _tree->GetModel()->ExpandGroup(_macro);
321 } else {
322 _tree->GetModel()->CollapseGroup(_macro);
323 }
324}
325
326/* ========================================================================= */
327

Callers

nothing calls this directly

Calls 3

ExpandGroupMethod · 0.80
CollapseGroupMethod · 0.80
GetModelMethod · 0.45

Tested by

no test coverage detected