| 51 | |
| 52 | struct 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 |
nothing calls this directly
no outgoing calls
no test coverage detected