forked from enlightenment/efl
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
This commit is contained in:
parent
012ca46377
commit
f05c862ac0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue