From 8099c2a11fb4010542973bf85359935da19e2192 Mon Sep 17 00:00:00 2001 From: aura Date: Fri, 20 Mar 2026 20:21:24 +0100 Subject: move multiple objects --- src/gui/base.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/base.h') diff --git a/src/gui/base.h b/src/gui/base.h index 0418afd..1a1c4cb 100644 --- a/src/gui/base.h +++ b/src/gui/base.h @@ -95,7 +95,8 @@ extern struct GUI_VECTORINPUT* gui_vectorinput( F32 max, F32 step = 1.f, const char* letters = "xyzw", - const char* printfmt = "%.2f" + const char* printfmt = "%.2f", + U8 showval = 1 ); extern struct GUI_COLORINPUT* gui_colorinput( @@ -234,6 +235,7 @@ struct GUI_FLOATINPUT : GUI_BASE { I32 lastmx; U8 heldoutbounds; U8 held; + U8 drawval; // for color sliders CLR bgcol; @@ -329,7 +331,7 @@ struct __gui_internal { GL_BATCH2D* batch; }; -void __gui_internal_vectorinput_init( +extern void __gui_internal_vectorinput_init( GUI_VECTORINPUT* input, I32 x, I32 y, I32 w, const char* title, -- cgit v1.2.3