diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-09 21:42:50 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-10 06:29:31 +0300 |
commit | f9ef1545a644b3f39d300c5a51cb0d8804e6fa09 (patch) | |
tree | 00e9fc5c7bcf1ab144c4f9c16107359ecf62ba24 /src/app.h | |
parent | d5249e99515c1a10db34bd9cd730b315c35fecc8 (diff) |
Touch: Notify widget when tap is about to begin
Notify when hover state should be updated again after scrolling.
Diffstat (limited to 'src/app.h')
-rw-r--r-- | src/app.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -57,6 +57,10 @@ enum iUserEventCode { | |||
57 | command_UserEventCode = 1, | 57 | command_UserEventCode = 1, |
58 | refresh_UserEventCode = 2, | 58 | refresh_UserEventCode = 2, |
59 | asleep_UserEventCode = 3, | 59 | asleep_UserEventCode = 3, |
60 | /* The start of a potential touch tap event is notified via a custom event because | ||
61 | sending SDL_MOUSEBUTTONDOWN would be premature: we don't know how long the tap will | ||
62 | take, it could turn into a tap-and-hold for example. */ | ||
63 | widgetTapBegins_UserEventCode = 4, | ||
60 | }; | 64 | }; |
61 | 65 | ||
62 | const iString *execPath_App (void); | 66 | const iString *execPath_App (void); |