summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_animation_translate.c
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-09-04 19:17:48 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-10-12 21:03:49 +0900
commit595f47e202c1946d27bb0c39868a9bf8f4b98d78 (patch)
treeb52cebe5afbe6a9ffb21bd2294226beb1b5c2f3f /src/lib/evas/canvas/efl_animation_translate.c
parent108994d383f943f968d7fdead79220c496ebc811 (diff)
efl_animation: Add start_delay property
Add start_delay property to delay the given amount of time in seconds from when the animation starts until the animation is animated.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/efl_animation_translate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_animation_translate.c b/src/lib/evas/canvas/efl_animation_translate.c
index 5623fb0e33..2ffc158452 100644
--- a/src/lib/evas/canvas/efl_animation_translate.c
+++ b/src/lib/evas/canvas/efl_animation_translate.c
@@ -163,6 +163,9 @@ _efl_animation_translate_efl_animation_object_create(Eo *eo_obj,
163 double total_duration = efl_animation_total_duration_get(eo_obj); 163 double total_duration = efl_animation_total_duration_get(eo_obj);
164 efl_animation_object_total_duration_set(anim_obj, total_duration); 164 efl_animation_object_total_duration_set(anim_obj, total_duration);
165 165
166 double start_delay_time = efl_animation_start_delay_get(eo_obj);
167 efl_animation_object_start_delay_set(anim_obj, start_delay_time);
168
166 int repeat_count = efl_animation_repeat_count_get(eo_obj); 169 int repeat_count = efl_animation_repeat_count_get(eo_obj);
167 efl_animation_object_repeat_count_set(anim_obj, repeat_count); 170 efl_animation_object_repeat_count_set(anim_obj, repeat_count);
168 171