Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_calc.c
Log Message:
did i forget to remove the printf's again? DAMNIT!
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_calc.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- edje_calc.c 24 May 2004 07:58:37 -0000 1.29
+++ edje_calc.c 24 May 2004 08:02:01 -0000 1.30
@@ -386,22 +386,12 @@
new_h = (params->w / desc->aspect.max);
new_w = (params->h * desc->aspect.max);
}
- printf("[a] %s [%3.3f -> %3.3f] (%ix%i) -> (%3.3fx%3.3f)\n",
- ep->part->name,
- desc->aspect.min, desc->aspect.max,
- params->w, params->h,
- new_w, new_h);
/* adjust for min aspect (width / height) */
if ((desc->aspect.min > 0.0) && (aspect < desc->aspect.min))
{
new_h = (params->w / desc->aspect.min);
new_w = (params->h * desc->aspect.min);
}
- printf(" [b] %s [%3.3f -> %3.3f] (%ix%i) -> (%3.3fx%3.3f)\n",
- ep->part->name,
- desc->aspect.min, desc->aspect.max,
- params->w, params->h,
- new_w, new_h);
} /* prefer vertical size as determiner */
else if (desc->aspect.prefer == EDJE_ASPECT_PREFER_VERTICAL) /* keep both
dimensions in check */
{
@@ -410,21 +400,11 @@
{
new_w = (params->h * desc->aspect.max);
}
- printf("[a] %s [%3.3f -> %3.3f] (%ix%i) -> (%3.3fx%3.3f)\n",
- ep->part->name,
- desc->aspect.min, desc->aspect.max,
- params->w, params->h,
- new_w, new_h);
/* adjust for min aspect (width / height) */
if ((desc->aspect.min > 0.0) && (aspect < desc->aspect.min))
{
new_w = (params->h * desc->aspect.min);
}
- printf(" [b] %s [%3.3f -> %3.3f] (%ix%i) -> (%3.3fx%3.3f)\n",
- ep->part->name,
- desc->aspect.min, desc->aspect.max,
- params->w, params->h,
- new_w, new_h);
} /* prefer horizontal size as determiner */
else if (desc->aspect.prefer == EDJE_ASPECT_PREFER_HORIZONTAL) /* keep both
dimensions in check */
{
@@ -433,21 +413,11 @@
{
new_h = (params->w / desc->aspect.max);
}
- printf("[a] %s [%3.3f -> %3.3f] (%ix%i) -> (%3.3fx%3.3f)\n",
- ep->part->name,
- desc->aspect.min, desc->aspect.max,
- params->w, params->h,
- new_w, new_h);
/* adjust for min aspect (width / height) */
if ((desc->aspect.min > 0.0) && (aspect < desc->aspect.min))
{
new_h = (params->w / desc->aspect.min);
}
- printf(" [b] %s [%3.3f -> %3.3f] (%ix%i) -> (%3.3fx%3.3f)\n",
- ep->part->name,
- desc->aspect.min, desc->aspect.max,
- params->w, params->h,
- new_w, new_h);
}
/* do real adjustment */
if ((params->h - new_h) > (params->w - new_w))
-------------------------------------------------------
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