summaryrefslogtreecommitdiff
path: root/src/ui/touch.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-04 07:40:56 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-04 07:40:56 +0200
commit723fcbf263bd2f5ff6c259a47091ebf685b50723 (patch)
tree5ed11977ee09fa542ed62a12c73117a27140d04e /src/ui/touch.h
parentad86fbe2cffa2bea07d004782e711932c5c91a79 (diff)
Mobile: Sidebar is now a vertically sliding panel
Switched the phone sidebar to use the iOS half/full-height sliding sheet design. This is better for finger reachability and for retaining access to the current page.
Diffstat (limited to 'src/ui/touch.h')
-rw-r--r--src/ui/touch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/touch.h b/src/ui/touch.h
index e048224a..c9c76d86 100644
--- a/src/ui/touch.h
+++ b/src/ui/touch.h
@@ -39,6 +39,7 @@ void update_Touch (void);
39float stopWidgetMomentum_Touch (const iWidget *widget); 39float stopWidgetMomentum_Touch (const iWidget *widget);
40enum iWidgetTouchMode widgetMode_Touch (const iWidget *widget); 40enum iWidgetTouchMode widgetMode_Touch (const iWidget *widget);
41void widgetDestroyed_Touch (iWidget *widget); 41void widgetDestroyed_Touch (iWidget *widget);
42void transferAffinity_Touch (iWidget *src, iWidget *dst);
42 43
43iInt2 latestPosition_Touch (void); /* valid during processing of current event */ 44iInt2 latestPosition_Touch (void); /* valid during processing of current event */
44iBool isHovering_Touch (void); /* stationary touch or a long-press drag ongoing */ 45iBool isHovering_Touch (void); /* stationary touch or a long-press drag ongoing */