From 33bf1036e900cde4cbaf4a144196107357d6a9ad Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Fri, 31 Jan 2020 16:35:57 +0900 Subject: [PATCH] Efl.Ui.Vg_Animation: Remove @beta mark Summary: Remove beta mark for Efl.Ui.Vg_Animation. .playing_sector and .value_provider_override leave a beta mark. It will be removed after more review. Depends on D10953 Ref T8476 Test Plan: meson_option.txt -> remove json in evas-loaders-disabler option elementary_test -to "Vector Graphics Animation" Reviewers: Hermet, Jaehyun_Cho, bu5hm4n, cedric, zmike Reviewed By: Hermet, cedric, zmike Subscribers: zmike, segfaultxavi, YOhoho, cedric, #reviewers, #committers, kimcinoo Tags: #efl Maniphest Tasks: T8476 Differential Revision: https://phab.enlightenment.org/D10870 --- src/lib/elementary/efl_ui_vg_animation.eo | 51 +++++++++++++---------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/src/lib/elementary/efl_ui_vg_animation.eo b/src/lib/elementary/efl_ui_vg_animation.eo index d87055a83b..d1d3796c17 100644 --- a/src/lib/elementary/efl_ui_vg_animation.eo +++ b/src/lib/elementary/efl_ui_vg_animation.eo @@ -1,7 +1,10 @@ -enum @beta Efl.Ui.Vg_Animation_State +enum Efl.Ui.Vg_Animation_State { - [[State of vg_animation]] + [[State of vg_animation + + @since 1.24 + ]] not_ready, [[Animation is not ready to play. (Probably, it didn't file set yet or failed to read file.]] playing, [[Animation is playing.]] playing_backwards, [[Animation is playing backwards (rewinding).]] @@ -10,7 +13,7 @@ enum @beta Efl.Ui.Vg_Animation_State Otherwise after finished animation or stopped forcibly by request.]] } -class @beta Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, Efl.File, Efl.Player, Efl.Playable +class Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, Efl.File, Efl.Player, Efl.Playable { [[Elementary Vector Graphcis Animation class. Vg Animation is designed to show and play animation of @@ -22,6 +25,8 @@ class @beta Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, E animation information. Available vector data file formats are SVG, JSON and EET. @Efl.Ui.Vg_Animation currently only supports the animation information contained in JSON (known as Lottie file as well) and EET files. + + @since 1.24 ]] event_c_prefix: efl_ui_vg_animation; methods { @@ -38,25 +43,6 @@ class @beta Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, E frame_num: int; [[Current frame number.]] } } - playing_sector { - [[Play animation of sector one time instantly when it's available. - - If end sector is NULL, only start sector is referenced. - If both the start and end sectors are valid, - Play is played and stoped at starting point of each sector. - - If start is null and end is valid, playback starts from 0 frame to the start frame of the end sector. - If both sectors start and end are invalid. Play from 0 frame to the last frame of vg animation object. - - Note: This method use to @.min_frame, @.max_frame (@.min_progress, @.max_progress) internally. - So if you have changed the min or max frame(progress) it can be changed to the sector frame. - ]] - params { - @in start: string; [[ The name of start sector ]] - @in end: string; [[ The name of end sector ]] - } - return: bool; [[$true when it's successful. $false otherwise.]] - } @property default_view_size { [[The default view size that specified from vector resource. ]] @@ -132,7 +118,26 @@ class @beta Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, E ]] } } - value_provider_override{ + playing_sector @beta { + [[Play animation of sector one time instantly when it's available. + + If end sector is NULL, only start sector is referenced. + If both the start and end sectors are valid, + Play is played and stoped at starting point of each sector. + + If start is null and end is valid, playback starts from 0 frame to the start frame of the end sector. + If both sectors start and end are invalid. Play from 0 frame to the last frame of vg animation object. + + Note: This method use to @.min_frame, @.max_frame (@.min_progress, @.max_progress) internally. + So if you have changed the min or max frame(progress) it can be changed to the sector frame. + ]] + params { + @in start: string; [[ The name of start sector ]] + @in end: string; [[ The name of end sector ]] + } + return: bool; [[$true when it's successful. $false otherwise.]] + } + value_provider_override @beta { [[Override each value of the animation object. Values can be properties of Efl.Gfx.Vg.Value_provider such as color and matrix information.