Thread
:
Swipe Locking for Qt 4 and SDL 1.2 (Harmattan)
View Single Post
thp
2013-06-05 , 12:17
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#
1
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.
__________________
thp.io
-
thpmaemo blog
-
N9 apps in Nokia Store
Quote & Reply
|
The Following 6 Users Say Thank You to thp For This Useful Post:
amr.fayz
,
Artyom
,
jcharpak
,
khan.orak
,
rcolistete
,
tonyhuynh
thp
View Public Profile
Send a private message to thp
Visit thp's homepage!
Find all posts by thp