forked from enlightenment/efl
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
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;
|
|
}
|
|
}
|