Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src


Modified Files:
        api.c 


Log Message:


patches... :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/api.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -3 -r1.96 -r1.97
--- api.c       20 Apr 2004 07:04:50 -0000      1.96
+++ api.c       27 Apr 2004 10:15:38 -0000      1.97
@@ -185,18 +185,20 @@
    context->font = NULL;
    context->direction = IMLIB_TEXT_TO_RIGHT;
    context->angle = 0.0;
-   context->color = (Imlib_Color)
-   {
-   255, 255, 255, 255};
+   context->color.alpha = 255;
+   context->color.red = 255;
+   context->color.green = 255;
+   context->color.blue = 255;
    context->color_range = NULL;
    context->image = NULL;
    context->progress_func = NULL;
    context->progress_granularity = 0;
    context->dither_mask = 0;
    context->filter = NULL;
-   context->cliprect = (Imlib_Rectangle)
-   {
-   0, 0, 0, 0};
+   context->cliprect.x = 0;
+   context->cliprect.y = 0;
+   context->cliprect.w = 0;
+   context->cliprect.h = 0;
    context->encoding = IMLIB_TTF_ENCODING_ISO_8859_1;
 
    context->references = 0;




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to