diff options
| author | aura <nw@moneybot.cc> | 2026-03-17 12:04:30 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-17 12:04:30 +0100 |
| commit | a156bc15880e9e250c9c40f0dde431e077109dc1 (patch) | |
| tree | 64b6461b0d0e9cad6ff7fdcfba563e103fad9067 /src/gui/base.h | |
| parent | 991352b0d2767e6bd1a46f554db4ac9d208c13ad (diff) | |
multi select
Diffstat (limited to 'src/gui/base.h')
| -rw-r--r-- | src/gui/base.h | 5 |
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 {}; |
