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

Method DrawToPush2Screen

Source/NoteLooper.cpp:110–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110bool NoteLooper::DrawToPush2Screen()
111{
112 ofRectangle rect = mCanvas->GetRect(true);
113
114 mCanvas->SetPosition(125, 3);
115 mCanvas->SetDimensions(600, 40);
116
117 mCanvas->SetCursorPos(GetCurPos(gTime));
118 mCanvas->Draw();
119
120 mCanvas->SetPosition(rect.x, rect.y);
121 mCanvas->SetDimensions(rect.width, rect.height);
122
123 return false;
124}
125
126void NoteLooper::Resize(float w, float h)
127{

Callers

nothing calls this directly

Calls 5

SetCursorPosMethod · 0.80
GetRectMethod · 0.45
SetPositionMethod · 0.45
SetDimensionsMethod · 0.45
DrawMethod · 0.45

Tested by

no test coverage detected