mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
9a827fea20
* c++ cleanup: standardize file extensions to .cc and .h * cleanup files_common old-commit-hash: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
11 lines
462 B
C
11 lines
462 B
C
#pragma once
|
|
|
|
#include "ui.h"
|
|
|
|
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);
|