Enlightenment CVS committal

Author  : technikolor
Project : misc
Module  : envision

Dir     : misc/envision/src


Modified Files:
        callbacks.c 


Log Message:
Ratios nwo apply during resize.

===================================================================
RCS file: /cvsroot/enlightenment/misc/envision/src/callbacks.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- callbacks.c 2 Sep 2004 07:18:18 -0000       1.5
+++ callbacks.c 5 Sep 2004 10:02:54 -0000       1.6
@@ -1,5 +1,5 @@
 /*
- * $Id: callbacks.c,v 1.5 2004/09/02 07:18:18 xenith Exp $
+ * $Id: callbacks.c,v 1.6 2004/09/05 10:02:54 technikolor Exp $
  * vim:expandtab:ts=3:sts=3:sw=3
  */
 
@@ -18,12 +18,15 @@
    Evas_Object * emotion = evas_object_name_find(evas, "emotion");
    int w, h, vw, vh;
    double ratio;
+   double x, y;
   
    ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
    evas_object_resize(edje, (Evas_Coord)w, (Evas_Coord)h);
 
-   /*emotion_object_size_get(emotion, &vw, &vh);
+   emotion_object_size_get(emotion, &vw, &vh);
    ratio = emotion_object_ratio_get(emotion);
+       printf("Ratio is: %f\n", ratio);
+   
    
    if (ratio > 0.0) {
       x = 0;
@@ -57,7 +60,7 @@
       }
 
       evas_object_resize(edje, (Evas_Coord)w+25, (Evas_Coord)h+106);
-   }*/
+   }
 }
 
 void




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to