summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index 02655b4..bffbe69 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -74,9 +74,13 @@ typedef struct t_dropdown_state
typedef struct t_scroll_state
{
s32 height;
+ s32 width;
+ s32 x;
+ s32 y;
s32 scroll;
s32 scroll_start_offset_y;
bool in_scroll;
+ bool mouse_scrolling;
} scroll_state;
typedef struct t_ui_layout