summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_animation_instance.eo
blob: 7c013177582e03420fcabfcc3693481a874540b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import efl_animation_types;

class Efl.Animation.Instance (Efl.Object)
{
   [[Efl animation instance abstract class]]
   data: Efl_Animation_Instance_Data;
   methods {
      start {
         [[Start animation.]]
      }
      cancel {
         [[Cancel animation.]]
      }
      pause {
         [[Pause animation.]]
      }
      resume {
         [[Resume animation.]]
      }
      is_deleted @protected {
         return: bool; [[$true if animation instance is deleted, $false otherwise.]]
      }
      target_state_save @protected {
         [[Save the state of the target.]]
      }
      target_state_reset @protected {
         [[Reset the state of the target to the previously saved state.]]
      }
      target_map_reset @protected {
         [[Reset the map effect of the target.]]
      }
      progress_set @protected {
         [[Display the moment of animation according to the given progress.]]
         params {
            @in progress: double; [[The value between 0.0 and 1.0 which indicates the progress of the animation]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
   }
   events {
      start; [[Animation is going to start.]]
      animate; [[Animation is animated.]]
      end; [[Animation ended]]
   }
}