Files
StarPilot/selfdrive/ui/paint.hpp
T
Dean Lee b81e9d63ae cleanup camera malfunction alert (#2751)
* cleanup alert

* move ui_draw_vision_alert out of ui_draw_vision
old-commit-hash: 1ee8287705f48015652ef54b50f1b7d6197dd74c
2020-12-15 13:06:22 -08:00

9 lines
400 B
C++

#pragma once
#include "ui.hpp"
void ui_draw(UIState *s);
void ui_draw_image(NVGcontext *vg, float x, float y, float w, float h, int image, float alpha);
void ui_draw_rect(NVGcontext *vg, float x, float y, float w, float h, NVGcolor color, float r = 0, int width = 0);
void ui_draw_rect(NVGcontext *vg, float x, float y, float w, float h, NVGpaint &paint, float r = 0);
void ui_nvg_init(UIState *s);