| 449 | } |
| 450 | |
| 451 | void drawBackground(const DrawArgs& args) override { |
| 452 | // Background |
| 453 | NVGcolor backgroundColor = nvgRGB(0x20, 0x20, 0x20); |
| 454 | NVGcolor borderColor = nvgRGB(0x10, 0x10, 0x10); |
| 455 | nvgBeginPath(args.vg); |
| 456 | nvgRoundedRect(args.vg, 0.0, 0.0, box.size.x, box.size.y, 2.0); |
| 457 | nvgFillColor(args.vg, backgroundColor); |
| 458 | nvgFill(args.vg); |
| 459 | nvgStrokeWidth(args.vg, 1.0); |
| 460 | nvgStrokeColor(args.vg, borderColor); |
| 461 | nvgStroke(args.vg); |
| 462 | } |
| 463 | |
| 464 | void drawLight(const DrawArgs& args) override { |
| 465 | // Background |
nothing calls this directly
no outgoing calls
no test coverage detected