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

Method GetPatchCableSource

Source/IDrawableModule.h:195–200  ·  view source on GitHub ↗

IPatchable

Source from the content-addressed store, hash-verified

193
194 //IPatchable
195 PatchCableSource* GetPatchCableSource(int index = 0) override
196 {
197 if (index < mPatchCableSources.size())
198 return mPatchCableSources[index];
199 return nullptr;
200 }
201 std::vector<PatchCableSource*> GetPatchCableSources() { return mPatchCableSources; }
202
203 static void FindClosestSides(float xThis, float yThis, float wThis, float hThis, float xThat, float yThat, float wThat, float hThat, float& startX, float& startY, float& endX, float& endY, bool sidesOnly = false);

Callers 15

PollMethod · 0.45
OnMidiNoteMethod · 0.45
OnMidiControlMethod · 0.45
UpdateRoutingModulesMethod · 0.45
AddModuleChainMethod · 0.45
SetUpFromSaveDataMethod · 0.45
CreateUIControlsMethod · 0.45
DrawModuleMethod · 0.45
DeleteModuleMethod · 0.45
DrawModuleMethod · 0.45
SetUpFromSaveDataMethod · 0.45
SetPatchCableTargetMethod · 0.45

Calls 1

sizeMethod · 0.80

Tested by 4

CreateUIControlsMethod · 0.36
DrawModuleMethod · 0.36
CreateUIControlsMethod · 0.36
DrawModuleMethod · 0.36