MCPcopy Create free account
hub / github.com/VCVRack/Rack / draw

Method draw

src/ui/MenuLabel.cpp:9–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9void MenuLabel::draw(const DrawArgs& args) {
10 bndMenuLabel(args.vg, 0.0, 0.0, box.size.x, box.size.y, -1, text.c_str());
11}
12
13void MenuLabel::step() {
14 // Add 10 more pixels because Retina measurements are sometimes too small

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected