Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/bin Modified Files: evas_directfb_main.c evas_directfb_window.c Log Message: dfb patch =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_directfb_main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- evas_directfb_main.c 22 May 2005 02:49:35 -0000 1.4 +++ evas_directfb_main.c 23 Sep 2005 14:53:08 -0000 1.5 @@ -26,7 +26,11 @@ IDirectFBEventBuffer *buffer; DFBResult err; DFBSurfaceDescription dsc; +#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23) DFBCardCapabilities caps; +#else + DFBGraphicsDeviceDescription caps; +#endif DFBDisplayLayerConfig layer_config; DFBInputEvent evt; =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_directfb_window.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- evas_directfb_window.c 22 May 2005 02:49:35 -0000 1.5 +++ evas_directfb_window.c 23 Sep 2005 14:53:08 -0000 1.6 @@ -75,7 +75,11 @@ IDirectFBEventBuffer *buffer; DFBDisplayLayerConfig layer_config; +#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23) DFBCardCapabilities caps; +#else + DFBGraphicsDeviceDescription caps; +#endif IDirectFBWindow* upper; DFBWindowID id1; @@ -88,7 +92,11 @@ DFBCHECK(DirectFBInit( &argc, &argv )); DFBCHECK(DirectFBCreate( &dfb )); +#if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23) dfb->GetCardCapabilities( dfb, &caps ); +#else + dfb->GetDeviceDescription( dfb, &caps ); +#endif dfb->GetDisplayLayer( dfb, DLID_PRIMARY, &layer ); ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs