zmike pushed a commit to branch master.

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

commit f05c862ac0f54d7601a14b12bf1623b1f039fb86
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Mon Jun 3 12:55:59 2019 -0400

    elm_test/ui.bg: use full white+opaque for unchecked 'bg color' state
    
    Summary:
    using 0,0,0 (black) with 0 alpha (transparent) here causes the clipper for 
the
    image to draw a fully transparent rectangle, which means that no pixels for
    the clipped image are visible.
    
    the expectation when using this test is that enabling the bg color will 
shade
    the image with a red tint, and disabling the bg color will return the image 
to
    its normal color. the current version of this test gives the impression that
    disabling the color setting on this widget breaks the widget, which is not
    accurate. currently.
    
    fix T7984
    
    Reviewers: devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: devilhorns, cedric, #reviewers, #committers
    
    Tags: #efl
    
    Maniphest Tasks: T7984
    
    Differential Revision: https://phab.enlightenment.org/D9066
---
 src/bin/elementary/test_bg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/elementary/test_bg.c b/src/bin/elementary/test_bg.c
index a469befe9d..25e54ff3aa 100644
--- a/src/bin/elementary/test_bg.c
+++ b/src/bin/elementary/test_bg.c
@@ -389,7 +389,7 @@ _cb_check_changed_scale_type(void *data, const Efl_Event 
*ev)
    if (efl_ui_check_selected_get(ev->object))
      efl_gfx_color_set(o_bg, 255, 128, 128, 255);
    else
-     efl_gfx_color_set(o_bg, 0, 0, 0, 0);
+     efl_gfx_color_set(o_bg, 255, 255, 255, 255);
 
    efl_gfx_color_get(o_bg, &r, &g, &b, &a);
    printf("bg color: %d %d %d %d\n", r, g, b, a);

-- 


Reply via email to