mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-23 09:13:47 +08:00
10 lines
499 B
C++
10 lines
499 B
C++
#pragma once
|
|
#include "ui.hpp"
|
|
|
|
bool car_space_to_full_frame(const UIState *s, float in_x, float in_y, float in_z, vertex_data *out, float margin=0.0);
|
|
void ui_draw(UIState *s);
|
|
void ui_draw_image(NVGcontext *vg, const Rect &r, 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);
|