summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_animation_group.eo
blob: 7b9f19cf617c52ae4462491e6421963a6165d177 (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
abstract @beta Efl.Canvas.Animation_Group extends Efl.Canvas.Animation
{
   [[Base class for combined animations (groups of animations that are played together).

     This class provides methods to add, remove and retrieve individual animations from the group.
   
     See for example @Efl.Canvas.Animation_Group_Parallel and @Efl.Canvas.Animation_Group_Sequential.
   ]]
   c_prefix: efl_animation_group;
   data: Efl_Canvas_Animation_Group_Data;
   methods {
      animation_add {
         [[Adds the given animation to the animation group.]]
         params {
            @in animation: Efl.Canvas.Animation; [[Animation to add to the group.]]
         }
      }
      animation_del {
         [[Removes the given animation from the animation group.]]
         params {
            @in animation: Efl.Canvas.Animation; [[Animation to remove from the group.]]
         }
      }
      @property animations {
         [[All animations that are currently part of this group.]]
         get { }
         values {
            animations : iterator<Efl.Canvas.Animation> @move; [[The iterator carrying all animations of this group]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Canvas.Animation.duration { set; }
      Efl.Canvas.Animation.final_state_keep { set; }
      Efl.Canvas.Animation.interpolator { set; }
   }
}