diff options
| author | aura <nw@moneybot.cc> | 2026-03-20 20:21:24 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-20 20:21:24 +0100 |
| commit | 8099c2a11fb4010542973bf85359935da19e2192 (patch) | |
| tree | 13f05312aa19e87c9357faeec7f84f864166ab57 /src/gui/base.h | |
| parent | a156bc15880e9e250c9c40f0dde431e077109dc1 (diff) | |
move multiple objects
Diffstat (limited to 'src/gui/base.h')
| -rw-r--r-- | src/gui/base.h | 6 |
1 files changed, 4 insertions, 2 deletions
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, |
