You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
462 B
11 lines
462 B
5 years ago
|
#pragma once
|
||
4 years ago
|
|
||
4 years ago
|
#include "ui.h"
|
||
5 years ago
|
|
||
4 years ago
|
void ui_draw(UIState *s, int w, int h);
|
||
4 years ago
|
void ui_draw_image(const UIState *s, const Rect &r, const char *name, float alpha);
|
||
4 years ago
|
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);
|
||
5 years ago
|
void ui_nvg_init(UIState *s);
|