mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-29 10:53:53 +08:00
af4b8bb307
old-commit-hash: 93cd4eae55
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);
|