Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_out.c 


Log Message:


and actually allow "USER" images (ie don't encode them into the .edj - use an
external path to them)

===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_cc_out.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- edje_cc_out.c       12 Oct 2006 05:35:14 -0000      1.53
+++ edje_cc_out.c       17 Nov 2006 14:47:30 -0000      1.54
@@ -107,6 +107,7 @@
 {
    Evas_List *l;
 
+   return;
    if (epd->image.id == -1)
      {
        fprintf(stderr, "%s: Error. collection %i: image attributes missing "
@@ -362,7 +363,10 @@
             Edje_Image_Directory_Entry *img;
             
             img = l->data;     
-            if (img->source_type != EDJE_IMAGE_SOURCE_TYPE_EXTERNAL)
+            if (img->source_type == EDJE_IMAGE_SOURCE_TYPE_EXTERNAL)
+              {
+              }
+            else
               {
                  Evas_Object *im;
                  Evas_List *ll;
@@ -928,7 +932,10 @@
                  if ((de->entry) && (!strcmp(de->entry, il->name)))
                    {
                       handle_slave_lookup(image_slave_lookups, il->dest, 
de->id);
-                      *(il->dest) = de->id;
+                      if (de->source_type == EDJE_IMAGE_SOURCE_TYPE_EXTERNAL)
+                        *(il->dest) = -de->id - 1;
+                      else
+                        *(il->dest) = de->id;
                       break;
                    }
               }



-------------------------------------------------------------------------
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

Reply via email to