forked from enlightenment/efl
docs: document ecore_animator EO class.
Keep it brief as we want the larger parts being editable from the wiki part of the new doc system.
This commit is contained in:
parent
edcfc6d036
commit
05a66cebc0
|
@ -2,23 +2,29 @@ import ecore_types;
|
||||||
|
|
||||||
class Ecore.Animator (Eo.Base)
|
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;
|
eo_prefix: ecore_animator;
|
||||||
methods {
|
methods {
|
||||||
timeline_constructor {
|
timeline_constructor {
|
||||||
[[Constructor.]]
|
[[Timeline constructor.]]
|
||||||
legacy: null;
|
legacy: null;
|
||||||
params {
|
params {
|
||||||
@in runtime: double;
|
@in runtime: double; [[Animation runtime in seconds.]]
|
||||||
@in func: Ecore_Timeline_Cb;
|
@in func: Ecore_Timeline_Cb; [[Animation callback function.]]
|
||||||
@in data: const(void)*;
|
@in data: const(void)*; [[Private data passed to callback functions.]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
constructor {
|
constructor {
|
||||||
[[Constructor.]]
|
[[Constructor.]]
|
||||||
legacy: null;
|
legacy: null;
|
||||||
params {
|
params {
|
||||||
@in func: Ecore_Task_Cb;
|
@in func: Ecore_Task_Cb; [[Animation callback function.]]
|
||||||
@in data: const(void)*;
|
@in data: const(void)*; [[Private data passed to callback functions.]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue