forked from enlightenment/efl
Remove @beta from Efl.Canvas.Animation classes
Ref T8436 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10894
This commit is contained in:
parent
142cdd6ece
commit
ec3f67992a
|
@ -1,6 +1,6 @@
|
|||
import efl_canvas_animation_types;
|
||||
|
||||
class @beta Efl.Canvas.Animation extends Efl.Object implements Efl.Playable
|
||||
class Efl.Canvas.Animation extends Efl.Object implements Efl.Playable
|
||||
{
|
||||
[[Base class to be used by classes implementing specific canvas animations.
|
||||
|
||||
|
@ -17,6 +17,8 @@ class @beta Efl.Canvas.Animation extends Efl.Object implements Efl.Playable
|
|||
To avoid this, animations must finish in the same state as they begin, or the object's state must be
|
||||
matched to the animation's ending state once the animation finishes (using the @[Efl.Canvas.Object_Animation.animation,changed]
|
||||
event).
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
c_prefix: efl_animation;
|
||||
methods {
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
class @beta Efl.Canvas.Animation_Alpha extends Efl.Canvas.Animation
|
||||
class Efl.Canvas.Animation_Alpha extends Efl.Canvas.Animation
|
||||
{
|
||||
[[Animated alpha blending effect.
|
||||
|
||||
The @Efl.Canvas.Object will have its alpha (transparency) value multiplied by
|
||||
this animation.
|
||||
This can be used to create fade-in and fade-out transitions, for example.
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
c_prefix: efl_animation_alpha;
|
||||
data: Efl_Canvas_Animation_Alpha_Data;
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
abstract @beta Efl.Canvas.Animation_Group extends Efl.Canvas.Animation
|
||||
abstract Efl.Canvas.Animation_Group extends Efl.Canvas.Animation
|
||||
{
|
||||
[[Base class for combined animations (groups of animations that are played together).
|
||||
|
||||
This class provides methods to add, remove and retrieve individual animations from the group.
|
||||
|
||||
See for example @Efl.Canvas.Animation_Group_Parallel and @Efl.Canvas.Animation_Group_Sequential.
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
c_prefix: efl_animation_group;
|
||||
data: Efl_Canvas_Animation_Group_Data;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Canvas.Animation_Group_Parallel extends Efl.Canvas.Animation_Group
|
||||
class Efl.Canvas.Animation_Group_Parallel extends Efl.Canvas.Animation_Group
|
||||
{
|
||||
[[Combined animation which plays its individual animations in parallel
|
||||
(all of them simultaneously).
|
||||
|
@ -7,6 +7,8 @@ class @beta Efl.Canvas.Animation_Group_Parallel extends Efl.Canvas.Animation_Gro
|
|||
while rotating it along the way.
|
||||
|
||||
Use @Efl.Canvas.Animation_Group.animation_add to append individual animations.
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
c_prefix: efl_animation_group_parallel;
|
||||
data: null;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Canvas.Animation_Group_Sequential extends Efl.Canvas.Animation_Group
|
||||
class Efl.Canvas.Animation_Group_Sequential extends Efl.Canvas.Animation_Group
|
||||
{
|
||||
[[Combined animation which plays its individual animations in a sequential order
|
||||
(one after the other).
|
||||
|
@ -8,6 +8,8 @@ class @beta Efl.Canvas.Animation_Group_Sequential extends Efl.Canvas.Animation_G
|
|||
|
||||
Use @Efl.Canvas.Animation_Group.animation_add to append individual animations.
|
||||
Animations are played in the order in which they are added.
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
data: null;
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Canvas.Animation_Rotate extends Efl.Canvas.Animation
|
||||
class Efl.Canvas.Animation_Rotate extends Efl.Canvas.Animation
|
||||
{
|
||||
[[Animated rotation effect.
|
||||
|
||||
|
@ -8,6 +8,8 @@ class @beta Efl.Canvas.Animation_Rotate extends Efl.Canvas.Animation
|
|||
|
||||
Note: Changing an object's position using @Efl.Gfx.Entity.position while this
|
||||
animation is running might lead to unexpected results.
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
c_prefix: efl_animation_rotate;
|
||||
data: Efl_Canvas_Animation_Rotate_Data;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Canvas.Animation_Scale extends Efl.Canvas.Animation
|
||||
class Efl.Canvas.Animation_Scale extends Efl.Canvas.Animation
|
||||
{
|
||||
[[Animated scaling effect.
|
||||
|
||||
|
@ -9,6 +9,8 @@ class @beta Efl.Canvas.Animation_Scale extends Efl.Canvas.Animation
|
|||
|
||||
Note: Changing an object's geometry using @Efl.Gfx.Entity.position or @Efl.Gfx.Entity.size
|
||||
while this animation is running might lead to unexpected results.
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
c_prefix: efl_animation_scale;
|
||||
data: Efl_Canvas_Animation_Scale_Data;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Canvas.Animation_Translate extends Efl.Canvas.Animation
|
||||
class Efl.Canvas.Animation_Translate extends Efl.Canvas.Animation
|
||||
{
|
||||
[[Animated translation effect.
|
||||
|
||||
|
@ -8,6 +8,8 @@ class @beta Efl.Canvas.Animation_Translate extends Efl.Canvas.Animation
|
|||
|
||||
Note: Changing an object's position using @Efl.Gfx.Entity.position while this
|
||||
animation is running might lead to unexpected results.
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
c_prefix: efl_animation_translate;
|
||||
data: Efl_Canvas_Animation_Translate_Data;
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
struct @beta Efl.Canvas.Animation_Player_Event_Running; [[Information of event running]]
|
||||
|
||||
enum @beta Efl.Canvas.Animation_Repeat_Mode
|
||||
enum Efl.Canvas.Animation_Repeat_Mode
|
||||
{
|
||||
[[Animation repeat mode.]]
|
||||
[[Animation repeat mode. @since 1.24]]
|
||||
|
||||
restart = 0, [[Restart animation when the animation ends: The animation will play again from the beginning to the
|
||||
end.]]
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
mixin @beta Efl.Canvas.Object_Animation requires Efl.Object
|
||||
mixin Efl.Canvas.Object_Animation requires Efl.Object
|
||||
{
|
||||
[[A mixin that provides animation capabilities to @Efl.Canvas.Object.
|
||||
|
||||
By including this mixin canvas objects can be animated just by calling @.animation_start.
|
||||
|
||||
@since 1.24
|
||||
]]
|
||||
methods {
|
||||
@property animation {
|
||||
|
|
Loading…
Reference in New Issue