Enlightenment CVS committal
Author : mickeyl
Project : e17
Module : proto/eflpp
Dir : e17/proto/eflpp/examples/emotion/simple
Modified Files:
main.cpp
Log Message:
eflpp: catch up w/ emotion. patch by Jan Stoefer, thanks!
===================================================================
RCS file: /cvs/e/e17/proto/eflpp/examples/emotion/simple/main.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- main.cpp 22 Aug 2007 22:35:49 -0000 1.2
+++ main.cpp 23 Jul 2008 19:13:14 -0000 1.3
@@ -21,15 +21,15 @@
cerr << "Usage: " << argv[0] << "<video file>" << endl;
return 1;
}
-
/* Create the main window, a window with an embedded canvas */
EcoreEvasWindowSoftwareX11* mw = new EcoreEvasWindowSoftwareX11( WIDTH,
HEIGHT );
EvasCanvas* evas = mw->canvas();
evas->appendFontPath( PACKAGE_DATA_DIR "/fonts" );
- /* Add some objects to the canvas */
- EvasEmotion* emotion = new EvasEmotion( 0, 0, 320, 240, argv[1], evas );
+ /* Create EvasEmotion object using xine engine */
+ EvasEmotion* emotion = new EvasEmotion( 0, 0, 320, 240, argv[1], "xine",
evas );
emotion->setSmoothScale( 1 );
+
emotion->setPlay( true );
emotion->show();
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs