summaryrefslogtreecommitdiff
path: root/src/tests/evas
diff options
context:
space:
mode:
authorali <ali198724@gmail.com>2019-12-20 09:49:41 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-12-20 09:58:27 +0100
commit5cf7fa7670a3160ad01171116b392a3a6757463f (patch)
tree6c54d4eac560d9b0a62ab3d9714548a1fe6de8fa /src/tests/evas
parente16b32c37643d3243b2350df053474d84717c2a2 (diff)
efl.text.style: rename methods/properties and add text_ prefix
Summary: efl.text.style: rename methods and properties this change will avoid conflict in the future with other interfaces or class methods. ``` Efl.Text_Style.text_color { set; get; } Efl.Text_Style.text_backing_type { set; get; } Efl.Text_Style.text_background_color { set; get;} //this was backing_color Efl.Text_Style.text_underline_type { set; } Efl.Text_Style.text_underline_color { set; get; } Efl.Text_Style.text_underline2_color { set; get; } Efl.Text_Style.text_underline_dashed_color { set; get; } Efl.Text_Style.text_underline_height { set; } Efl.Text_Style.text_underline_dashed_width { set; } Efl.Text_Style.text_underline_dashed_gap { set; } Efl.Text_Style.text_strikethrough_type { set; } Efl.Text_Style.text_strikethrough_color { set; get; } Efl.Text_Style.text_effect_type { set; } Efl.Text_Style.text_shadow_direction { set; } Efl.Text_Style.text_outline_color { set; get; } Efl.Text_Style.text_shadow_color { set; get; } Efl.Text_Style.text_glow_color { set; get; } Efl.Text_Style.text_glow2_color { set; get; } ``` T8533 Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike, cedric Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10897
Diffstat (limited to 'src/tests/evas')
-rw-r--r--src/tests/evas/evas_test_textblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index 94849a57e1..e2442c7163 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -4649,7 +4649,7 @@ EFL_START_TEST(efl_canvas_textblock_style)
4649 ck_assert_int_eq(efl_text_wrap_get(txt), EFL_TEXT_FORMAT_WRAP_NONE); 4649 ck_assert_int_eq(efl_text_wrap_get(txt), EFL_TEXT_FORMAT_WRAP_NONE);
4650 4650
4651 efl_canvas_textblock_style_apply(txt, "backing=on"); 4651 efl_canvas_textblock_style_apply(txt, "backing=on");
4652 ck_assert_int_eq(efl_text_backing_type_get(txt), EFL_TEXT_STYLE_BACKING_TYPE_ENABLED); 4652 ck_assert_int_eq(efl_text_background_type_get(txt), EFL_TEXT_STYLE_BACKGROUND_TYPE_ENABLED);
4653 4653
4654 efl_canvas_textblock_style_apply(txt, "style=far_soft_shadow"); 4654 efl_canvas_textblock_style_apply(txt, "style=far_soft_shadow");
4655 ck_assert_int_eq(efl_text_effect_type_get(txt), EFL_TEXT_STYLE_EFFECT_TYPE_FAR_SOFT_SHADOW); 4655 ck_assert_int_eq(efl_text_effect_type_get(txt), EFL_TEXT_STYLE_EFFECT_TYPE_FAR_SOFT_SHADOW);
@@ -4667,7 +4667,7 @@ EFL_START_TEST(efl_canvas_textblock_style)
4667 ck_assert_int_eq(efl_text_shadow_direction_get(txt), EFL_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM); 4667 ck_assert_int_eq(efl_text_shadow_direction_get(txt), EFL_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM);
4668 4668
4669 efl_canvas_textblock_style_apply(txt, "color=#EF596C"); 4669 efl_canvas_textblock_style_apply(txt, "color=#EF596C");
4670 efl_text_normal_color_get(txt, &r, &g, &b, &a); 4670 efl_text_color_get(txt, &r, &g, &b, &a);
4671 ck_assert_int_eq(r, 0xEF); 4671 ck_assert_int_eq(r, 0xEF);
4672 ck_assert_int_eq(g, 0x59); 4672 ck_assert_int_eq(g, 0x59);
4673 ck_assert_int_eq(b, 0x6C); 4673 ck_assert_int_eq(b, 0x6C);