forked from enlightenment/efl
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
This commit is contained in:
parent
61b5131393
commit
f5273decbb
|
@ -195,19 +195,4 @@ _efl_canvas_gesture_recognizer_double_tap_efl_canvas_gesture_recognizer_recogniz
|
|||
return result;
|
||||
}
|
||||
|
||||
EOLIAN static double
|
||||
_efl_canvas_gesture_recognizer_double_tap_timeout_get(const Eo *obj EINA_UNUSED,
|
||||
Efl_Canvas_Gesture_Recognizer_Double_Tap_Data *pd)
|
||||
{
|
||||
return pd->start_timeout;
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_efl_canvas_gesture_recognizer_double_tap_timeout_set(Eo *obj EINA_UNUSED,
|
||||
Efl_Canvas_Gesture_Recognizer_Double_Tap_Data *pd,
|
||||
double time)
|
||||
{
|
||||
pd->start_timeout = time;
|
||||
}
|
||||
|
||||
#include "efl_canvas_gesture_recognizer_double_tap.eo.c"
|
||||
|
|
|
@ -5,18 +5,6 @@ class @beta Efl.Canvas.Gesture_Recognizer_Double_Tap extends Efl.Canvas.Gesture_
|
|||
For internal use only.
|
||||
]]
|
||||
c_prefix: efl_gesture_recognizer_double_tap;
|
||||
methods {
|
||||
@property timeout {
|
||||
[[Maximum time between taps to be recognized as a double tap.]]
|
||||
set {
|
||||
}
|
||||
get {
|
||||
}
|
||||
values {
|
||||
time: double; [[Time in seconds.]]
|
||||
}
|
||||
}
|
||||
}
|
||||
implements {
|
||||
Efl.Object.destructor;
|
||||
Efl.Canvas.Gesture_Recognizer.type { get; }
|
||||
|
|
|
@ -140,19 +140,4 @@ _efl_canvas_gesture_recognizer_long_tap_efl_canvas_gesture_recognizer_recognize(
|
|||
return result;
|
||||
}
|
||||
|
||||
EOLIAN static double
|
||||
_efl_canvas_gesture_recognizer_long_tap_timeout_get(const Eo *obj EINA_UNUSED,
|
||||
Efl_Canvas_Gesture_Recognizer_Long_Tap_Data *pd)
|
||||
{
|
||||
return pd->start_timeout;
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_efl_canvas_gesture_recognizer_long_tap_timeout_set(Eo *obj EINA_UNUSED,
|
||||
Efl_Canvas_Gesture_Recognizer_Long_Tap_Data *pd,
|
||||
double time)
|
||||
{
|
||||
pd->start_timeout = time;
|
||||
}
|
||||
|
||||
#include "efl_canvas_gesture_recognizer_long_tap.eo.c"
|
||||
|
|
|
@ -5,18 +5,6 @@ class @beta Efl.Canvas.Gesture_Recognizer_Long_Tap extends Efl.Canvas.Gesture_Re
|
|||
For internal use only.
|
||||
]]
|
||||
c_prefix: efl_gesture_recognizer_long_tap;
|
||||
methods {
|
||||
@property timeout {
|
||||
[[Minimum holding time to be recognized as a long tap.]]
|
||||
set {
|
||||
}
|
||||
get {
|
||||
}
|
||||
values {
|
||||
time: double; [[Time in seconds.]]
|
||||
}
|
||||
}
|
||||
}
|
||||
implements {
|
||||
Efl.Object.destructor;
|
||||
Efl.Canvas.Gesture_Recognizer.type { get; }
|
||||
|
|
|
@ -194,19 +194,4 @@ _efl_canvas_gesture_recognizer_triple_tap_efl_canvas_gesture_recognizer_recogniz
|
|||
return result;
|
||||
}
|
||||
|
||||
EOLIAN static double
|
||||
_efl_canvas_gesture_recognizer_triple_tap_timeout_get(const Eo *obj EINA_UNUSED,
|
||||
Efl_Canvas_Gesture_Recognizer_Triple_Tap_Data *pd)
|
||||
{
|
||||
return pd->start_timeout;
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_efl_canvas_gesture_recognizer_triple_tap_timeout_set(Eo *obj EINA_UNUSED,
|
||||
Efl_Canvas_Gesture_Recognizer_Triple_Tap_Data *pd,
|
||||
double time)
|
||||
{
|
||||
pd->start_timeout = time;
|
||||
}
|
||||
|
||||
#include "efl_canvas_gesture_recognizer_triple_tap.eo.c"
|
||||
|
|
|
@ -5,18 +5,6 @@ class @beta Efl.Canvas.Gesture_Recognizer_Triple_Tap extends Efl.Canvas.Gesture_
|
|||
For internal use only.
|
||||
]]
|
||||
c_prefix: efl_gesture_recognizer_triple_tap;
|
||||
methods {
|
||||
@property timeout {
|
||||
[[Minimum time between each consecutive tap to be recognized as a triple tap.]]
|
||||
set {
|
||||
}
|
||||
get {
|
||||
}
|
||||
values {
|
||||
time: double; [[Time in seconds.]]
|
||||
}
|
||||
}
|
||||
}
|
||||
implements {
|
||||
Efl.Object.destructor;
|
||||
Efl.Canvas.Gesture_Recognizer.type { get; }
|
||||
|
|
Loading…
Reference in New Issue