Skip to content

Commit

Permalink
Add extern microui type constructor declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
ashn-dot-dev committed Oct 30, 2023
1 parent 43cf900 commit 914db18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions microui.sunder
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 914db18

Please sign in to comment.