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

Method DrawModule

Source/LFOController.cpp:119–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void LFOController::DrawModule()
120{
121 if (Minimized() || IsVisible() == false)
122 return;
123
124 mIntervalSelector->Draw();
125 mOscSelector->Draw();
126 mMinSlider->Draw();
127 mMaxSlider->Draw();
128 mBindButton->Draw();
129
130 if (mSlider && mLFO && mLFO->IsEnabled())
131 {
132 DrawTextNormal(mSlider->Name(), 50, 70);
133 DrawConnection(mSlider);
134 }
135}
136
137void LFOController::DropdownUpdated(DropdownList* list, int oldVal, double time)
138{

Callers

nothing calls this directly

Calls 4

DrawTextNormalFunction · 0.85
DrawMethod · 0.45
IsEnabledMethod · 0.45
NameMethod · 0.45

Tested by

no test coverage detected