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

Method draw

src/app/MenuBar.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52struct NotificationIcon : widget::Widget {
53 void draw(const DrawArgs& args) override {
54 nvgBeginPath(args.vg);
55 float radius = 4;
56 nvgCircle(args.vg, radius, radius, radius);
57 nvgFillColor(args.vg, nvgRGBf(1.0, 0.0, 0.0));
58 nvgFill(args.vg);
59 nvgStrokeColor(args.vg, nvgRGBf(0.5, 0.0, 0.0));
60 nvgStroke(args.vg);
61 }
62};
63
64

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected