MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / DrawPatchCables

Method DrawPatchCables

Source/ModuleContainer.cpp:104–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void ModuleContainer::DrawPatchCables(bool parentMinimized, bool inFront)
105{
106 if (mOwner != nullptr && mOwner->Minimized())
107 parentMinimized = true;
108
109 for (int i = (int)mModules.size() - 1; i >= 0; --i)
110 {
111 mModules[i]->DrawPatchCables(parentMinimized, inFront);
112 if (mModules[i]->GetContainer())
113 mModules[i]->GetContainer()->DrawPatchCables(parentMinimized, inFront);
114 }
115}
116
117void ModuleContainer::Poll()
118{

Callers

nothing calls this directly

Calls 3

MinimizedMethod · 0.80
sizeMethod · 0.80
GetContainerMethod · 0.45

Tested by

no test coverage detected