mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-13 13:22:22 +08:00
8ab6ec02ad
* camera unresponsive * blue and remove loge * simplify * should override to avoid blank screen * let it be * stop sound Co-authored-by: WXEon <device@comma.ai> old-commit-hash: 257c5f9d946b1392ce205140b4bb24843968976e
12 lines
571 B
C++
12 lines
571 B
C++
#pragma once
|
|
#include "ui.hpp"
|
|
|
|
|
|
void ui_draw_vision_alert(UIState *s, cereal::ControlsState::AlertSize va_size, UIStatus va_color,
|
|
const char* va_text1, const char* va_text2);
|
|
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);
|