summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-21 21:50:35 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-02-21 22:04:30 +0100
commitaf7d1ef7eda642d751a30b47fb3b2547a2c181cf (patch)
treeb4f289db527bd0d02fd0d0c2b0a59147a102f3ff /src/lib/ecore_evas
parent442873a7b80761f195f9cf280637d09aead4d589 (diff)
interfaces: move animator,tick to efl.canvas.object and remove efl.animator
Summary: this interface only contains a single event which is implemented only by the canvas object ref T7561 Reviewers: cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7561 Differential Revision: https://phab.enlightenment.org/D7905
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index ff711084d7..8f8a0241b6 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -244,7 +244,7 @@ _ecore_evas_idle_enter(void *data EINA_UNUSED)
244 { 244 {
245 if (!ee->animator_registered) 245 if (!ee->animator_registered)
246 { 246 {
247 efl_event_callback_add(ee->evas, EFL_EVENT_ANIMATOR_TICK, _ecore_evas_animator, ee); 247 efl_event_callback_add(ee->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK, _ecore_evas_animator, ee);
248 ee->animator_registered = EINA_TRUE; 248 ee->animator_registered = EINA_TRUE;
249 } 249 }
250 } 250 }
@@ -307,7 +307,7 @@ _ecore_evas_idle_enter(void *data EINA_UNUSED)
307 307
308 if (!change) 308 if (!change)
309 { 309 {
310 efl_event_callback_del(ee->evas, EFL_EVENT_ANIMATOR_TICK, _ecore_evas_animator, ee); 310 efl_event_callback_del(ee->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK, _ecore_evas_animator, ee);
311 ee->animator_registered = EINA_FALSE; 311 ee->animator_registered = EINA_FALSE;
312 } 312 }
313#ifdef ECORE_EVAS_ASYNC_RENDER_DEBUG 313#ifdef ECORE_EVAS_ASYNC_RENDER_DEBUG
@@ -3137,7 +3137,7 @@ ecore_evas_animator_tick(Ecore_Evas *ee, Eina_Rectangle *viewport, double loop_t
3137 ecore_loop_time_set(loop_time); 3137 ecore_loop_time_set(loop_time);
3138 3138
3139 ee->animator_ran = EINA_TRUE; 3139 ee->animator_ran = EINA_TRUE;
3140 efl_event_callback_call(ee->evas, EFL_EVENT_ANIMATOR_TICK, &a); 3140 efl_event_callback_call(ee->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK, &a);
3141 3141
3142 if (ee->ee_anim.active) 3142 if (ee->ee_anim.active)
3143 _ecore_evas_animators_do(ee); 3143 _ecore_evas_animators_do(ee);
@@ -3330,7 +3330,7 @@ _check_animator_event_catcher_add(void *data, const Efl_Event *event)
3330 3330
3331 for (i = 0; array[i].desc != NULL; i++) 3331 for (i = 0; array[i].desc != NULL; i++)
3332 { 3332 {
3333 if (array[i].desc == EFL_EVENT_ANIMATOR_TICK) 3333 if (array[i].desc == EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK)
3334 { 3334 {
3335 _ticking_start(ee); 3335 _ticking_start(ee);
3336 3336
@@ -3350,7 +3350,7 @@ _check_animator_event_catcher_del(void *data, const Efl_Event *event)
3350 3350
3351 for (i = 0; array[i].desc != NULL; i++) 3351 for (i = 0; array[i].desc != NULL; i++)
3352 { 3352 {
3353 if (array[i].desc == EFL_EVENT_ANIMATOR_TICK) 3353 if (array[i].desc == EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK)
3354 { 3354 {
3355 _ticking_stop(ee); 3355 _ticking_stop(ee);
3356 return; 3356 return;