summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_canvas_gesture.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.eo
parentf93eb3fc043fcc945fb2e65a27a05447ac8ce603 (diff)
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.eo')
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture.eo20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture.eo b/src/lib/evas/gesture/efl_canvas_gesture.eo
index eafb1d9..2a097d5 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture.eo
+++ b/src/lib/evas/gesture/efl_canvas_gesture.eo
@@ -2,7 +2,13 @@ import efl_canvas_gesture_types;
2 2
3abstract @beta Efl.Canvas.Gesture extends Efl.Object 3abstract @beta Efl.Canvas.Gesture extends Efl.Object
4{ 4{
5 [[EFL Gesture abstract class]] 5 [[EFL Gesture abstract class
6
7 A gesture class defines a method that spcific gesture event and privides information
8 about the gesture's type, state, and associated pointer information.
9
10 For cetain gesture types, additional methods are defined to provide meaningful gesture
11 information to the user.]]
6 c_prefix: efl_gesture; 12 c_prefix: efl_gesture;
7 methods { 13 methods {
8 @property type { 14 @property type {
@@ -30,7 +36,17 @@ abstract @beta Efl.Canvas.Gesture extends Efl.Object
30 set { 36 set {
31 } 37 }
32 values { 38 values {
33 hotspot: Eina.Vector2;[[hotspot co-ordinate]] 39 hotspot: Eina.Position2D;[[hotspot co-ordinate]]
40 }
41 }
42 @property timestamp {
43 [[This property holds the timestamp of the current gesture.]]
44 get {
45 }
46 set {
47 }
48 values {
49 timestamp: uint;[[The timestamp]]
34 } 50 }
35 } 51 }
36 } 52 }