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

Method DrawModule

Source/RadioSequencer.cpp:214–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void RadioSequencer::DrawModule()
215{
216 if (Minimized() || IsVisible() == false)
217 return;
218
219 mGrid->Draw();
220 mIntervalSelector->Draw();
221 mLengthSlider->Draw();
222 mGridControlTarget->Draw();
223
224 for (int i = 0; i < mControlCables.size(); ++i)
225 {
226 mControlCables[i]->SetManualPosition(GetRect(true).width, mGrid->GetPosition(true).y + (mGrid->GetHeight() / mGrid->GetRows()) * (i + .5f));
227 }
228}
229
230void RadioSequencer::OnClicked(float x, float y, bool right)
231{

Callers

nothing calls this directly

Calls 6

sizeMethod · 0.80
SetManualPositionMethod · 0.80
DrawMethod · 0.45
GetPositionMethod · 0.45
GetHeightMethod · 0.45
GetRowsMethod · 0.45

Tested by

no test coverage detected