summaryrefslogtreecommitdiff
path: root/src/modules/evas/vg_loaders/json/evas_vg_load_json.c
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-08-14 19:53:13 +0900
committerHermet Park <chuneon.park@samsung.com>2020-08-14 19:53:13 +0900
commitbae6765c20a4462277138617b13cc72064e7e934 (patch)
tree38e48c68553607276ead86473a336aead7efdffd /src/modules/evas/vg_loaders/json/evas_vg_load_json.c
parent1f0c99960e3cfaf6412b81424c82e3158b2d2f93 (diff)
Efl.Gfx.Frame_Contoller: Add sector_list property
Summary: sector_list pass information of sectors in animation data. Depends on D11929 Test Plan: N/A Reviewers: Hermet, herb, kimcinoo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11931
Diffstat (limited to '')
-rw-r--r--src/modules/evas/vg_loaders/json/evas_vg_load_json.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/vg_loaders/json/evas_vg_load_json.c b/src/modules/evas/vg_loaders/json/evas_vg_load_json.c
index ba60b444f1..db353b5dbf 100644
--- a/src/modules/evas/vg_loaders/json/evas_vg_load_json.c
+++ b/src/modules/evas/vg_loaders/json/evas_vg_load_json.c
@@ -24,7 +24,7 @@ evas_vg_load_file_close_json(Vg_File_Data *vfd)
24 { 24 {
25 if (vfd->anim_data->markers) 25 if (vfd->anim_data->markers)
26 { 26 {
27 Vg_File_Anim_Data_Marker *marker; 27 Efl_Gfx_Frame_Sector_Data *marker;
28 EINA_INARRAY_FOREACH(vfd->anim_data->markers, marker) 28 EINA_INARRAY_FOREACH(vfd->anim_data->markers, marker)
29 if (marker->name) eina_stringshare_del(marker->name); 29 if (marker->name) eina_stringshare_del(marker->name);
30 eina_inarray_free(vfd->anim_data->markers); 30 eina_inarray_free(vfd->anim_data->markers);
@@ -85,9 +85,9 @@ evas_vg_load_file_open_json(Eina_File *file,
85 const LOTMarkerList *markerlist = lottie_animation_get_markerlist(lot_anim); 85 const LOTMarkerList *markerlist = lottie_animation_get_markerlist(lot_anim);
86 if (markerlist && markerlist->size > 0) 86 if (markerlist && markerlist->size > 0)
87 { 87 {
88 Vg_File_Anim_Data_Marker *marker; 88 Efl_Gfx_Frame_Sector_Data *marker;
89 int i = 0; 89 int i = 0;
90 vfd->anim_data->markers = eina_inarray_new(sizeof(Vg_File_Anim_Data_Marker), 0); 90 vfd->anim_data->markers = eina_inarray_new(sizeof(Efl_Gfx_Frame_Sector_Data), 0);
91 eina_inarray_resize(vfd->anim_data->markers, markerlist->size); 91 eina_inarray_resize(vfd->anim_data->markers, markerlist->size);
92 EINA_INARRAY_FOREACH(vfd->anim_data->markers, marker) 92 EINA_INARRAY_FOREACH(vfd->anim_data->markers, marker)
93 { 93 {