Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : proto
Dir : e17/proto/esmart/src/thumb
Modified Files:
E_Thumb.c
Log Message:
fix display for Esmart_Thumb when the height/width aren't the same
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/thumb/E_Thumb.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- E_Thumb.c 27 Apr 2004 08:32:30 -0000 1.18
+++ E_Thumb.c 27 Apr 2004 23:04:11 -0000 1.19
@@ -387,9 +387,9 @@
e->w = w;
e->h = h;
if (e->tw > e->th)
- hh *= (Evas_Coord) e->th / (Evas_Coord) e->tw;
+ hh *= (double) e->th / (double) e->tw;
else
- ww *= (Evas_Coord) e->tw / (Evas_Coord) e->th;
+ ww *= (double) e->tw / (double) e->th;
evas_object_resize (e->image, ww, hh);
evas_object_image_fill_set (e->image, 0.0, 0.0, ww, hh);
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs