Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib


Modified Files:
        Evas.h 


Log Message:
Export missing size_hints methods.

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -3 -r1.118 -r1.119
--- Evas.h      30 Apr 2008 12:21:31 -0000      1.118
+++ Evas.h      30 Apr 2008 22:13:50 -0000      1.119
@@ -119,6 +119,16 @@
    int h; /**< height of rectangle */
 };
 
+typedef enum _Evas_Aspect_Control
+{
+   EVAS_ASPECT_CONTROL_NONE = 0,
+   EVAS_ASPECT_CONTROL_NEITHER = 1,
+   EVAS_ASPECT_CONTROL_HORIZONTAL = 2,
+   EVAS_ASPECT_CONTROL_VERTICAL = 3,
+   EVAS_ASPECT_CONTROL_BOTH = 4
+} Evas_Aspect_Control;
+
+
 #define EVAS_SMART_CLASS_VERSION 1 /** the version you have to put into the 
version field in the smart class struct */
 struct _Evas_Smart_Class /** a smart object class */
 {
@@ -707,6 +717,8 @@
    EAPI void              evas_object_size_hint_max_set     (Evas_Object *obj, 
Evas_Coord w, Evas_Coord h);
    EAPI void              evas_object_size_hint_request_get (const Evas_Object 
*obj, Evas_Coord *w, Evas_Coord *h);
    EAPI void              evas_object_size_hint_request_set (Evas_Object *obj, 
Evas_Coord w, Evas_Coord h);
+   EAPI void              evas_object_size_hint_aspect_get  (const Evas_Object 
*obj, Evas_Aspect_Control *aspect, Evas_Coord *w, Evas_Coord *h);
+   EAPI void              evas_object_size_hint_aspect_set  (Evas_Object *obj, 
Evas_Aspect_Control aspect, Evas_Coord w, Evas_Coord h);
 
    EAPI void              evas_object_show                  (Evas_Object *obj);
    EAPI void              evas_object_hide                  (Evas_Object *obj);



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to