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

Function drawRight

examples/Info/InfoExampleUI.cpp:269–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 }
268
269 void drawRight(float x, const float y, const char* const text, const int offset = 0)
270 {
271 const float width = (100.0f + offset) * fScale;
272 x += offset * fScale;
273 beginPath();
274 fillColor(255, 255, 255);
275 textAlign(ALIGN_LEFT|ALIGN_TOP);
276 textBox(x + (105 * fScale), y, width, text);
277 closePath();
278 }
279
280 /**
281 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