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

Method DrawModule

Source/Pulser.cpp:98–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void Pulser::DrawModule()
99{
100 if (Minimized() || IsVisible() == false)
101 return;
102
103 ofSetColor(255, 255, 255, gModuleDrawAlpha);
104
105 mTimeModeSelector->Draw();
106 mIntervalSelector->Draw();
107 mFreeTimeSlider->Draw();
108 mOffsetSlider->Draw();
109 mRandomStepCheckbox->Draw();
110 mResetLengthSlider->Draw();
111 mCustomDivisorSlider->SetShowing(mIntervalSelector->IsShowing() && mInterval == kInterval_CustomDivisor);
112 mCustomDivisorSlider->Draw();
113 mRestartFreeTimeButton->Draw();
114}
115
116void Pulser::CheckboxUpdated(Checkbox* checkbox, double time)
117{

Callers

nothing calls this directly

Calls 4

ofSetColorFunction · 0.85
IsShowingMethod · 0.80
DrawMethod · 0.45
SetShowingMethod · 0.45

Tested by

no test coverage detected