Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/canvas


Modified Files:
        evas_object_image.c 


Log Message:


and actually call the engine calls!

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_image.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- evas_object_image.c 9 Dec 2006 08:52:08 -0000       1.45
+++ evas_object_image.c 9 Dec 2006 09:02:43 -0000       1.46
@@ -1241,7 +1241,9 @@
    MAGIC_CHECK(o, Evas_Object_Image, MAGIC_OBJ_IMAGE);
    return;
    MAGIC_CHECK_END();
-   /* FIXME: implement this at the engine level */
+   
obj->layer->evas->engine.func->image_colorspace_set(obj->layer->evas->engine.data.output,
+                                                      o->engine_data,
+                                                      cspace);
 }
 
 /**
@@ -1262,8 +1264,8 @@
    MAGIC_CHECK(o, Evas_Object_Image, MAGIC_OBJ_IMAGE);
    return EVAS_COLORSPACE_ARGB8888;
    MAGIC_CHECK_END();
-   return EVAS_COLORSPACE_ARGB8888;
-   /* FIXME: implement this at the engine level */
+   return 
obj->layer->evas->engine.func->image_colorspace_get(obj->layer->evas->engine.data.output,
+                                                             o->engine_data);
 }
 
 /**
@@ -1284,7 +1286,9 @@
    MAGIC_CHECK(o, Evas_Object_Image, MAGIC_OBJ_IMAGE);
    return;
    MAGIC_CHECK_END();
-   /* FIXME: implement this at the engine level */
+   
obj->layer->evas->engine.func->image_native_set(obj->layer->evas->engine.data.output,
+                                                  o->engine_data,
+                                                  surf);
 }
 
 /**
@@ -1305,8 +1309,8 @@
    MAGIC_CHECK(o, Evas_Object_Image, MAGIC_OBJ_IMAGE);
    return NULL;
    MAGIC_CHECK_END();
-   return NULL;
-   /* FIXME: implement this at the engine level */
+   return 
obj->layer->evas->engine.func->image_native_get(obj->layer->evas->engine.data.output,
+                                                         o->engine_data);
 }
 
 /**



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