summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-01-31 16:35:57 +0900
committerJunsuChoi <jsuya.choi@samsung.com>2020-01-31 16:35:57 +0900
commit33bf1036e900cde4cbaf4a144196107357d6a9ad (patch)
tree4c31b361d153350f447047f7253951b73559461e /src/lib
parent1f2a97cd24720e605118f2871276f1c593309ab1 (diff)
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/efl_ui_vg_animation.eo51
1 files 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 @@
1 1
2enum @beta Efl.Ui.Vg_Animation_State 2enum Efl.Ui.Vg_Animation_State
3{ 3{
4 [[State of vg_animation]] 4 [[State of vg_animation
5
6 @since 1.24
7 ]]
5 not_ready, [[Animation is not ready to play. (Probably, it didn't file set yet or failed to read file.]] 8 not_ready, [[Animation is not ready to play. (Probably, it didn't file set yet or failed to read file.]]
6 playing, [[Animation is playing.]] 9 playing, [[Animation is playing.]]
7 playing_backwards, [[Animation is playing backwards (rewinding).]] 10 playing_backwards, [[Animation is playing backwards (rewinding).]]
@@ -10,7 +13,7 @@ enum @beta Efl.Ui.Vg_Animation_State
10 Otherwise after finished animation or stopped forcibly by request.]] 13 Otherwise after finished animation or stopped forcibly by request.]]
11} 14}
12 15
13class @beta Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, Efl.File, Efl.Player, Efl.Playable 16class Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, Efl.File, Efl.Player, Efl.Playable
14{ 17{
15 [[Elementary Vector Graphcis Animation class. 18 [[Elementary Vector Graphcis Animation class.
16 Vg Animation is designed to show and play animation of 19 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
22 animation information. Available vector data file formats are SVG, JSON and EET. 25 animation information. Available vector data file formats are SVG, JSON and EET.
23 @Efl.Ui.Vg_Animation currently only supports the animation information contained in 26 @Efl.Ui.Vg_Animation currently only supports the animation information contained in
24 JSON (known as Lottie file as well) and EET files. 27 JSON (known as Lottie file as well) and EET files.
28
29 @since 1.24
25 ]] 30 ]]
26 event_c_prefix: efl_ui_vg_animation; 31 event_c_prefix: efl_ui_vg_animation;
27 methods { 32 methods {
@@ -38,25 +43,6 @@ class @beta Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, E
38 frame_num: int; [[Current frame number.]] 43 frame_num: int; [[Current frame number.]]
39 } 44 }
40 } 45 }
41 playing_sector {
42 [[Play animation of sector one time instantly when it's available.
43
44 If end sector is NULL, only start sector is referenced.
45 If both the start and end sectors are valid,
46 Play is played and stoped at starting point of each sector.
47
48 If start is null and end is valid, playback starts from 0 frame to the start frame of the end sector.
49 If both sectors start and end are invalid. Play from 0 frame to the last frame of vg animation object.
50
51 Note: This method use to @.min_frame, @.max_frame (@.min_progress, @.max_progress) internally.
52 So if you have changed the min or max frame(progress) it can be changed to the sector frame.
53 ]]
54 params {
55 @in start: string; [[ The name of start sector ]]
56 @in end: string; [[ The name of end sector ]]
57 }
58 return: bool; [[$true when it's successful. $false otherwise.]]
59 }
60 @property default_view_size { 46 @property default_view_size {
61 [[The default view size that specified from vector resource. 47 [[The default view size that specified from vector resource.
62 ]] 48 ]]
@@ -132,7 +118,26 @@ class @beta Efl.Ui.Vg_Animation extends Efl.Ui.Widget implements Efl.Gfx.View, E
132 ]] 118 ]]
133 } 119 }
134 } 120 }
135 value_provider_override{ 121 playing_sector @beta {
122 [[Play animation of sector one time instantly when it's available.
123
124 If end sector is NULL, only start sector is referenced.
125 If both the start and end sectors are valid,
126 Play is played and stoped at starting point of each sector.
127
128 If start is null and end is valid, playback starts from 0 frame to the start frame of the end sector.
129 If both sectors start and end are invalid. Play from 0 frame to the last frame of vg animation object.
130
131 Note: This method use to @.min_frame, @.max_frame (@.min_progress, @.max_progress) internally.
132 So if you have changed the min or max frame(progress) it can be changed to the sector frame.
133 ]]
134 params {
135 @in start: string; [[ The name of start sector ]]
136 @in end: string; [[ The name of end sector ]]
137 }
138 return: bool; [[$true when it's successful. $false otherwise.]]
139 }
140 value_provider_override @beta {
136 [[Override each value of the animation object. 141 [[Override each value of the animation object.
137 Values can be properties of Efl.Gfx.Vg.Value_provider such as color and matrix information. 142 Values can be properties of Efl.Gfx.Vg.Value_provider such as color and matrix information.
138 143