Enlightenment CVS committal Author : rephorm Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_color.c Log Message: formatting, EAPI and add a copy function =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_color.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_color.c 14 Aug 2006 04:38:49 -0000 1.1 +++ e_color.c 16 Aug 2006 04:43:20 -0000 1.2 @@ -17,3 +17,16 @@ else evas_color_hsv_to_rgb(ec->h, ec->s, ec->v, &(ec->r), &(ec->g), &(ec->b)); } + +void +e_color_copy(E_Color *from, E_Color *to) +{ + if (!from || !to) return; + to->r = from->r; + to->g = from->g; + to->b = from->b; + to->h = from->h; + to->s = from->s; + to->v = from->v; + to->a = from->a; +} ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs