summaryrefslogtreecommitdiff
path: root/src/gui/base.h
diff options
context:
space:
mode:
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 {};