summaryrefslogtreecommitdiff
path: root/src/app.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-09 21:42:50 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-10 06:29:31 +0300
commitf9ef1545a644b3f39d300c5a51cb0d8804e6fa09 (patch)
tree00e9fc5c7bcf1ab144c4f9c16107359ecf62ba24 /src/app.h
parentd5249e99515c1a10db34bd9cd730b315c35fecc8 (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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.h b/src/app.h
index 4d09f5da..4eae7afd 100644
--- a/src/app.h
+++ b/src/app.h
@@ -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
62const iString *execPath_App (void); 66const iString *execPath_App (void);