Files
StarPilot/selfdrive/ui/paint.h
T
Dean Lee 2da9327191 UI: move onroad hud to Qt (#23040)
* onroad hud

* improve boudingrect, same as nanvg

* QRect

* Update selfdrive/ui/paint.cc

* stacked with nvgWindow

* cleanup ui.h

* rename to road_view_layout

* no lambda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad09507e1ba2d758fe435d06a3dc28def33c14e8
2021-12-04 23:02:10 -08:00

9 lines
200 B
C

#pragma once
#include "selfdrive/ui/ui.h"
void ui_draw(UIState *s, int w, int h);
void ui_nvg_init(UIState *s);
void ui_resize(UIState *s, int width, int height);
void ui_update_params(UIState *s);