forked from enlightenment/efl
elm-test - oops - fix colorsel premul
This commit is contained in:
parent
2631fa54fb
commit
3910b15578
Binary file not shown.
Before Width: | Height: | Size: 560 B |
Binary file not shown.
Before Width: | Height: | Size: 588 B |
Binary file not shown.
Before Width: | Height: | Size: 580 B |
Binary file not shown.
Before Width: | Height: | Size: 453 B |
|
@ -13,7 +13,7 @@ _colorselector_changed_cb(void *data, Evas_Object *obj,
|
|||
|
||||
elm_colorselector_color_get(obj, &r, &g, &b, &a);
|
||||
printf("Changed Color [r=%d g=%d b=%d a=%d]\n", r, g, b, a);
|
||||
evas_color_argb_premul(&a, &r, &g, &b);
|
||||
evas_color_argb_premul(a, &r, &g, &b);
|
||||
evas_object_color_set(re, r, g, b, a);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue