Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_main.c 


Log Message:


use Ecore_Evas info on engine availability :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_main.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- edje_main.c 28 Aug 2004 02:22:29 -0000      1.46
+++ edje_main.c 23 Sep 2004 21:45:50 -0000      1.47
@@ -100,21 +100,33 @@
                {
                  mode = 1;
                }
+             else if (!strcmp(argv[i], "-fb"))
+               {
+                 mode = 2;
+               }
              else if (!strcmp(argv[i], "-fill"))
                {
                  mdfill = 1;
                }
           }
      }
+#if HAVE_ECORE_EVAS_X
    if (mode == 0)
      ecore_evas = ecore_evas_software_x11_new(NULL, 0,  0, 0, startw, starth);
+#endif   
 #if HAVE_ECORE_EVAS_GL
-   else if (mode == 1)
+   if (mode == 1)
      ecore_evas = ecore_evas_gl_x11_new(NULL, 0, 0, 0, startw, starth);
 #endif
-
+#if HAVE_ECORE_EVAS_FB
+   if (mode == 2)
+     ecore_evas = ecore_evas_fb_new(NULL, 270,  startw, starth);
+#endif
+   
 #else
+#if HAVE_ECORE_EVAS_FB
    ecore_evas = ecore_evas_fb_new(NULL, 270,  startw, starth);
+#endif   
 #endif
    if (!ecore_evas) return -1;
    ecore_evas_callback_delete_request_set(ecore_evas, main_delete_request);




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to