Page MenuHomePhabricator

vg_common_json: Override value_provider list
Needs ReviewPublic

Authored by jsuya on Tue, Sep 10, 5:39 AM.

Details

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_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_shape_stroke_width_set(vp, 50.0);
efl_gfx_shape_stroke_color_set(vp, 0, 255, 0, 100);
efl_ui_animation_view_value_provider_override(anim_view, vp);
...

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13316
Build 9409: arc lint + arc unit
jsuya created this revision.Tue, Sep 10, 5:39 AM
jsuya requested review of this revision.Tue, Sep 10, 5:39 AM
jsuya updated this revision to Diff 25033.Mon, Sep 16, 12:52 AM
jsuya edited the summary of this revision. (Show Details)

update message

jsuya updated this revision to Diff 25034.Mon, Sep 16, 1:00 AM
jsuya retitled this revision from [WIP]vg_common_json: Override value_provider list to vg_common_json: Override value_provider list.
jsuya edited the summary of this revision. (Show Details)
jsuya edited the test plan for this revision. (Show Details)

update commit