summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_animation_player.eo
blob: 0418294136df3219c31c01161ee511ec783ad08d (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
49
50
51
52
53
54
55
56
class Efl.Canvas.Animation_Player (Efl.Object, Efl.Player)
{
   [[Efl animation object class]]
   eo_prefix: efl_animation_player;
   methods {
      @property animation {
         set {}
         get {}
         values {
            animation: Efl.Canvas.Animation;
         }
      }
      @property auto_del {
         [[Auto delete property]]
         set {
         }
         get {
         }
         values {
            auto_del: bool; [[$true to delete animation object automatically when animation is finished or animation is cancelled, $false otherwise.]]
         }
      }
      @property target {
         [[Target object property]]
         set {
         }
         get {
         }
         values {
            target: Efl.Canvas.Object; [[Target object which is applied animation.]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Player.start;
      Efl.Player.stop;
      Efl.Player.play { get; set; }
      Efl.Player.playable { get; }
      Efl.Player.pos { get; set; }
      Efl.Player.progress { get;}
      Efl.Player.play_speed { get; set; }
      //Efl.Player.volume { get; set; }
      //Efl.Player.mute { get; set; }
      Efl.Player.length { get; }
      Efl.Player.seekable { get; }
   }
   events {
      /* FIXME: This event is similar to Efl.Canvas.Object.anim_started but with different type, might be confusing. */
      started: void; [[Animation is started.]]
      running: Efl.Canvas.Object.Animation_Event; [[Animation is running.]]
      /* FIXME: This event is similar to Efl.Canvas.Object.anim_ended but with different type, might be confusing. */
      ended: void; [[Animation is ended.]]
   }
}