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

Method SetUpFromSaveData

Source/FloatSliderLFOControl.cpp:477–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477void FloatSliderLFOControl::SetUpFromSaveData()
478{
479 mPinned = true; //only pinned sliders get saved
480
481 UpdateFromSettings();
482 UpdateVisibleControls();
483
484 if (mTargetCable == nullptr)
485 {
486 mTargetCable = new PatchCableSource(this, kConnectionType_Modulator);
487 mTargetCable->SetModulatorOwner(this);
488 AddPatchCableSource(mTargetCable);
489 }
490}
491
492FloatSliderLFOControl* LFOPool::sLFOPool[LFO_POOL_SIZE];
493int LFOPool::sNextLFOIndex = 0;

Callers

nothing calls this directly

Calls 1

SetModulatorOwnerMethod · 0.80

Tested by

no test coverage detected