Enlightenment CVS committal

Author  : mickeyl
Project : e17
Module  : proto/eflpp

Dir     : e17/proto/eflpp/src/evas


Modified Files:
        eflpp_evas.cpp eflpp_evas.h 


Log Message:
eflpp: wrap antialias, top, bottom

===================================================================
RCS file: /cvs/e/e17/proto/eflpp/src/evas/eflpp_evas.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- eflpp_evas.cpp      9 Oct 2007 14:59:50 -0000       1.6
+++ eflpp_evas.cpp      12 Oct 2007 20:03:40 -0000      1.7
@@ -171,11 +171,21 @@
     evas_image_cache_set( o, size );
 }
 
-EvasObject* EvasCanvas::focusObject() const
+EvasObject* EvasCanvas::focusedObject() const
 {
     return EvasObject::objectLink( evas_focus_get( o ) );
 }
 
+EvasObject* EvasCanvas::objectAtTop() const
+{
+    return EvasObject::objectLink( evas_object_top_get( o ) );
+}
+
+EvasObject* EvasCanvas::objectAtBottom() const
+{
+    return EvasObject::objectLink( evas_object_bottom_get( o ) );
+}
+
 
//===============================================================================================
 // EvasObject
 
//===============================================================================================
@@ -299,6 +309,26 @@
 void EvasObject::setColor( const Color& c )
 {
     setColor( c.r(), c.g(), c.b(), c.alpha() );
+}
+
+int EvasObject::colorInterpolation() const
+{
+    return evas_object_color_interpolation_get( o );
+}
+
+void EvasObject::setColorInterpolation( int colorspace )
+{
+    evas_object_color_interpolation_set( o, colorspace );
+}
+
+bool EvasObject::isAntiAliased() const
+{
+    return evas_object_anti_alias_get( o );
+}
+
+void EvasObject::setAntiAliased( bool antialias )
+{
+    evas_object_anti_alias_set( o, antialias );
 }
 
 void EvasObject::setLayer( int layer )
===================================================================
RCS file: /cvs/e/e17/proto/eflpp/src/evas/eflpp_evas.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- eflpp_evas.h        9 Oct 2007 14:59:50 -0000       1.6
+++ eflpp_evas.h        12 Oct 2007 20:03:40 -0000      1.7
@@ -23,17 +23,7 @@
 
 namespace efl {
 
-/* Forward declarations */
-class EvasCanvas;
-class EvasGradient;
-class EvasLine;
-class EvasObject;
-class EvasPolygon;
-class EvasRectangle;
-class EvasText;
-class EvasTextblockStyle;
-
-static const char* EVAS_LOAD_ERROR[] =
+static const char* const EVAS_LOAD_ERROR[] =
 {
     "No error on load",
     "A non-specific error occured",
@@ -45,6 +35,16 @@
     "File contains an incompatible format",
 };
 
+/* Forward declarations */
+class EvasCanvas;
+class EvasGradient;
+class EvasLine;
+class EvasObject;
+class EvasPolygon;
+class EvasRectangle;
+class EvasText;
+class EvasTextblockStyle;
+
 /**
  * An Evas Canvas Wrapper
  */
@@ -90,8 +90,10 @@
     void reloadImageCache();
     int imageCache();
 
-    /* Focus Handling */
-    EvasObject* focusObject() const;
+    /* Object queries */
+    EvasObject* focusedObject() const;
+    EvasObject* objectAtTop() const;
+    EvasObject* objectAtBottom() const;
 
   protected:
     Evas* o;
@@ -143,6 +145,15 @@
     virtual Color color() const;
     virtual void setColor( int r, int g, int b, int alpha );
     virtual void setColor( const Color& color );
+    virtual int colorInterpolation() const;
+    virtual void setColorInterpolation( int );
+
+    /* Antialias */
+    virtual void setAntiAliased( bool );
+    virtual bool isAntiAliased() const;
+
+    /* Render Operation */
+    //FIXME add render_op
 
     /* Z */
     virtual int layer() const;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to