path: root/src/bin
diff options
authorMike Blumenkrantz <>2019-06-03 12:55:59 -0400
committerMike Blumenkrantz <>2019-06-03 12:55:59 -0400
commitf05c862ac0f54d7601a14b12bf1623b1f039fb86 (patch)
tree903f1b1883f7cc21dd157541e1fdd0af5f65a6b3 /src/bin
parent012ca4637777d6d2b68f4c6be0bd2236058112c4 (diff)
elm_test/ 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:
Diffstat (limited to 'src/bin')
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)
389 if (efl_ui_check_selected_get(ev->object)) 389 if (efl_ui_check_selected_get(ev->object))
390 efl_gfx_color_set(o_bg, 255, 128, 128, 255); 390 efl_gfx_color_set(o_bg, 255, 128, 128, 255);
391 else 391 else
392 efl_gfx_color_set(o_bg, 0, 0, 0, 0); 392 efl_gfx_color_set(o_bg, 255, 255, 255, 255);
393 393
394 efl_gfx_color_get(o_bg, &r, &g, &b, &a); 394 efl_gfx_color_get(o_bg, &r, &g, &b, &a);
395 printf("bg color: %d %d %d %d\n", r, g, b, a); 395 printf("bg color: %d %d %d %d\n", r, g, b, a);