82 lines
2.1 KiB
Plaintext
82 lines
2.1 KiB
Plaintext
import efl_canvas_animation_types;
|
|
|
|
abstract Efl.Canvas.Animation (Efl.Object, Efl.Playable)
|
|
{
|
|
[[Efl animation class]]
|
|
eo_prefix: efl_animation;
|
|
methods {
|
|
@property final_state_keep {
|
|
[[Keep final state property]]
|
|
set {
|
|
}
|
|
get {
|
|
}
|
|
values {
|
|
keep: bool; [[$true to keep final state, $false otherwise.]]
|
|
}
|
|
}
|
|
@property duration {
|
|
[[Duration property]]
|
|
set {
|
|
}
|
|
get {
|
|
}
|
|
values {
|
|
sec: double; [[Duration value.]]
|
|
}
|
|
}
|
|
@property repeat_mode {
|
|
[[Repeat mode property]]
|
|
set {
|
|
}
|
|
get {
|
|
}
|
|
values {
|
|
mode: Efl.Canvas.Animation_Repeat_Mode; [[Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.]]
|
|
}
|
|
}
|
|
@property repeat_count {
|
|
[[Repeat count property]]
|
|
set {
|
|
}
|
|
get {
|
|
}
|
|
values {
|
|
count: int; [[Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.]]
|
|
}
|
|
}
|
|
@property start_delay {
|
|
[[Start delay property]]
|
|
set {
|
|
}
|
|
get {
|
|
}
|
|
values {
|
|
sec: double; [[Delay time, in seconds, from when the animation starts until the animation is animated]]
|
|
}
|
|
}
|
|
@property interpolator {
|
|
[[Interpolator property]]
|
|
set {
|
|
}
|
|
get {
|
|
}
|
|
values {
|
|
interpolator: Efl.Interpolator; [[Interpolator which indicates interpolation fucntion. Efl_Interpolator is required.]]
|
|
}
|
|
}
|
|
animation_apply {
|
|
params {
|
|
@in progress: double;
|
|
@in target: Efl.Canvas.Object;
|
|
}
|
|
return: double; [[Final applied progress.]]
|
|
}
|
|
}
|
|
implements {
|
|
Efl.Playable.length { get; }
|
|
Efl.Playable.seekable { get; }
|
|
Efl.Playable.playable { get; }
|
|
}
|
|
}
|