| 104 | |
| 105 | |
| 106 | void AudioSplitter::DrawModule() |
| 107 | { |
| 108 | if (Minimized() || IsVisible() == false) |
| 109 | return; |
| 110 | |
| 111 | GetPatchCableSource()->SetManualPosition(20, 12); |
| 112 | |
| 113 | int offset{ 20 }; |
| 114 | for (const auto cablesource : mDestinationCables) |
| 115 | { |
| 116 | cablesource->SetManualPosition(offset += 20, 12); |
| 117 | cablesource->SetOverrideCableDir(ofVec2f(0, 1), PatchCableSource::Side::kBottom); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | void AudioSplitter::GetModuleDimensions(float& w, float& h) |
| 122 | { |
nothing calls this directly
no test coverage detected