fbe2c74e19
swipe-action: Fix typo
...
X coords are meant to compare with distance_x.
2015-05-26 19:05:20 +02:00
a4962c0336
swipe-action: Prepare for multifinger swipes
...
Its ::gesture-end implementation used to check the press/release
coordinates for the first touchpoint. On multifinger swipes, we
can receive this vfunc called due to other touch sequence going
first, so we'd get 0/0 as the release coordinates for this still
active sequence, resulting in bogus directions.
Instead, check the last event coordinates, that will be always
correct regardless of whether the touchpoint 0 finished yet or
not.
https://bugzilla.gnome.org/show_bug.cgi?id=749739
2015-05-26 19:02:51 +02:00
32b3d27bb9
GestureActions: Add per-action thresholds
...
Instead of relying on the dnd drag threshold, add per-action
horizontal and vertical thresholds. Use them in the swipe action
as well.
https://bugzilla.gnome.org/show_bug.cgi?id=724242
2014-02-13 18:53:24 +01:00
54e2657cb0
GestureActions: Set threshold-trigger-edge at right time
...
It was set during the _init(), and swiftly overridden with the
default value in construct. Do it in constructed() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=724242
2014-02-13 18:53:24 +01:00
8cb326dc54
Explicitly set the trigger edge in GestureAction subclasses
...
Each GestureAction subclass has its own trigger edge handling, so we
want to be resilient in case of changes in the super-class.
https://bugzilla.gnome.org/show_bug.cgi?id=710227
2013-12-05 15:20:39 +00:00
41bb03da2d
Use the new macros for adding private data
2013-07-03 18:04:32 +01:00
2eb525fe08
Add default handler for ClutterSwipeAction::swipe
...
So code that still uses the deprecated ::swept keeps working
https://bugzilla.gnome.org/show_bug.cgi?id=690735
2013-01-16 22:27:37 +00:00
6d2ab8fe51
swipe-action: Introduce new ::swipe signal
...
This deprecates the old ::swept signal, which didn't have a
handled boolean parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=689392
2012-12-18 01:27:32 +00:00
45521b0417
Revert "swipe-action: Introduce new ::swipe signal"
...
This reverts commit 184b8c6fa6
.
2012-12-02 20:19:14 -05:00
184b8c6fa6
swipe-action: Introduce new ::swipe signal
...
This deprecates the old ::swept signal, which didn't have a
handled boolean parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=689392
2012-12-02 14:49:32 -05:00
c5321da66c
Revert "swipe-action: Introduce new ::swipe signal"
...
This reverts commit 3e671f9c1b
.
Pushed by mistake, sorry.
2012-11-30 18:20:41 -05:00
3e671f9c1b
swipe-action: Introduce new ::swipe signal
...
This deprecates the old ::swept signal, which didn't have a
handled boolean parameter.
2012-11-30 18:13:54 -05:00
f9ce901496
swipe-action: Remove the required devices call
...
The SwipeAction requires one device/touch point, and that is the default
for GestureAction — if GestureAction supported multiple devices/touch
points.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2585
2011-06-10 15:15:15 +01:00
11d961b605
swipe-action: Clean up
...
Clean up the documentation, and use a type safe GFlags marshaller for
the ::swept signal's @direction argument - instead of a generic integer
marshaller.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2585
2011-06-10 15:15:15 +01:00
ba72235b66
Add ClutterSwipeAction and ClutterGestureAction
...
To allow actors to handle gestures in a more organized way.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2585
2011-06-10 14:02:17 +01:00