summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-02-11 10:10:05 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-14 09:21:09 +0100
commitf5273decbb769f5e53d10bda925b86ea0c02f770 (patch)
treefbe5b0f4c35f0a2facde1989d7db80c6d45b55a7 /src/lib/evas
parent61b51313931f88ecf66b891c6f9e2aefef120922 (diff)
efl/gesture: remove bespoke recognizer properties for tap timeout
this should all be managed by efl.config Reviewed-by: woochan lee <wc0917.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D11320
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c15
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.eo12
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c15
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo12
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.c15
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.eo12
6 files changed, 0 insertions, 81 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c
index 99eee5c19a..bf1791a549 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c
@@ -195,19 +195,4 @@ _efl_canvas_gesture_recognizer_double_tap_efl_canvas_gesture_recognizer_recogniz
195 return result; 195 return result;
196} 196}
197 197
198EOLIAN static double
199_efl_canvas_gesture_recognizer_double_tap_timeout_get(const Eo *obj EINA_UNUSED,
200 Efl_Canvas_Gesture_Recognizer_Double_Tap_Data *pd)
201{
202 return pd->start_timeout;
203}
204
205EOLIAN static void
206_efl_canvas_gesture_recognizer_double_tap_timeout_set(Eo *obj EINA_UNUSED,
207 Efl_Canvas_Gesture_Recognizer_Double_Tap_Data *pd,
208 double time)
209{
210 pd->start_timeout = time;
211}
212
213#include "efl_canvas_gesture_recognizer_double_tap.eo.c" 198#include "efl_canvas_gesture_recognizer_double_tap.eo.c"
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.eo b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.eo
index 1865242885..e3118fdf99 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.eo
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.eo
@@ -5,18 +5,6 @@ class @beta Efl.Canvas.Gesture_Recognizer_Double_Tap extends Efl.Canvas.Gesture_
5 For internal use only. 5 For internal use only.
6 ]] 6 ]]
7 c_prefix: efl_gesture_recognizer_double_tap; 7 c_prefix: efl_gesture_recognizer_double_tap;
8 methods {
9 @property timeout {
10 [[Maximum time between taps to be recognized as a double tap.]]
11 set {
12 }
13 get {
14 }
15 values {
16 time: double; [[Time in seconds.]]
17 }
18 }
19 }
20 implements { 8 implements {
21 Efl.Object.destructor; 9 Efl.Object.destructor;
22 Efl.Canvas.Gesture_Recognizer.type { get; } 10 Efl.Canvas.Gesture_Recognizer.type { get; }
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c
index 03edf5a7c2..3e2d3f3f96 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c
@@ -140,19 +140,4 @@ _efl_canvas_gesture_recognizer_long_tap_efl_canvas_gesture_recognizer_recognize(
140 return result; 140 return result;
141} 141}
142 142
143EOLIAN static double
144_efl_canvas_gesture_recognizer_long_tap_timeout_get(const Eo *obj EINA_UNUSED,
145 Efl_Canvas_Gesture_Recognizer_Long_Tap_Data *pd)
146{
147 return pd->start_timeout;
148}
149
150EOLIAN static void
151_efl_canvas_gesture_recognizer_long_tap_timeout_set(Eo *obj EINA_UNUSED,
152 Efl_Canvas_Gesture_Recognizer_Long_Tap_Data *pd,
153 double time)
154{
155 pd->start_timeout = time;
156}
157
158#include "efl_canvas_gesture_recognizer_long_tap.eo.c" 143#include "efl_canvas_gesture_recognizer_long_tap.eo.c"
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo
index f5233cb06d..9eb9d6afab 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo
@@ -5,18 +5,6 @@ class @beta Efl.Canvas.Gesture_Recognizer_Long_Tap extends Efl.Canvas.Gesture_Re
5 For internal use only. 5 For internal use only.
6 ]] 6 ]]
7 c_prefix: efl_gesture_recognizer_long_tap; 7 c_prefix: efl_gesture_recognizer_long_tap;
8 methods {
9 @property timeout {
10 [[Minimum holding time to be recognized as a long tap.]]
11 set {
12 }
13 get {
14 }
15 values {
16 time: double; [[Time in seconds.]]
17 }
18 }
19 }
20 implements { 8 implements {
21 Efl.Object.destructor; 9 Efl.Object.destructor;
22 Efl.Canvas.Gesture_Recognizer.type { get; } 10 Efl.Canvas.Gesture_Recognizer.type { get; }
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.c
index 1d6df3ed53..83d674a8ac 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.c
@@ -194,19 +194,4 @@ _efl_canvas_gesture_recognizer_triple_tap_efl_canvas_gesture_recognizer_recogniz
194 return result; 194 return result;
195} 195}
196 196
197EOLIAN static double
198_efl_canvas_gesture_recognizer_triple_tap_timeout_get(const Eo *obj EINA_UNUSED,
199 Efl_Canvas_Gesture_Recognizer_Triple_Tap_Data *pd)
200{
201 return pd->start_timeout;
202}
203
204EOLIAN static void
205_efl_canvas_gesture_recognizer_triple_tap_timeout_set(Eo *obj EINA_UNUSED,
206 Efl_Canvas_Gesture_Recognizer_Triple_Tap_Data *pd,
207 double time)
208{
209 pd->start_timeout = time;
210}
211
212#include "efl_canvas_gesture_recognizer_triple_tap.eo.c" 197#include "efl_canvas_gesture_recognizer_triple_tap.eo.c"
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.eo b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.eo
index 11d7e9e1e0..baf2d71457 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.eo
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_triple_tap.eo
@@ -5,18 +5,6 @@ class @beta Efl.Canvas.Gesture_Recognizer_Triple_Tap extends Efl.Canvas.Gesture_
5 For internal use only. 5 For internal use only.
6 ]] 6 ]]
7 c_prefix: efl_gesture_recognizer_triple_tap; 7 c_prefix: efl_gesture_recognizer_triple_tap;
8 methods {
9 @property timeout {
10 [[Minimum time between each consecutive tap to be recognized as a triple tap.]]
11 set {
12 }
13 get {
14 }
15 values {
16 time: double; [[Time in seconds.]]
17 }
18 }
19 }
20 implements { 8 implements {
21 Efl.Object.destructor; 9 Efl.Object.destructor;
22 Efl.Canvas.Gesture_Recognizer.type { get; } 10 Efl.Canvas.Gesture_Recognizer.type { get; }