Enlightenment CVS committal Author : raster Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/lib Modified Files: edje_calc.c Log Message: premul fixes from jose =================================================================== RCS file: /cvs/e/e17/libs/edje/src/lib/edje_calc.c,v retrieving revision 1.90 retrieving revision 1.91 diff -u -3 -r1.90 -r1.91 --- edje_calc.c 30 Sep 2006 10:18:31 -0000 1.90 +++ edje_calc.c 2 Oct 2006 13:19:20 -0000 1.91 @@ -1301,7 +1301,7 @@ if (p3.visible) evas_object_show(ep->object); else evas_object_hide(ep->object); - evas_object_gradient_angle_set(ep->object, p3.fill.angle); + evas_object_gradient_fill_angle_set(ep->object, p3.fill.angle); evas_object_gradient_fill_spread_set(ep->object, p3.fill.spread); evas_object_gradient_fill_set(ep->object, p3.fill.x, p3.fill.y, p3.fill.w, p3.fill.h); @@ -1321,12 +1321,11 @@ for (l = se->color_list; l; l = l->next) { Edje_Spectrum_Color *sc = l->data; - evas_object_gradient_color_stop_add(ep->object, - (sc->r * sc->a) / 255, - (sc->g * sc->a) / 255, - (sc->b * sc->a) / 255, + evas_object_gradient_color_stop_add(ep->object, sc->r, + sc->g, sc->b, 255, + sc->d); + evas_object_gradient_alpha_stop_add(ep->object, sc->a, sc->d); - } } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs