aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/gesture/efl_canvas_gesture_zoom.eo
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2019-05-14 16:37:20 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-05-14 16:37:20 +0900
commit54175998d538e0b2173fc023bb822f1e6536e58f (patch)
tree5c240f08eff5dddd9a2c6d7b4d1cdfaf948a86a1 /src/lib/evas/gesture/efl_canvas_gesture_zoom.eo
parentcsharp: Fix event marshalling for value types (diff)
downloadefl-54175998d538e0b2173fc023bb822f1e6536e58f.tar.gz
Gesture Manager: Add gestures and fix gesture managing, recognizer logic.
Summary: https://phab.enlightenment.org/T7544 Provides a way for a user to get a gesture manager, recognizer instance. Supports different recognizer properties for each target(Eo). Gesture, Touch Class Life-cycle re-implementation. for supporting multiple touches. Add below gestures. efl_canvas_gesture_tap efl_canvas_gesture_double_tap efl_canvas_gesture_triple_tap efl_canvas_gesture_long_tap efl_canvas_gesture_momentum efl_canvas_gesture_zoom efl_canvas_gesture_flick Test Plan: Simple test -> test_gesture_framework.c More test cases will upload. Reviewers: woohyun, smohanty, segfaultxavi, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: Jaehyun_Cho, segfaultxavi, cedric Tags: #efl, #do_not_merge Differential Revision: https://phab.enlightenment.org/D7579
Diffstat (limited to 'src/lib/evas/gesture/efl_canvas_gesture_zoom.eo')
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_zoom.eo19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_zoom.eo b/src/lib/evas/gesture/efl_canvas_gesture_zoom.eo
new file mode 100644
index 0000000000..1cb7f7d48b
--- /dev/null
+++ b/src/lib/evas/gesture/efl_canvas_gesture_zoom.eo
@@ -0,0 +1,19 @@
+class @beta Efl.Canvas.Gesture_Zoom extends Efl.Canvas.Gesture
+{
+ [[EFL Gesture Zoom class]]
+ c_prefix: efl_gesture_zoom;
+ methods {
+ radius_get {
+ [[Gets zoom center point reported to user]]
+ return: double; [[The radius value]]
+ }
+ zoom_get {
+ [[Gets zoom value. (1.0 means no zoom)]]
+ return: double; [[The zoom value]]
+ }
+ }
+ implements {
+ Efl.Object.constructor;
+ Efl.Object.destructor;
+ }
+}