| 11 | |
| 12 | |
| 13 | void MenuOverlay::draw(const DrawArgs& args) { |
| 14 | if (bgColor.a > 0.f) { |
| 15 | nvgBeginPath(args.vg); |
| 16 | nvgRect(args.vg, 0, 0, VEC_ARGS(box.size)); |
| 17 | nvgFillColor(args.vg, bgColor); |
| 18 | nvgFill(args.vg); |
| 19 | } |
| 20 | |
| 21 | OpaqueWidget::draw(args); |
| 22 | } |
| 23 | |
| 24 | |
| 25 | void MenuOverlay::step() { |
nothing calls this directly
no outgoing calls
no test coverage detected