summaryrefslogtreecommitdiff
path: root/src/gui/base.h
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-03-20 20:21:24 +0100
committerday <day@national.shitposting.agency>2026-03-20 22:52:49 +0100
commit63472b948968916d0fd06d91b9ea0fd057e39d0f (patch)
tree9d654f5c4ba258a3ea370d59506df11cae1f0c06 /src/gui/base.h
parent34d410da50e76f12c3d011293f4b544330e8ba3e (diff)
move multiple objects
Diffstat (limited to 'src/gui/base.h')
-rw-r--r--src/gui/base.h6
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,