mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Minor changes to microui.odin
This commit is contained in:
Vendored
+2
-2
@@ -163,6 +163,8 @@ Command_Icon :: struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Layout_Type :: enum { NONE = 0, RELATIVE = 1, ABSOLUTE = 2 }
|
||||||
|
|
||||||
Layout :: struct {
|
Layout :: struct {
|
||||||
body, next: Rect,
|
body, next: Rect,
|
||||||
position, size, max: Vec2,
|
position, size, max: Vec2,
|
||||||
@@ -695,8 +697,6 @@ draw_icon :: proc(ctx: ^Context, id: Icon, rect: Rect, color: Color) {
|
|||||||
** layout
|
** layout
|
||||||
**============================================================================*/
|
**============================================================================*/
|
||||||
|
|
||||||
Layout_Type :: enum { NONE = 0, RELATIVE = 1, ABSOLUTE = 2 }
|
|
||||||
|
|
||||||
layout_begin_column :: proc(ctx: ^Context) {
|
layout_begin_column :: proc(ctx: ^Context) {
|
||||||
push_layout(ctx, layout_next(ctx), Vec2{0, 0})
|
push_layout(ctx, layout_next(ctx), Vec2{0, 0})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user