diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-06-03 12:55:59 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-06-03 12:55:59 -0400 |
commit | f05c862ac0f54d7601a14b12bf1623b1f039fb86 (patch) | |
tree | 903f1b1883f7cc21dd157541e1fdd0af5f65a6b3 | |
parent | 012ca4637777d6d2b68f4c6be0bd2236058112c4 (diff) | |
download | efl-f05c862ac0f54d7601a14b12bf1623b1f039fb86.tar.gz |
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
-rw-r--r-- | src/bin/elementary/test_bg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |