MCPcopy Create free account
hub / github.com/DISTRHO/DPF / drawRight

Function drawRight

examples/FileHandling/FileHandlingUI.cpp:259–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 }
258
259 void drawRight(const float x, const float y, const char* const text)
260 {
261 beginPath();
262 fillColor(255, 255, 255);
263 textAlign(ALIGN_LEFT|ALIGN_TOP);
264 textBox(x + (105 * fScale), y, (kInitialWidth - x) * fScale, text);
265 closePath();
266 }
267
268 /**
269 Set our UI class as non-copyable and add a leak detector just in case.

Callers 1

onNanoDisplayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected