Enlightenment CVS committal Author : andreas Project : e17 Module : proto/eflpp
Dir : e17/proto/eflpp/src/emotion Modified Files: eflpp_emotion.cpp Log Message: - changed object creation from father to child =================================================================== RCS file: /cvs/e/e17/proto/eflpp/src/emotion/eflpp_emotion.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- eflpp_emotion.cpp 3 Jul 2007 22:42:36 -0000 1.1 +++ eflpp_emotion.cpp 14 Aug 2007 20:58:03 -0000 1.2 @@ -15,26 +15,37 @@ //=============================================================================================== EvasEmotion::EvasEmotion( EvasCanvas* canvas, const char* name ) - :EvasObject( canvas, "emotion", name ) + :EvasObject( canvas ) { + o = emotion_object_add( canvas->obj() ); + init( name ? name : "emotion" ); } EvasEmotion::EvasEmotion( const char* filename, EvasCanvas* canvas, const char* name ) - :EvasObject( canvas, "emotion", name ? name : filename ) + :EvasObject( canvas ) { + o = emotion_object_add( canvas->obj() ); + init( name ? name : filename ); + setFile( filename ); } EvasEmotion::EvasEmotion( int x, int y, const char* filename, EvasCanvas* canvas, const char* name ) - :EvasObject( canvas, "emotion", name ? name : filename ) + :EvasObject( canvas ) { + o = emotion_object_add( canvas->obj() ); + init( name ? name : filename ); + setFile( filename ); move( x, y ); } EvasEmotion::EvasEmotion( int x, int y, int width, int height, const char* filename, EvasCanvas* canvas, const char* name ) - :EvasObject( canvas, "emotion", name ? name : filename ) + :EvasObject( canvas ) { + o = emotion_object_add( canvas->obj() ); + init( name ? name : filename ); + setFile( filename ); move( x, y ); resize( width, height ); ------------------------------------------------------------------------- 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