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

Method DrawModule

Source/CircleSequencer.cpp:88–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void CircleSequencer::DrawModule()
89{
90 if (Minimized() || IsVisible() == false)
91 return;
92
93 for (int i = 0; i < mCircleSequencerRings.size(); ++i)
94 mCircleSequencerRings[i]->Draw();
95
96 ofPushStyle();
97 ofSetColor(ofColor::lime);
98 float pos = TheTransport->GetMeasurePos(gTime);
99 ofVec2f end = PolToCar(pos, 100);
100 ofLine(100, 100, 100 + end.x, 100 + end.y);
101 ofPopStyle();
102}
103
104void CircleSequencer::OnClicked(float x, float y, bool right)
105{

Callers

nothing calls this directly

Calls 8

ofPushStyleFunction · 0.85
ofSetColorFunction · 0.85
ofLineFunction · 0.85
ofPopStyleFunction · 0.85
sizeMethod · 0.80
PolToCarFunction · 0.70
DrawMethod · 0.45
GetMeasurePosMethod · 0.45

Tested by

no test coverage detected