evas uses premul colors, now gadman does too

SVN revision: 76240
This commit is contained in:
Mike Blumenkrantz 2012-09-06 12:49:02 +00:00
parent 383e2a42d7
commit 1171e0888a
1 changed files with 2 additions and 2 deletions

View File

@ -530,8 +530,8 @@ gadman_update_bg(void)
case BG_COLOR:
obj = evas_object_rectangle_add(Man->gc_top->evas);
evas_object_color_set(obj, Man->conf->color_r, Man->conf->color_g,
Man->conf->color_b, 200);
evas_object_color_set(obj, Man->conf->color_r * (200/255), Man->conf->color_g * (200/255),
Man->conf->color_b * (200/255), 200);
edje_object_part_swallow(Man->full_bg, "e.swallow.bg", obj);
break;