blob: 3a895eccd865ac7c8cb5b804648d9bcde5ed7e3a (
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
|
import ecore_types;
class Ecore.Animator (Eo.Base)
{
[[Helper to simplify creating animations.
Creating an animation is as simple as saying for how long it
should be run and having a callback that does the animation.
]]
eo_prefix: ecore_animator;
methods {
timeline_constructor {
[[Timeline constructor.]]
legacy: null;
params {
@in runtime: double; [[Animation runtime in seconds.]]
@in func: Ecore_Timeline_Cb; [[Animation callback function.]]
@in data: const(void)*; [[Private data passed to callback functions.]]
}
}
constructor {
[[Constructor.]]
legacy: null;
params {
@in func: Ecore_Task_Cb; [[Animation callback function.]]
@in data: const(void)*; [[Private data passed to callback functions.]]
}
}
}
implements {
Eo.Base.destructor;
Eo.Base.finalize;
Eo.Base.event_freeze;
Eo.Base.event_thaw;
}
constructors {
.constructor;
.timeline_constructor;
}
}
|