elm-test - oops - fix colorsel premul

This commit is contained in:
Carsten Haitzler 2013-11-16 12:49:26 +09:00
parent 2631fa54fb
commit 3910b15578
5 changed files with 1 additions and 1 deletions

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

View File

@ -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);
}