summaryrefslogtreecommitdiff
path: root/src/ui/touch.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-22 11:54:41 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-22 11:54:41 +0200
commitecb72de43c2119139d87bef3da05819d3724c91a (patch)
tree35b7337e43c9f82baa3bfd10fc0a352d2b455e82 /src/ui/touch.h
parenta042332c14d4710009638d83c87088fbc44c2ab4 (diff)
Touch: Improved tap-and-hold
Clear gestures related to a widget if the widget is destroyed.
Diffstat (limited to 'src/ui/touch.h')
-rw-r--r--src/ui/touch.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/touch.h b/src/ui/touch.h
index fb8ff555..39a059da 100644
--- a/src/ui/touch.h
+++ b/src/ui/touch.h
@@ -25,5 +25,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
25#include <the_Foundation/defs.h> 25#include <the_Foundation/defs.h>
26#include <SDL_events.h> 26#include <SDL_events.h>
27 27
28iBool processEvent_Touch (const SDL_Event *); 28iDeclareType(Widget)
29void update_Touch (void); 29
30iBool processEvent_Touch (const SDL_Event *);
31void update_Touch (void);
32void widgetDestroyed_Touch (iWidget *widget);