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

Method AcquireLFO

Source/Slider.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74FloatSliderLFOControl* FloatSlider::AcquireLFO()
75{
76 if (mLFOControl == nullptr)
77 {
78 if (GetParent() != TheSynth->GetTopModalFocusItem()) //popups don't get these
79 SetLFO(LFOPool::GetLFO(this));
80 }
81 return mLFOControl;
82}
83
84void FloatSlider::SetLFO(FloatSliderLFOControl* lfo)
85{

Callers 3

OnMidiNoteMethod · 0.80
SetSliderMethod · 0.80
SetSnapshotMethod · 0.80

Calls 1

GetTopModalFocusItemMethod · 0.80

Tested by

no test coverage detected