mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 20:42:09 +08:00
dce66df5ef
old-commit-hash: 906208504363457172d951ae99b8dac99d3400e1
13 lines
561 B
C
13 lines
561 B
C
#pragma once
|
|
|
|
#include "selfdrive/ui/ui.h"
|
|
|
|
void ui_draw(UIState *s, int w, int h);
|
|
void ui_draw_image(const UIState *s, const Rect &r, const char *name, float alpha);
|
|
void ui_draw_rect(NVGcontext *vg, const Rect &r, NVGcolor color, int width, float radius = 0);
|
|
void ui_fill_rect(NVGcontext *vg, const Rect &r, const NVGpaint &paint, float radius = 0);
|
|
void ui_fill_rect(NVGcontext *vg, const Rect &r, const NVGcolor &color, float radius = 0);
|
|
void ui_nvg_init(UIState *s);
|
|
void ui_resize(UIState *s, int width, int height);
|
|
void ui_update_params(UIState *s);
|