mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 14:16:39 +08:00
f5e6a0c9a0
* revive #19877 * looks like a sidebar * more like a sidebar * cleanup * fix qcom2 * style * that's the sidebar * more space Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: db9319405b5a650627a45de78a81afaed4ae2128
11 lines
464 B
C++
11 lines
464 B
C++
#pragma once
|
|
|
|
#include "ui.hpp"
|
|
|
|
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);
|