| 7 | |
| 8 | |
| 9 | void PanelBorder::draw(const DrawArgs& args) { |
| 10 | NVGcolor borderColor = nvgRGBAf(0.5, 0.5, 0.5, 0.5); |
| 11 | nvgBeginPath(args.vg); |
| 12 | nvgRect(args.vg, 0.5, 0.5, box.size.x - 1.0, box.size.y - 1.0); |
| 13 | nvgStrokeColor(args.vg, borderColor); |
| 14 | nvgStrokeWidth(args.vg, 1.0); |
| 15 | nvgStroke(args.vg); |
| 16 | } |
| 17 | |
| 18 | |
| 19 | SvgPanel::SvgPanel() { |
nothing calls this directly
no outgoing calls
no test coverage detected