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

Method OnCableGrabbed

Source/MidiController.cpp:2192–2199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2190}
2191
2192void MidiController::OnCableGrabbed(PatchCableSource* cableSource)
2193{
2194 int layoutControl = GetLayoutControlIndexForCable(cableSource);
2195 if (layoutControl != -1)
2196 {
2197 mHighlightedLayoutElement = layoutControl;
2198 }
2199}
2200
2201int MidiController::GetLayoutControlIndexForCable(PatchCableSource* cable) const
2202{

Callers 1

CableGrabbedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected