diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-05-25 14:26:29 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-05-25 14:26:29 +0000 |
commit | bdf3e629a1d65b4a451b335674048962b5cfec2c (patch) | |
tree | b5c9c44407101b4a881a78cf5a163b3b554b38d4 /drv.c | |
parent | 7a9143eb1bb07879b7cb77559bb96f1dcfbdb03d (diff) | |
download | lcd4linux-bdf3e629a1d65b4a451b335674048962b5cfec2c.tar.gz |
[lcd4linux @ 2004-05-25 14:26:28 by reinelt]
added "Image" driver (was: Raster.c) for PPM and PNG creation
fixed some glitches in the X11 driver
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@430 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | drv.c | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: drv.c,v 1.9 2004/02/24 05:55:04 reinelt Exp $ +/* $Id: drv.c,v 1.10 2004/05/25 14:26:29 reinelt Exp $ * * new framework for display drivers * @@ -23,6 +23,11 @@ * * * $Log: drv.c,v $ + * Revision 1.10 2004/05/25 14:26:29 reinelt + * + * added "Image" driver (was: Raster.c) for PPM and PNG creation + * fixed some glitches in the X11 driver + * * Revision 1.9 2004/02/24 05:55:04 reinelt * * X11 driver ported @@ -112,17 +117,17 @@ extern DRIVER drv_BeckmannEgle; extern DRIVER drv_Crystalfontz; extern DRIVER drv_Cwlinux; extern DRIVER drv_HD44780; +extern DRIVER drv_Image; extern DRIVER drv_M50530; extern DRIVER drv_T6963; extern DRIVER drv_USBLCD; extern DRIVER drv_MatrixOrbital; extern DRIVER drv_MilfordInstruments; extern DRIVER drv_PalmPilot; -extern DRIVER drv_Raster; extern DRIVER drv_X11; extern DRIVER drv_Text; -// output file for Raster driver +// output file for Image driver // has to be defined here because it's referenced // even if the raster driver is not included! char *output=NULL; @@ -145,6 +150,9 @@ DRIVER *Driver[] = { #ifdef WITH_HD44780 &drv_HD44780, #endif +#if defined (WITH_PNG) || defined(WITH_PPM) + &drv_Image, +#endif #ifdef WITH_M50530 &drv_M50530, #endif @@ -164,9 +172,6 @@ DRIVER *Driver[] = { #ifdef WITH_PALMPILOT &PalmPilot, #endif - #if defined (WITH_PNG) || defined(WITH_PPM) - &Raster, - #endif */ #ifdef WITH_X11 &drv_X11, |