summaryrefslogtreecommitdiff
path: root/src/examples/evas/efl-canvas-animation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/evas/efl-canvas-animation.c')
-rw-r--r--src/examples/evas/efl-canvas-animation.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/evas/efl-canvas-animation.c b/src/examples/evas/efl-canvas-animation.c
index 2cc2355956..cc24550dea 100644
--- a/src/examples/evas/efl-canvas-animation.c
+++ b/src/examples/evas/efl-canvas-animation.c
@@ -118,7 +118,7 @@ main(void)
118 efl_animation_scale_set(efl_added, EINA_VECTOR2(1.0, 1.0), EINA_VECTOR2(3.0, 3.0), scale_rect, EINA_VECTOR2(0.5, 0.5)), 118 efl_animation_scale_set(efl_added, EINA_VECTOR2(1.0, 1.0), EINA_VECTOR2(3.0, 3.0), scale_rect, EINA_VECTOR2(0.5, 0.5)),
119 efl_animation_start_delay_set(efl_added, 5.0), 119 efl_animation_start_delay_set(efl_added, 5.0),
120 efl_animation_duration_set(efl_added, 2.0), 120 efl_animation_duration_set(efl_added, 2.0),
121 efl_animation_repeat_count_set(efl_added, EFL_ANIMATION_REPEAT_INFINITE) 121 efl_animation_play_count_set(efl_added, 0)
122 ), 122 ),
123 1.0, 0.0); 123 1.0, 0.0);
124 124
@@ -128,7 +128,7 @@ main(void)
128 efl_new(EFL_CANVAS_ANIMATION_SCALE_CLASS, 128 efl_new(EFL_CANVAS_ANIMATION_SCALE_CLASS,
129 efl_animation_scale_set(efl_added, EINA_VECTOR2(1.0, 1.0), EINA_VECTOR2(3.0, 3.0), scale_rect2, EINA_VECTOR2(0.5, 0.5)), 129 efl_animation_scale_set(efl_added, EINA_VECTOR2(1.0, 1.0), EINA_VECTOR2(3.0, 3.0), scale_rect2, EINA_VECTOR2(0.5, 0.5)),
130 efl_animation_duration_set(efl_added, 2.0), 130 efl_animation_duration_set(efl_added, 2.0),
131 efl_animation_repeat_count_set(efl_added, EFL_ANIMATION_REPEAT_INFINITE), 131 efl_animation_play_count_set(efl_added, 0),
132 efl_animation_repeat_mode_set(efl_added, EFL_CANVAS_ANIMATION_REPEAT_MODE_REVERSE) 132 efl_animation_repeat_mode_set(efl_added, EFL_CANVAS_ANIMATION_REPEAT_MODE_REVERSE)
133 ), 133 ),
134 1.0, 0.0); 134 1.0, 0.0);
@@ -139,7 +139,7 @@ main(void)
139 efl_new(EFL_CANVAS_ANIMATION_SCALE_CLASS, 139 efl_new(EFL_CANVAS_ANIMATION_SCALE_CLASS,
140 efl_animation_scale_set(efl_added, EINA_VECTOR2(1.0, 1.0), EINA_VECTOR2(3.0, 3.0), scale_rect3, EINA_VECTOR2(0.5, 0.5)), 140 efl_animation_scale_set(efl_added, EINA_VECTOR2(1.0, 1.0), EINA_VECTOR2(3.0, 3.0), scale_rect3, EINA_VECTOR2(0.5, 0.5)),
141 efl_animation_duration_set(efl_added, 2.0), 141 efl_animation_duration_set(efl_added, 2.0),
142 efl_animation_repeat_count_set(efl_added, 3), 142 efl_animation_play_count_set(efl_added, 4),
143 efl_animation_repeat_mode_set(efl_added, EFL_CANVAS_ANIMATION_REPEAT_MODE_REVERSE) 143 efl_animation_repeat_mode_set(efl_added, EFL_CANVAS_ANIMATION_REPEAT_MODE_REVERSE)
144 ), 144 ),
145 1.0, 0.0); 145 1.0, 0.0);
@@ -162,7 +162,7 @@ main(void)
162 efl_new(EFL_CANVAS_ANIMATION_SCALE_CLASS, 162 efl_new(EFL_CANVAS_ANIMATION_SCALE_CLASS,
163 efl_animation_scale_set(efl_added, EINA_VECTOR2(1.0, 1.0), EINA_VECTOR2(5.0, 5.0), scale_rect5, EINA_VECTOR2(0.5, 0.5)), 163 efl_animation_scale_set(efl_added, EINA_VECTOR2(1.0, 1.0), EINA_VECTOR2(5.0, 5.0), scale_rect5, EINA_VECTOR2(0.5, 0.5)),
164 efl_animation_duration_set(efl_added, 5.0), 164 efl_animation_duration_set(efl_added, 5.0),
165 efl_animation_repeat_count_set(efl_added, EFL_ANIMATION_REPEAT_INFINITE) 165 efl_animation_play_count_set(efl_added, 0)
166 ), 166 ),
167 1.0, 0.0); 167 1.0, 0.0);
168 d.current_speed = 1.0; 168 d.current_speed = 1.0;