diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-27 14:17:33 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-27 14:17:33 +0200 |
commit | 2a4f5d0f67fcd1412968ef967ed3009469a46b90 (patch) | |
tree | ae18c6005ed124effeaf7d84e1bff8339f2509e0 /src/ui/util.h | |
parent | 71c258194653ab332458fe0620d300f41213603c (diff) |
Processing of double clicks
The click handling utility no longer treats double clicks as a special case. An arbitrary number of clicks is kept in a separate counter.
Diffstat (limited to 'src/ui/util.h')
-rw-r--r-- | src/ui/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.h b/src/ui/util.h index 09e52a4d..da4d3a99 100644 --- a/src/ui/util.h +++ b/src/ui/util.h | |||
@@ -125,12 +125,12 @@ enum iClickResult { | |||
125 | drag_ClickResult, | 125 | drag_ClickResult, |
126 | finished_ClickResult, | 126 | finished_ClickResult, |
127 | aborted_ClickResult, | 127 | aborted_ClickResult, |
128 | double_ClickResult, | ||
129 | }; | 128 | }; |
130 | 129 | ||
131 | struct Impl_Click { | 130 | struct Impl_Click { |
132 | iBool isActive; | 131 | iBool isActive; |
133 | int button; | 132 | int button; |
133 | int count; | ||
134 | iWidget *bounds; | 134 | iWidget *bounds; |
135 | iInt2 startPos; | 135 | iInt2 startPos; |
136 | iInt2 pos; | 136 | iInt2 pos; |