summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-06-01 13:21:04 +0900
committerHermet Park <chuneon.park@samsung.com>2020-06-01 13:21:04 +0900
commitb981667d52b721fcde217abd8497ef2feba65690 (patch)
treec69e6d418286d862219b9c4488ea8f4955c1904c /src/static_libs
parent0123c8b6fc7c35466bcd5e49b6ef82a3707b8052 (diff)
Efl.Gfx.Vg.Value_Provider: Move internal function changed_flag to eo.
Summary: changed_flag was declared in the private header for internal use(static_lib). However, as the meson script has been changed, it can no longer be used. changed_flag can display the property to which the changed among the properties of value_provider. there is no problem in providing it as an eo function, so move the function to eo. Test Plan: N/A Reviewers: Hermet, herb, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11894
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/vg_common/vg_common_json.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/static_libs/vg_common/vg_common_json.c b/src/static_libs/vg_common/vg_common_json.c
index b9b2900ff8..dba226fabf 100644
--- a/src/static_libs/vg_common/vg_common_json.c
+++ b/src/static_libs/vg_common/vg_common_json.c
@@ -503,10 +503,10 @@ _value_provider_override(Vg_File_Data *vfd)
503 EINA_LIST_FOREACH(vfd->vp_list, l, vp) 503 EINA_LIST_FOREACH(vfd->vp_list, l, vp)
504 { 504 {
505 const char *keypath; 505 const char *keypath;
506 Efl_Gfx_Vg_Value_Provider_Change_Flag flag; 506 Efl_Gfx_Vg_Value_Provider_Flags flag;
507 flag = efl_gfx_vg_value_provider_changed_flag_get(vp); 507 flag = efl_gfx_vg_value_provider_updated_get(vp);
508 508
509 if (flag & EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_FILL_COLOR) 509 if (flag & EFL_GFX_VG_VALUE_PROVIDER_FLAGS_FILL_COLOR)
510 { 510 {
511 int r, g, b, a; 511 int r, g, b, a;
512 r = g = b = a = 0; 512 r = g = b = a = 0;
@@ -516,7 +516,7 @@ _value_provider_override(Vg_File_Data *vfd)
516 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_FILLCOLOR, (char*)keypath, r / 255.0, g / 255.0, b / 255.0); 516 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_FILLCOLOR, (char*)keypath, r / 255.0, g / 255.0, b / 255.0);
517 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_FILLOPACITY, (char*)keypath, (a / 255.0) * 100.0); 517 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_FILLOPACITY, (char*)keypath, (a / 255.0) * 100.0);
518 } 518 }
519 if (flag & EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_STROKE_COLOR) 519 if (flag & EFL_GFX_VG_VALUE_PROVIDER_FLAGS_STROKE_COLOR)
520 { 520 {
521 int r, g, b, a; 521 int r, g, b, a;
522 r = g = b = a = 0; 522 r = g = b = a = 0;
@@ -526,7 +526,7 @@ _value_provider_override(Vg_File_Data *vfd)
526 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_STROKECOLOR, (char*)keypath, r / 255.0, g / 255.0, b / 255.0); 526 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_STROKECOLOR, (char*)keypath, r / 255.0, g / 255.0, b / 255.0);
527 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_STROKEOPACITY, (char*)keypath, (a / 255.0) * 100.0); 527 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_STROKEOPACITY, (char*)keypath, (a / 255.0) * 100.0);
528 } 528 }
529 if (flag & EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_STROKE_WIDTH) 529 if (flag & EFL_GFX_VG_VALUE_PROVIDER_FLAGS_STROKE_WIDTH)
530 { 530 {
531 double w; 531 double w;
532 w = efl_gfx_vg_value_provider_stroke_width_get(vp); 532 w = efl_gfx_vg_value_provider_stroke_width_get(vp);
@@ -534,7 +534,7 @@ _value_provider_override(Vg_File_Data *vfd)
534 534
535 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_STROKEWIDTH, (char*)keypath, w); 535 lottie_animation_property_override(lot_anim, LOTTIE_ANIMATION_PROPERTY_STROKEWIDTH, (char*)keypath, w);
536 } 536 }
537 if (flag & EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_TRANSFORM_MATRIX) 537 if (flag & EFL_GFX_VG_VALUE_PROVIDER_FLAGS_TRANSFORM_MATRIX)
538 { 538 {
539 Eina_Matrix4 m, *orig_m; 539 Eina_Matrix4 m, *orig_m;
540 double tx, ty, sx, sy, radian_z, si, cs; 540 double tx, ty, sx, sy, radian_z, si, cs;