HomePhabricator

edje: add json file support feature

Authored by id213sin on Feb 17 2020, 1:59 AM.

Description

edje: add json file support feature

Summary:
It also starts to support following new edc properties.
This is backported patch from Tizen 5.0

  1. frame

desc { "default"

vector {
   frame: 0.5; // 0.0 ~ 1.0
}

}

  1. actions

program { "vector_animation";

// VG_ANIM_PLAY, VG_ANIM_PLAY_BACK, VG_ANIM_LOOP,
// VG_ANIM_STOP, VG_ANIM_PAUSE, VG_ANIM_RESUME
action: VG_ANIM_PLAY;
target: "your_vector_part";

}

@feature

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>

  • Fix to remove Efl.Canvas.Animation_Player on edje

Test Plan:




make and test attached file

edje_cc -beta -id ./ json_edc.edc json.edj
gcc -o test test_edc.c -g pkg-config --cflags --libs evas elementary rlottie
./test

Reviewers: Hermet, Jaehyun_Cho, id213sin

Reviewed By: Hermet

Subscribers: segfaultxavi, raster, cedric, reviewers, committers

Tags: efl

Differential Revision: https://phab.enlightenment.org/D11228

Details

Committed
HermetFeb 17 2020, 1:59 AM
Reviewer
Hermet
Differential Revision
D11228: edje: add json file support feature
Parents
rEFLba8c349eedd3: efl_ui_selection_manager: fix a compiler warning for Wayland support
Branches
Unknown
Tags
Unknown