summaryrefslogtreecommitdiff
path: root/src/ui/touch.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-09 13:31:57 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-10 06:29:31 +0300
commitdf99b5720bbe4f277a77d0a94fb40d3eeec6eb07 (patch)
treea4155e9797548b938c5a769c326f069c41702257 /src/ui/touch.h
parent1f4e36bccacc0be71e11136c3bd00b3274504953 (diff)
Touch: Multitouch scrolling
Each finger is emitting scroll events at their own position, enabling scrolling multiple widgets at the same time.
Diffstat (limited to 'src/ui/touch.h')
-rw-r--r--src/ui/touch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/touch.h b/src/ui/touch.h
index 39a059da..19a927ab 100644
--- a/src/ui/touch.h
+++ b/src/ui/touch.h
@@ -30,3 +30,5 @@ iDeclareType(Widget)
30iBool processEvent_Touch (const SDL_Event *); 30iBool processEvent_Touch (const SDL_Event *);
31void update_Touch (void); 31void update_Touch (void);
32void widgetDestroyed_Touch (iWidget *widget); 32void widgetDestroyed_Touch (iWidget *widget);
33
34size_t numFingers_Touch (void);