summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2019-10-17 10:41:15 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-17 10:41:15 -0400
commit484a48294279d99fc1305fd898b0359c9b2fed52 (patch)
tree241cfa461387058e13cf8885682938e20ead1c77
parentda6f25bee077c4caae44115ef98ee074015cb372 (diff)
gesture_manager: Deleted function and definition that are no more use.
Summary: D7762 Searching for event what is using in gesture manager. But the value was wrong. And now D10437 made it better. Reviewers: Hermet, smohanty, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10438
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_manager.c19
-rw-r--r--src/lib/evas/include/evas_private.h1
2 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_manager.c b/src/lib/evas/gesture/efl_canvas_gesture_manager.c
index fb934c6..2d821b5 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_manager.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_manager.c
@@ -460,25 +460,6 @@ _cleanup_cached_gestures(Efl_Canvas_Gesture_Manager_Data *pd,
460 } 460 }
461} 461}
462 462
463Eina_Bool
464_efl_canvas_gesture_manager_watches(const Efl_Event_Description *ev)
465{
466 /* These are a subset of _elm_win_evas_feed_fake_callbacks
467 * in efl_ui_win.c */
468 if ((ev == EFL_EVENT_POINTER_MOVE) ||
469 (ev == EFL_EVENT_POINTER_DOWN) ||
470 (ev == EFL_EVENT_POINTER_UP) ||
471 (ev == EFL_EVENT_POINTER_IN) ||
472 (ev == EFL_EVENT_POINTER_OUT) ||
473 (ev == EFL_EVENT_POINTER_CANCEL) ||
474 (ev == EFL_EVENT_POINTER_WHEEL) ||
475 (ev == EFL_EVENT_FINGER_MOVE) ||
476 (ev == EFL_EVENT_FINGER_DOWN) ||
477 (ev == EFL_EVENT_FINGER_UP))
478 return EINA_TRUE;
479 return EINA_FALSE;
480}
481
482void 463void
483efl_gesture_manager_gesture_clean_up(Eo *obj, Eo *target, const Efl_Event_Description *type) 464efl_gesture_manager_gesture_clean_up(Eo *obj, Eo *target, const Efl_Event_Description *type)
484{ 465{
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index 39bb3ac..6906195 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1934,7 +1934,6 @@ void *_efl_canvas_gesture_manager_private_data_get(Eo *obj);
1934void _efl_canvas_gesture_manager_filter_event(Eo *gesture_manager, Eo *target, void *event); 1934void _efl_canvas_gesture_manager_filter_event(Eo *gesture_manager, Eo *target, void *event);
1935void _efl_canvas_gesture_manager_callback_del_hook(void *data, Eo *target, const Efl_Event_Description *type); 1935void _efl_canvas_gesture_manager_callback_del_hook(void *data, Eo *target, const Efl_Event_Description *type);
1936void _efl_canvas_gesture_manager_callback_add_hook(void *data, Eo *target, const Efl_Event_Description *type); 1936void _efl_canvas_gesture_manager_callback_add_hook(void *data, Eo *target, const Efl_Event_Description *type);
1937Eina_Bool _efl_canvas_gesture_manager_watches(const Efl_Event_Description *ev);
1938 1937
1939//evas focus functions 1938//evas focus functions
1940void evas_focus_init(void); 1939void evas_focus_init(void);