diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-22 11:54:41 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-22 11:54:41 +0200 |
commit | ecb72de43c2119139d87bef3da05819d3724c91a (patch) | |
tree | 35b7337e43c9f82baa3bfd10fc0a352d2b455e82 /src/ui/touch.h | |
parent | a042332c14d4710009638d83c87088fbc44c2ab4 (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.h | 7 |
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 | ||
28 | iBool processEvent_Touch (const SDL_Event *); | 28 | iDeclareType(Widget) |
29 | void update_Touch (void); | 29 | |
30 | iBool processEvent_Touch (const SDL_Event *); | ||
31 | void update_Touch (void); | ||
32 | void widgetDestroyed_Touch (iWidget *widget); | ||