| 987 | float margin = mm2px(0.5); |
| 988 | |
| 989 | void draw(const DrawArgs& args) override { |
| 990 | // Background |
| 991 | nvgBeginPath(args.vg); |
| 992 | nvgRect(args.vg, 0, 0, box.size.x, box.size.y); |
| 993 | nvgFillColor(args.vg, color::BLACK); |
| 994 | nvgFill(args.vg); |
| 995 | Widget::draw(args); |
| 996 | } |
| 997 | |
| 998 | template <typename TLightBase = WhiteLight> |
| 999 | void setLights(engine::Module* module, int firstLightId, int lightsLen) { |
nothing calls this directly
no outgoing calls
no test coverage detected