Bastien Nocera
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
Emmanuele Bassi
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
Emmanuele Bassi
41bb03da2d
Use the new macros for adding private data
2013-07-03 18:04:32 +01:00
Emmanuele Bassi
1bdd0369e4
docs: Specify that RotateAction uses two touch points
...
Even if it's obvious, it's better to be explicit.
2012-12-18 00:16:28 +00:00
Chun-wei Fan
465ab95a64
clutter/clutter-rotate-action.c: Use G_PI instead of M_PI
...
...because M_PI is not universally available
2012-12-14 19:50:27 +08:00
Lionel Landwerlin
8cf5c5959f
rotate-action: fix wrong marshaller usage
...
https://bugzilla.gnome.org/show_bug.cgi?id=682754
2012-08-27 14:05:44 +01:00
Emmanuele Bassi
202d95d180
rotate-action: Use the correct accumulator
...
The boolean_handled accumulator will stop the signal emission if TRUE is
returned by a signal handler; the boolean_continue accumulator will stop
the signal emission if FALSE is returned. The first one is used for
event-related signals, while the latter is used for action-related
signals.
2012-08-12 19:19:02 +01:00
Lionel Landwerlin
e2264c0484
Add rotate action
...
Allow rotation of an actor using 2 points (touch or pointers) events.
Also refactor the accumulators from various actions.
https://bugzilla.gnome.org/show_bug.cgi?id=678587
2012-07-17 16:52:41 +01:00