After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678426 - Zoom action
Zoom action
Status: RESOLVED DUPLICATE of bug 678427
Product: clutter
Classification: Platform
Component: ClutterAction
git master
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-06-19 23:46 UTC by Lionel Landwerlin
Modified: 2012-06-19 23:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch v1 (54.08 KB, patch)
2012-06-19 23:46 UTC, Lionel Landwerlin
none Details | Review

Description Lionel Landwerlin 2012-06-19 23:46:15 UTC
Created attachment 216765 [details] [review]
patch v1

While playing with the multi touch on Android, I thought it would be cool to have a "zoom" action, pretty much like what every smart phone have.
Here is a try that implements a drag as long as you have a single touch point and a zoom/scale once 2 touch points are on the actor.

I'm looking for reviews about the API, mostly the zoom_begin/zoom_update/zoom_end signals. I'm not sure emitting the distance between points is enough, maybe replacing that with the couple of points. But what structure?
Comment 1 Lionel Landwerlin 2012-06-19 23:53:48 UTC

*** This bug has been marked as a duplicate of bug 678427 ***