Enlightenment CVS committal Author : turran Project : e17 Module : proto
Dir : e17/proto/etk/src/bin Modified Files: etk_test.c Log Message: Fb engine: ========= + addition of a fb engine, isnt working correctly, but it now exists. Widgets ======= + etk_menu_bar: still needs ecore_x to work, disabled for now. =================================================================== RCS file: /cvs/e/e17/proto/etk/src/bin/etk_test.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- etk_test.c 27 Jul 2006 00:57:10 -0000 1.24 +++ etk_test.c 31 Jul 2006 23:23:12 -0000 1.25 @@ -127,7 +127,19 @@ int main(int argc, char *argv[]) { - if (!etk_init("ecore_evas_software_x11")) + /* TODO + * + change etk_init to receive argc and argv + * + make a parser for argv + */ + char *engine; + if (argc > 1) + { + if(!strcmp(argv[1], "-fb")) + engine = strdup("ecore_fb"); + else + engine = strdup("ecore_evas_software_x11"); + } + if (!etk_init(engine)) { fprintf(stderr, "Could not init etk. Exiting...\n"); return 1; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs