From 914db1834599c23b9bf814947d8ee5239a14e6b7 Mon Sep 17 00:00:00 2001 From: ashn Date: Sun, 29 Oct 2023 23:13:54 -0400 Subject: [PATCH] Add extern microui type constructor declarations --- microui.sunder | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/microui.sunder b/microui.sunder index 368303c..48cdff7 100644 --- a/microui.sunder +++ b/microui.sunder @@ -196,6 +196,10 @@ struct mu_Context { var input_text: [32]char; } +extern func mu_vec2(x: sint, y: sint) mu_Vec2; +extern func mu_rect(x: sint, y: sint, w: sint, h: sint) mu_Rect; +extern func mu_color(r: sint, g: sint, b: sint, a: sint) mu_Color; + extern func mu_init(ctx: *mu_Context) void; extern func mu_begin(ctx: *mu_Context) void; extern func mu_end(ctx: *mu_Context) void;