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

Method drawLayer

src/app/RackWidget.cpp:83–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 void drawLayer(const DrawArgs& args, int layer) override {
84 if (layer == 2) {
85 // Draw Plugs
86 Widget::draw(args);
87
88 // Draw plug lights
89 nvgSave(args.vg);
90 nvgGlobalTint(args.vg, color::WHITE);
91 Widget::drawLayer(args, 1);
92 nvgRestore(args.vg);
93 }
94 }
95};
96
97

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected