vg_common_json: Override value_provider list
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 2 Oct 2019 05:30:06 +0000 (14:30 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Thu, 3 Oct 2019 21:09:50 +0000 (06:09 +0900)
commitefe24af272bb61dfaaf5d77db3c2fddf9fbac8f1
treebf386a51747ebebbbfc355ea601df60115424105
parenta9ac7ede9fae6dd1568c3fd9813e1914dc3f90d0
vg_common_json: Override value_provider list

Summary:
If value_provider is applied to Efl.Ui.Animation_View, it is passed as vector object.
The passed value_provider list passes to Vg_File_Data.
If there is a value_Provider list in Vg_File_Data,
it apply the property to Lottie_Animation using lottie_animation_property_override api.

Depends on D9874

Test Plan:
...

Eo *vp = efl_add(EFL_GFX_VG_VALUE_PROVIDER_CLASS, p);
efl_gfx_vg_value_provider_keypath_set(vp, "**");
efl_gfx_vg_value_provider_fill_color_set(vp, 100, 0 ,0 ,255);
efl_ui_animation_view_value_provider_override(anim_view, vp);

vp = efl_add(EFL_GFX_VG_VALUE_PROVIDER_CLASS, p);
efl_gfx_vg_value_provider_keypath_set(vp, "**");
efl_gfx_vg_value_provider_stroke_width_set(vp, 50.0);
efl_gfx_vg_value_provider_stroke_color_set(vp, 0, 255, 0, 100);
efl_ui_animation_view_value_provider_override(anim_view, vp);
...

Reviewers: Hermet, kimcinoo, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9897
src/lib/elementary/efl_ui_animation_view.c