Enlightenment CVS committal

Author  : turran
Project : e17
Module  : proto

Dir     : e17/proto/etk/src/engines/ecore_fb


Modified Files:
        ecore_fb.c 


Log Message:
Ecore_Fb Engine:
================
+ fixed. actually the width and height does matters, kind of weird
  how evas handles it.

----------------------------------------------------------------------

===================================================================
RCS file: /cvs/e/e17/proto/etk/src/engines/ecore_fb/ecore_fb.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ecore_fb.c  31 Jul 2006 23:23:12 -0000      1.2
+++ ecore_fb.c  1 Aug 2006 06:47:33 -0000       1.3
@@ -172,17 +172,13 @@
       ETK_WARNING("Ecore_Evas initialization failed!");
       return ETK_FALSE;
    }
-   /* Create the evas where all the windows will be drawn, 
-    * here the widht and height are unnecessary
-    */
-   _ecore_evas = ecore_evas_fb_new(NULL, 0, 320, 240);
-   //ecore_evas = ecore_evas_software_x11_new(NULL, 0, 0, 0, 320, 240);
-   if(!_ecore_evas);
+   /* Create the evas where all the windows will be drawn */
+   _ecore_evas = ecore_evas_fb_new(NULL, 0, 800, 600);
+   if(!_ecore_evas)
    {
       ETK_WARNING("Ecore_Evas_Fb initialization failed!");
       return ETK_FALSE;
    }
-   usleep(1000);
    ecore_evas_fullscreen_set(_ecore_evas, 1);
    ecore_fb_size_get(&fb_width, &fb_height);
    
@@ -204,7 +200,7 @@
    evas_object_show(_background_object);
    
    /* Create the mouse pointer */
-   ecore_evas_pointer_set(_ecore_evas, PACKAGE_DATA_DIR 
"/pointers/default_pointer.png",1000000, 1, 1);
+   ecore_evas_cursor_set(_ecore_evas, PACKAGE_DATA_DIR 
"/pointers/default_pointer.png",1000000, 1, 1);
 #if 0
    _pointer_object = evas_object_image_add(_evas);
    evas_object_image_file_set(_pointer_object, PACKAGE_DATA_DIR 
"/pointers/default_pointer.png", NULL);



-------------------------------------------------------------------------
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

Reply via email to