summaryrefslogtreecommitdiff
path: root/src/gui/base.h
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-03-17 12:04:30 +0100
committerday <day@national.shitposting.agency>2026-03-20 22:52:49 +0100
commit34d410da50e76f12c3d011293f4b544330e8ba3e (patch)
treec8335b5699dc40e5de6233891a3cbe154612a224 /src/gui/base.h
parent7cc07134a9759ed196b0fe5ea26c18d76e232952 (diff)
multi select
Diffstat (limited to 'src/gui/base.h')
-rw-r--r--src/gui/base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/base.h b/src/gui/base.h
index 293de74..0418afd 100644
--- a/src/gui/base.h
+++ b/src/gui/base.h
@@ -229,6 +229,8 @@ struct GUI_FLOATINPUT : GUI_BASE {
F32 max;
F32 step;
+ F32 lastchange;
+
I32 lastmx;
U8 heldoutbounds;
U8 held;
@@ -239,6 +241,7 @@ struct GUI_FLOATINPUT : GUI_BASE {
U8 wraparound;
GUI_CALLBACK cb;
+ void* cbextra;
};
struct GUI_VECTORINPUT : GUI_VIEW {
@@ -253,8 +256,10 @@ struct GUI_VECTORINPUT : GUI_VIEW {
GUI_VIEW* inputview;
LIST<GUI_FLOATINPUT*> inputs;
+ LIST<F32> lastchange;
GUI_CALLBACK cb;
+ void* cbextra;
};
struct GUI_COLORINPUT : GUI_VECTORINPUT {};