summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-07-03 12:11:45 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-07-03 12:11:45 +0900
commit1bf6573bc2855b36d4886a38b374275ab91b1bd9 (patch)
treed1e10b9cc0ffef0a209e6a8e50f3d8f2ec55858d
parent7a319448b53532fb476d0d302bb18b4f57386e06 (diff)
downloadefl-1bf6573bc2855b36d4886a38b374275ab91b1bd9.tar.gz
efl_animation: Remove unnecessary eventsdevs/jaehyun/anim_inst
-rw-r--r--src/lib/evas/canvas/efl_animation_instance.c11
-rw-r--r--src/lib/evas/canvas/efl_animation_instance.eo3
2 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/evas/canvas/efl_animation_instance.c b/src/lib/evas/canvas/efl_animation_instance.c
index 16a92e24ca..07c4180719 100644
--- a/src/lib/evas/canvas/efl_animation_instance.c
+++ b/src/lib/evas/canvas/efl_animation_instance.c
@@ -200,9 +200,6 @@ _animator_cb(void *data)
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_PRE_ANIMATE,
&event_info);
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_ANIMATE, &event_info);
- //post animate event is supported within class only (protected event)
- efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_POST_ANIMATE,
- &event_info);
/* Not end. Keep going. */
if (elapsed_time < duration) return ECORE_CALLBACK_RENEW;
@@ -215,8 +212,6 @@ end:
if (!pd->state_keep)
_target_state_restore(pd->target, pd->target_state);
- //pre end event is supported within class only (protected event)
- efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_PRE_END, NULL);
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_END, NULL);
//post end event is supported within class only (protected event)
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_POST_END, NULL);
@@ -245,8 +240,6 @@ _start(Eo *eo_obj, Evas_Object_Animation_Instance_Data *pd)
//pre start event is supported within class only (protected event)
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_PRE_START, NULL);
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_START, NULL);
- //post start event is supported within class only (protected event)
- efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_POST_START, NULL);
pd->animator = ecore_animator_add(_animator_cb, eo_obj);
@@ -293,8 +286,6 @@ _efl_animation_instance_cancel(Eo *eo_obj, Evas_Object_Animation_Instance_Data *
if (!pd->state_keep)
_target_state_restore(pd->target, pd->target_state);
- //pre end event is supported within class only (protected event)
- efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_PRE_END, NULL);
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_END, NULL);
//post end event is supported within class only (protected event)
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_POST_END, NULL);
@@ -364,8 +355,6 @@ _efl_animation_instance_efl_object_destructor(Eo *eo_obj, Evas_Object_Animation_
if (!pd->state_keep)
_target_state_restore(pd->target, pd->target_state);
- //pre end event is supported within class only (protected event)
- efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_PRE_END, NULL);
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_END, NULL);
//post end event is supported within class only (protected event)
efl_event_callback_call(eo_obj, EFL_ANIMATION_INSTANCE_EVENT_POST_END, NULL);
diff --git a/src/lib/evas/canvas/efl_animation_instance.eo b/src/lib/evas/canvas/efl_animation_instance.eo
index 99b88053bf..52c40abedd 100644
--- a/src/lib/evas/canvas/efl_animation_instance.eo
+++ b/src/lib/evas/canvas/efl_animation_instance.eo
@@ -71,9 +71,6 @@ abstract Efl.Animation.Instance (Efl.Object)
end; [[Animation ended]]
pre_start @protected; /* @internal */ [[Animate is going to start, but this event happens before start event. To remove duplicate event calls with outside of class, pre_start event is used instead of start event within class.]]
pre_animate @protected; /* @internal */ [[Animate is animated, but this event happens before animate event. To remove duplicate event calls with outside of class, pre_animate event is used instead of animate event within class.]]
- pre_end @protected; /* @internal */ [[Animate ended, but this event happens before end event. To remove duplicate event calls with outside of class, pre_end event is used instead of end event within class.]]
- post_start @protected; /* @internal */ [[Animate is going to start, but this event happens after start event. To remove duplicate event calls with outside of class, post_start event is used instead of start event within class.]]
- post_animate @protected; /* @internal */ [[Animate is animated, but this event happens after animate event. To remove duplicate event calls with outside of class, post_animate event is used instead of animate event within class.]]
post_end @protected; /* @internal */ [[Animate ended, but this event happens after end event. To remove duplicate event calls with outside of class, post_end event is used instead of end event within class.]]
}
}