Enlightenment CVS committal Author : englebass Project : e17 Module : proto
Dir : e17/proto/eflpp/examples/ecore/callbacks Modified Files: .cvsignore main.cpp Log Message: Remove ecore-fb dependency, not used at the moment. Fix minor compiler warnings. =================================================================== RCS file: /cvs/e/e17/proto/eflpp/examples/ecore/callbacks/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- .cvsignore 2 Aug 2007 05:42:05 -0000 1.1 +++ .cvsignore 3 Aug 2007 06:38:00 -0000 1.2 @@ -1,2 +1,5 @@ Makefile Makefile.in +.libs +.deps +eflpp_ecore_callbacks =================================================================== RCS file: /cvs/e/e17/proto/eflpp/examples/ecore/callbacks/main.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- main.cpp 10 Jul 2007 21:38:09 -0000 1.2 +++ main.cpp 3 Aug 2007 06:38:00 -0000 1.3 @@ -42,7 +42,7 @@ logo->setColor( 255, 255, 255, 0 ); logo->show(); - for( int i = 0; i < NUMBALLS; ++i ) + for( unsigned int i = 0; i < NUMBALLS; ++i ) { balls[i] = new efl::EvasImage( 20*i, 20*i, PACKAGE_DATA_DIR "/images/boing-shadow.png", evas ); balls[i]->resize( BALLSIZE, BALLSIZE, true ); @@ -70,7 +70,7 @@ alpha += alphadirection; if ( alpha == 0 || alpha == 255 ) alphadirection *= -1; - for ( int i = 0; i < NUMBALLS; ++i ) + for ( unsigned int i = 0; i < NUMBALLS; ++i ) { balls[i]->move( BALLWIDTH / 2 + sin( xoffset + xaddfactor*i*(2*PI/NUMBALLS) ) * BALLWIDTH/2, BALLHEIGHT / 2 + cos( yoffset + yaddfactor*i*(2*PI/NUMBALLS) ) * BALLHEIGHT/2 ); ------------------------------------------------------------------------- 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