woohyun pushed a commit to branch master.

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

commit 7b105b33bb12321e970f01ae76e02b6efa22e61d
Author: ali <[email protected]>
Date:   Mon Dec 30 10:56:37 2019 +0900

    efl.text.style: strikethrough_type & Background_type enum rename
    
    Summary:
    rename **solid color** to **single**
    rename **disabled** to **none**
    
    Reviewers: woohyun, segfaultxavi
    
    Reviewed By: segfaultxavi
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Maniphest Tasks: T7942, T7941
    
    Differential Revision: https://phab.enlightenment.org/D10974
---
 src/lib/edje/edje_part_text.c            | 2 +-
 src/lib/efl/interfaces/efl_text_style.eo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/edje/edje_part_text.c b/src/lib/edje/edje_part_text.c
index 4c3e09161a..5b61a54aa3 100644
--- a/src/lib/edje/edje_part_text.c
+++ b/src/lib/edje/edje_part_text.c
@@ -63,7 +63,7 @@ 
_efl_canvas_layout_part_text_efl_text_style_text_background_type_get(const Eo *o
 
    PROXY_DATA_GET(obj, pd);
    if (pd->rp->part->type == EDJE_PART_TYPE_TEXT)
-      return EFL_TEXT_STYLE_BACKGROUND_TYPE_DISABLED;
+      return EFL_TEXT_STYLE_BACKGROUND_TYPE_NONE;
 
    return efl_text_background_type_get(pd->rp->object);
 }
diff --git a/src/lib/efl/interfaces/efl_text_style.eo 
b/src/lib/efl/interfaces/efl_text_style.eo
index 9fdd1e05f2..7ecd7afeb4 100644
--- a/src/lib/efl/interfaces/efl_text_style.eo
+++ b/src/lib/efl/interfaces/efl_text_style.eo
@@ -1,7 +1,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.]]
+   none = 0, [[Do not use background.]]
    solid_color,  [[Use solid color background.]]
 
 }
@@ -9,8 +9,8 @@ enum @beta Efl.Text_Style_Background_Type
 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.]]
-   solid_color,  [[Use solid color strike-through.]]
+   none = 0, [[Do not use strike-through.]]
+   single,  [[Strikethrough with a single line.]]
 
 }
 

-- 


Reply via email to