Enlightenment CVS committal

Author  : andreas
Project : e17
Module  : proto/eflpp

Dir     : e17/proto/eflpp/src/ecore


Modified Files:
        eflpp_ecore_window.cpp eflpp_ecore_window.h 


Log Message:
- wrapped ecore_evas_alpha_set() to activate X composite support
- modified paint example to tests alpha composite support

===================================================================
RCS file: /cvs/e/e17/proto/eflpp/src/ecore/eflpp_ecore_window.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- eflpp_ecore_window.cpp      8 Oct 2007 17:57:41 -0000       1.4
+++ eflpp_ecore_window.cpp      19 Jun 2008 21:27:40 -0000      1.5
@@ -35,7 +35,7 @@
 EcoreEvasWindow::EcoreEvasWindow()
                 :Trackable( "EcoreEvasWindow" )
 {
-  
+  ecore_evas_init ();
 }
 
 
@@ -183,6 +183,16 @@
 bool EcoreEvasWindow::isShaped() const
 {
     return ecore_evas_shaped_get( _ee );
+}
+
+void EcoreEvasWindow::setAlpha( bool alpha )
+{
+  ecore_evas_alpha_set( _ee, alpha );
+}
+
+bool EcoreEvasWindow::hasAlpha () const
+{
+  return ecore_evas_alpha_get( _ee );
 }
 
 void EcoreEvasWindow::show()
===================================================================
RCS file: /cvs/e/e17/proto/eflpp/src/ecore/eflpp_ecore_window.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- eflpp_ecore_window.h        6 Oct 2007 15:54:22 -0000       1.3
+++ eflpp_ecore_window.h        19 Jun 2008 21:27:41 -0000      1.4
@@ -71,6 +71,9 @@
     int rotation() const;
     void setShaped( bool );
     bool isShaped() const;
+    
+    void setAlpha( bool alpha );
+    bool hasAlpha () const;
 
     void show();
     void hide();



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to