Enlightenment CVS committal
Author : horms
Project : e17
Module : apps/entice
Dir : e17/apps/entice/src/bin
Modified Files:
image.c
Log Message:
don't turnable big images, it takes tooooooooooooooooo much memory
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/src/bin/image.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- image.c 16 Mar 2003 06:10:38 -0000 1.11
+++ image.c 16 Mar 2003 06:21:03 -0000 1.12
@@ -499,8 +499,14 @@
static void
e_turntable_current_image(int rotation)
{
+ int w;
+ int h;
if (!current_image || !current_image->data)
return;
+
+ evas_object_image_size_get(o_image, &w, &h);
+ if (turntable_image_no < 0 && w * h * 4 > 1048576)
+ return;
e_turntable_object_init(o_image);
e_turntable_object(rotation, o_image);
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs