summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_animation_object_private.h
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-08-30 18:17:18 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-10-12 21:03:49 +0900
commit87a14507b218e5ca666b33d5305f4a8c8b22f0c5 (patch)
tree57bea9d3e4df03e6ca4b049492e7a0d5391f7ea5 /src/lib/evas/canvas/efl_animation_object_private.h
parenta6e03da5f0a9942d18bfb98058f33d3547585c9b (diff)
efl_animation: Add pause and resume methods
Add target_map_reset method to fix flicking issue when animation is paused and resumed.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/efl_animation_object_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_animation_object_private.h b/src/lib/evas/canvas/efl_animation_object_private.h
index 3309e31efb..52bacadda9 100644
--- a/src/lib/evas/canvas/efl_animation_object_private.h
+++ b/src/lib/evas/canvas/efl_animation_object_private.h
@@ -22,6 +22,7 @@ typedef struct _Efl_Animation_Object_Data
22 struct { 22 struct {
23 double begin; 23 double begin;
24 double current; 24 double current;
25 double pause_begin;
25 } time; 26 } time;
26 27
27 Efl_Canvas_Object *target; 28 Efl_Canvas_Object *target;
@@ -31,10 +32,14 @@ typedef struct _Efl_Animation_Object_Data
31 32
32 double duration; 33 double duration;
33 double total_duration; 34 double total_duration;
35 double paused_time;
34 36
35 Eina_Bool auto_del : 1; 37 Eina_Bool auto_del : 1;
36 Eina_Bool is_deleted : 1; 38 Eina_Bool is_deleted : 1;
39 Eina_Bool is_started : 1;
37 Eina_Bool is_cancelled : 1; 40 Eina_Bool is_cancelled : 1;
41 Eina_Bool is_ended : 1;
42 Eina_Bool is_paused : 1;
38 Eina_Bool keep_final_state : 1; 43 Eina_Bool keep_final_state : 1;
39} Efl_Animation_Object_Data; 44} Efl_Animation_Object_Data;
40 45