Enlightenment CVS committal

Author  : andreas
Project : e17
Module  : proto/eflpp

Dir     : e17/proto/eflpp/src/edje


Modified Files:
        eflpp_edje.cpp 


Log Message:
- changed object creation from father to child

===================================================================
RCS file: /cvs/e/e17/proto/eflpp/src/edje/eflpp_edje.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- eflpp_edje.cpp      6 Aug 2007 09:00:48 -0000       1.2
+++ eflpp_edje.cpp      14 Aug 2007 20:58:03 -0000      1.3
@@ -13,8 +13,11 @@
 // EvasEdje
 
//===============================================================================================
 EvasEdje::EvasEdje( EvasCanvas* canvas, const char* name )
-    :EvasObject( canvas, "edje", name )
+    :EvasObject( canvas )
 {
+    o = edje_object_add( canvas->obj() );
+    init( name ? name : "edje" );
+  
 #ifdef CWDEBUG
     edje_object_message_handler_set( o, &_edje_message_handler_callback, 0 );
     edje_object_signal_callback_add( o, "*", "*", 
&_edje_signal_handler_callback, 0 );
@@ -22,8 +25,11 @@
 }
 
 EvasEdje::EvasEdje( const char* filename, const char* groupname, EvasCanvas* 
canvas, const char* name )
-         :EvasObject( canvas, "edje", name ? name : groupname )
+         :EvasObject( canvas  )
 {
+    o = edje_object_add( canvas->obj() );
+    init( name ? name : groupname );
+  
 #ifdef CWDEBUG
     edje_object_message_handler_set( o, &_edje_message_handler_callback, 0 );
     edje_object_signal_callback_add( o, "*", "*", 
&_edje_signal_handler_callback, 0 );
@@ -32,8 +38,11 @@
 }
 
 EvasEdje::EvasEdje( int x, int y, const char* filename, const char* groupname, 
EvasCanvas* canvas, const char* name )
-         :EvasObject( canvas, "edje", name ? name : groupname )
+         :EvasObject( canvas )
 {
+    o = edje_object_add( canvas->obj() );
+    init( name ? name : groupname );
+  
 #ifdef CWDEBUG
     edje_object_message_handler_set( o, &_edje_message_handler_callback, 0 );
     edje_object_signal_callback_add( o, "*", "*", 
&_edje_signal_handler_callback, 0 );



-------------------------------------------------------------------------
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