From 22827da4a24d4278cce204e02e7f5bdf3af80e60 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 25 Sep 2021 23:59:28 +0100 Subject: [PATCH] Minor changes to microui.odin --- vendor/microui/microui.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/microui/microui.odin b/vendor/microui/microui.odin index 947352ae8..dbec58337 100644 --- a/vendor/microui/microui.odin +++ b/vendor/microui/microui.odin @@ -163,6 +163,8 @@ Command_Icon :: struct { } +Layout_Type :: enum { NONE = 0, RELATIVE = 1, ABSOLUTE = 2 } + Layout :: struct { body, next: Rect, position, size, max: Vec2, @@ -695,8 +697,6 @@ draw_icon :: proc(ctx: ^Context, id: Icon, rect: Rect, color: Color) { ** layout **============================================================================*/ -Layout_Type :: enum { NONE = 0, RELATIVE = 1, ABSOLUTE = 2 } - layout_begin_column :: proc(ctx: ^Context) { push_layout(ctx, layout_next(ctx), Vec2{0, 0}) }