woohyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e583b9159e9d9b0bbb5e1bf14be81e5acdc9a98b

commit e583b9159e9d9b0bbb5e1bf14be81e5acdc9a98b
Author: Ali Alzyod <[email protected]>
Date:   Fri Dec 27 16:10:24 2019 +0900

    efl_style: rename enums (background,strikthrough) from enabled to 
solid_color
    
    Reviewers: woohyun, segfaultxavi
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Maniphest Tasks: T7942
    
    Differential Revision: https://phab.enlightenment.org/D10967
---
 src/lib/efl/interfaces/efl_text_style.eo | 4 ++--
 src/tests/evas/evas_test_textblock.c     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_text_style.eo 
b/src/lib/efl/interfaces/efl_text_style.eo
index 17c209e01d..9fdd1e05f2 100644
--- a/src/lib/efl/interfaces/efl_text_style.eo
+++ b/src/lib/efl/interfaces/efl_text_style.eo
@@ -2,7 +2,7 @@ enum @beta Efl.Text_Style_Background_Type
 {
    [[Whether to add a background colored rectangle (background) to each line 
of text or not.]]
    disabled = 0, [[Do not use background.]]
-   enabled,      [[Use background.]]
+   solid_color,  [[Use solid color background.]]
 
 }
 
@@ -10,7 +10,7 @@ enum @beta Efl.Text_Style_Strikethrough_Type
 {
    [[Whether to add a strike-through decoration to the displayed text or not.]]
    disabled = 0, [[Do not use strike-through.]]
-   enabled,      [[Use strike-through.]]
+   solid_color,  [[Use solid color strike-through.]]
 
 }
 
diff --git a/src/tests/evas/evas_test_textblock.c 
b/src/tests/evas/evas_test_textblock.c
index 9e9c43f259..6ade455ddc 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -4908,7 +4908,7 @@ EFL_START_TEST(efl_canvas_textblock_style)
    ck_assert_int_eq(efl_text_wrap_get(txt), EFL_TEXT_FORMAT_WRAP_NONE);
 
    efl_canvas_textblock_style_apply(txt, "backing=on");
-   ck_assert_int_eq(efl_text_background_type_get(txt), 
EFL_TEXT_STYLE_BACKGROUND_TYPE_ENABLED);
+   ck_assert_int_eq(efl_text_background_type_get(txt), 
EFL_TEXT_STYLE_BACKGROUND_TYPE_SOLID_COLOR);
 
    efl_canvas_textblock_style_apply(txt, "style=far_soft_shadow");
    ck_assert_int_eq(efl_text_effect_type_get(txt), 
EFL_TEXT_STYLE_EFFECT_TYPE_FAR_SOFT_SHADOW);

-- 


Reply via email to