diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-11 13:55:27 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-11 13:55:27 +0100 |
| commit | 807d87681c5eca52fee692321ae0279324204cc6 (patch) | |
| tree | 1f5c0a65d993710800d10989467eb6773c3f0ac9 /src/ui.h | |
| parent | 230d643d908d28a72c30d59c15ab97105b39bf63 (diff) | |
scroll with mouse
Diffstat (limited to 'src/ui.h')
| -rw-r--r-- | src/ui.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
