mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
2c8696ddac
* move calib_frame_to_full_frame to ui.cc * cleaup includes old-commit-hash: a1b2bdb844432b7cf59de412c57e9ee7f27fa650
10 lines
449 B
C++
10 lines
449 B
C++
#pragma once
|
|
#include "ui.hpp"
|
|
|
|
void ui_draw(UIState *s);
|
|
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);
|