maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Swipe Locking for Qt 4 and SDL 1.2 (Harmattan) (https://talk.maemo.org/showthread.php?t=90362)

thp 2013-06-05 12:17

Swipe Locking for Qt 4 and SDL 1.2 (Harmattan)
 
forum.meego.com is down, so this is now the support thread on TMO. I've added a SDL 1.2 version of my "SwipeControl" class for locking swipe gestures in Harmattan:

http://thp.io/2011/swipecontrol/

This is for developers only. It is useful in games and other full-screen apps where you want to disable "Swipe to Exit" while gameplay is running. If you use it, be sure to provide an on-screen "Pause" button for the user to pause the application (and allow Swipe to Exit at the pause screen).

The SDL 1.2 Swipe Lock code has been previously available in the NumptyPhysics source tree, but now it's available in a more modular form for easy inclusion into your own projects.

amr.fayz 2013-06-05 12:59

Re: Swipe Locking for Qt 4 and SDL 1.2 (Harmattan)
 
What about Maemo 5 / Fremantle


All times are GMT. The time now is 16:53.

vBulletin® Version 3.8.8