aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_graphic.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-03-26string compare is not case sensitive anymoremichux1-1/+1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1003 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2009-01-19style 'H' (hollow) for vertical bars, individual bar colors for vertical ↵michael1-6/+15
bars fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@977 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2009-01-13heavy X11 reorganization to (hopefully) finally fix Tickets #141 and #117michael1-6/+10
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@959 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2008-12-31clear pixel to BG_COL (Ticket #117)michael1-1/+1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@932 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2008-12-27ported (modified) r815 from voker_devmichael1-3/+23
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@912 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-09-09email address changedmichael1-1/+1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@840 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-02-25lots of compiler warnings removed, C++-style comments removed, changed struc ↵michael1-4/+4
initialisation from 'field:value' to '.field=value' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@771 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-19indentmichael1-4/+4
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@745 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-18dynamic properties for Icon widgetmichael1-4/+8
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@744 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-14removed all tagsmichael1-126/+0
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@727 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-14svn properties fixedmichael1-1/+2
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@726 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-09-29[lcd4linux @ 2006-09-29 04:48:21 by reinelt]reinelt1-3/+8
image widget uses properties now; new property 'reload' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@722 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-08-14[lcd4linux @ 2006-08-14 19:24:22 by harbaum]harbaum1-3/+6
Umlaut support, added KVV HTTP-User-Agent git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@695 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-08-13[lcd4linux @ 2006-08-13 09:53:10 by reinelt]reinelt1-9/+15
dynamic properties added (used by 'style' of text widget) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@690 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-08-13[lcd4linux @ 2006-08-13 06:46:51 by reinelt]reinelt1-7/+36
T6963 soft-timing & enhancements; indent git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@689 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-08-09[lcd4linux @ 2006-08-09 17:25:34 by harbaum]harbaum1-10/+25
Better bar color support and new bold font git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@685 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-08-08[lcd4linux @ 2006-08-08 20:16:28 by harbaum]harbaum1-6/+10
Added "extracolor" (used for e.g. bar border) and RGB support for LEDMATRIX git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@684 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-07-31[lcd4linux @ 2006-07-31 03:48:09 by reinelt]reinelt1-8/+8
preparations for scrolling git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@680 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-06-20[lcd4linux @ 2006-06-20 08:50:58 by reinelt]reinelt1-0/+5
widget_image linker error hopefully finally fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@663 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-04-09[lcd4linux @ 2006-04-09 17:46:14 by reinelt]reinelt1-6/+9
vertical bar patch fro graphic displays by Ronald Hopfer git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@656 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-04-09[lcd4linux @ 2006-04-09 14:17:49 by reinelt]reinelt1-7/+20
autoconf/library fixes, image and graphic display inversion git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@655 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-27[lcd4linux @ 2006-02-27 07:53:52 by reinelt]reinelt1-7/+7
some more graphic issues fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@650 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-27[lcd4linux @ 2006-02-27 06:15:55 by reinelt]reinelt1-2/+5
indent... git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@649 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-27[lcd4linux @ 2006-02-27 06:14:46 by reinelt]reinelt1-7/+23
graphic bug resulting in all black pixels solved git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@648 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-24[lcd4linux @ 2006-02-24 13:07:10 by geronet]geronet1-1/+15
hollow bars for graphic lcd's git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@646 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-19[lcd4linux @ 2006-02-19 07:20:53 by reinelt]reinelt1-3/+11
image support nearly finished git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@638 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-08[lcd4linux @ 2006-02-08 04:55:03 by reinelt]reinelt1-0/+70
moved widget registration to drv_generic_graphic git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@635 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-07[lcd4linux @ 2006-02-07 05:36:13 by reinelt]reinelt1-3/+7
Layers added to Layout git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@634 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-01-30[lcd4linux @ 2006-01-30 05:47:34 by reinelt]reinelt1-52/+195
graphic subsystem changed to full-color RGBA git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@626 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-01-03[lcd4linux @ 2006-01-03 06:13:44 by reinelt]reinelt1-5/+16
GPIO's for MatrixOrbital git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@605 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-12-13[lcd4linux @ 2005-12-13 14:07:28 by reinelt]reinelt1-2/+5
LPH7508 driver finished git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@601 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-05-08[lcd4linux @ 2005-05-08 04:32:43 by reinelt]reinelt1-232/+243
CodingStyle added and applied git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@547 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-01-18[lcd4linux @ 2005-01-18 06:30:21 by reinelt]reinelt1-2/+5
added (C) to all copyright statements git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@509 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-01-09[lcd4linux @ 2005-01-09 10:53:22 by reinelt]reinelt1-4/+6
small type in plugin_uname fixed new homepage lcd4linux.bulix.org git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@500 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-26[lcd4linux @ 2004-06-26 12:04:59 by reinelt]reinelt1-1/+5
uh-oh... the last CVS log message messed up things a lot... git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@481 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-26[lcd4linux @ 2004-06-26 09:27:20 by reinelt]reinelt1-40/+46
added '-W' to CFLAGS changed all C++ comments to C ones ('//' => '/* */') cleaned up a lot of signed/unsigned mistakes git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@480 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-20[lcd4linux @ 2004-06-20 10:09:52 by reinelt]reinelt1-5/+9
'const'ified the whole source git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@476 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-09[lcd4linux @ 2004-06-09 06:40:29 by reinelt]reinelt1-1/+5
splash screen for T6963 driver git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@471 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-08[lcd4linux @ 2004-06-08 21:46:38 by reinelt]reinelt1-20/+98
splash screen for X11 driver (and generic graphic driver) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@470 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-01[lcd4linux @ 2004-06-01 06:45:28 by reinelt]reinelt1-2/+24
some Fixme's processed documented some code git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@456 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-03[lcd4linux @ 2004-03-03 03:47:04 by reinelt]reinelt1-0/+8
big patch from Martin Hejl: - use qprintf() where appropriate - save CPU cycles on gettimeofday() - add quit() functions to free allocated memory - fixed lots of memory leaks git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@384 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-02-29[lcd4linux @ 2004-02-29 14:30:59 by reinelt]reinelt1-2/+10
icon visibility fix for generic graphics from Xavier git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@380 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-02-24[lcd4linux @ 2004-02-24 05:54:57 by reinelt]reinelt1-15/+4
X11 driver ported git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@375 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-02-22[lcd4linux @ 2004-02-22 17:35:41 by reinelt]reinelt1-4/+8
some fixes for generic graphic driver and T6963 removed ^M from plugin_imon (Nico, are you editing under Windows?) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@373 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-02-18[lcd4linux @ 2004-02-18 06:39:20 by reinelt]reinelt1-36/+36
T6963 driver for graphic displays finished git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@371 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-02-15[lcd4linux @ 2004-02-15 21:43:43 by reinelt]reinelt1-0/+313
T6963 driver nearly finished framework for graphic displays done i2c_sensors patch from Xavier some more old generation files removed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@367 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
uot; PNG="yes" PPM="yes" ROUTERBOARD="yes" SAMPLE="yes" SERDISPLIB="yes" SIMPLELCD="yes" T6963="yes" Trefon="yes" USBHUB="yes" USBLCD="yes" WINCORNIXDORF="yes" X11="yes" ;; BeckmannEgle) BECKMANNEGLE=$val ;; BWCT) BWCT=$val ;; CrystalFontz) CRYSTALFONTZ=$val ;; Curses) CURSES=$val ;; Cwlinux) CWLINUX=$val ;; EA232graphic) EA232graphic=$val ;; G15) G15=$val ;; HD44780) HD44780=$val ;; HD44780-I2C) HD44780_I2C=$val ;; LCD2USB) LCD2USB=$val ;; LCDLinux) LCDLINUX=$val ;; LCDTerm) LCDTERM=$val ;; LEDMatrix) LEDMATRIX=$val ;; LPH7508) LPH7508=$val ;; LUIse) LUISE=$val ;; M50530) M50530=$val ;; MatrixOrbital) MATRIXORBITAL=$val ;; MilfordInstruments) MILINST=$val ;; Noritake) NORITAKE=$val; ;; NULL) NULL=$val; ;; picoLCD) picoLCD=$val ;; PNG) PNG=$val ;; PPM) PPM=$val ;; RouterBoard) ROUTERBOARD=$val ;; Sample) SAMPLE=$val ;; serdisplib) SERDISPLIB=$val; ;; SimpleLCD) SIMPLELCD=$val ;; T6963) T6963=$val ;; Trefon) Trefon=$val ;; USBHUB) USBHUB=$val ;; USBLCD) USBLCD=$val ;; WincorNixdorf) WINCORNIXDORF=$val ;; X11) X11=$val ;; *) AC_MSG_ERROR([Unknown driver '$driver']) ;; esac done AC_MSG_RESULT([done]) # generic display drivers TEXT="no" GRAPHIC="no" IMAGE="no" GPIO="no" # generiv I/O drivers PARPORT="no" SERIAL="no" I2C="no" KEYPAD="no" # generic libraries LIBUSB="no" if test "$BECKMANNEGLE" = "yes"; then TEXT="yes" GPIO="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_BeckmannEgle.o" AC_DEFINE(WITH_BECKMANNEGLE,1,[Beckmann&Egle driver]) fi if test "$BWCT" = "yes"; then if test "$has_usb" = "true"; then TEXT="yes" DRIVERS="$DRIVERS drv_BWCT.o" LIBUSB="yes" AC_DEFINE(WITH_BWCT,1,[BWCT driver]) else AC_MSG_WARN(usb.h not found: BWCT driver disabled) fi fi if test "$CRYSTALFONTZ" = "yes"; then TEXT="yes" GPIO="yes" SERIAL="yes" KEYPAD="yes" DRIVERS="$DRIVERS drv_Crystalfontz.o" AC_DEFINE(WITH_CRYSTALFONTZ,1,[Crystalfontz driver]) fi if test "$CURSES" = "yes"; then if test "$has_curses" = true; then TEXT="yes" KEYPAD="yes" DRIVERS="$DRIVERS drv_Curses.o" DRVLIBS="$DRVLIBS $CURSES_LIBS" CPPFLAGS="$CPPFLAGS $CURSES_INCLUDES" AC_DEFINE(WITH_CURSES,1,[Curses driver]) else AC_MSG_WARN(curses not found: Curses driver disabled) fi fi if test "$CWLINUX" = "yes"; then TEXT="yes" GPIO="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_Cwlinux.o" AC_DEFINE(WITH_CWLINUX,1,[CwLinux driver]) fi if test "$EA232graphic" = "yes"; then GRAPHIC="yes" SERIAL="yes" GPIO="yes" DRIVERS="$DRIVERS drv_EA232graphic.o" AC_DEFINE(WITH_EA232graphic,1,[Electronic Assembly RS232 graphic driver]) fi if test "$G15" = "yes"; then if test "$has_usb" = "true"; then GRAPHIC="yes" LIBUSB="yes" DRIVERS="$DRIVERS drv_G15.o" AC_DEFINE(WITH_G15,1,[G-15 driver]) else AC_MSG_WARN(usb.h not found: G15 driver disabled) fi fi if test "$HD44780" = "yes"; then TEXT="yes" PARPORT="yes" I2C="yes" GPIO="yes" DRIVERS="$DRIVERS drv_HD44780.o" AC_DEFINE(WITH_HD44780,1,[HD44780 driver]) fi if test "$HD44780_I2C" = "yes"; then TEXT="yes" I2C="yes" GPIO="yes" DRIVERS="$DRIVERS drv_HD44780.o" AC_DEFINE(WITH_HD44780,1,[HD44780 driver]) fi if test "$LCD2USB" = "yes"; then if test "$has_usb" = "true"; then TEXT="yes" SERIAL="yes" KEYPAD="yes" DRIVERS="$DRIVERS drv_LCD2USB.o" LIBUSB="yes" AC_DEFINE(WITH_LCD2USB,1,[LCD2USB driver]) else AC_MSG_WARN(usb.h not found: LCD2USB driver disabled) fi fi if test "$LCDLINUX" = "yes"; then if test "$has_lcd_linux" = true; then TEXT="yes" DRIVERS="$DRIVERS drv_LCDLinux.o" AC_DEFINE(WITH_LCDLINUX,1,[LCD-Linux driver]) else AC_MSG_WARN(linux/lcd-linux.h or linux/hd44780.h not found: LCD-Linux driver disabled) fi fi if test "$LCDTERM" = "yes"; then TEXT="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_LCDTerm.o" AC_DEFINE(WITH_LCDTERM,1,[LCDTerm driver]) fi if test "$LEDMATRIX" = "yes"; then GRAPHIC="yes" DRIVERS="$DRIVERS drv_LEDMatrix.o" AC_DEFINE(WITH_LEDMATRIX,1,[LEDMatrix driver]) fi if test "$LPH7508" = "yes"; then GRAPHIC="yes" GPIO="yes" PARPORT="yes" DRIVERS="$DRIVERS drv_LPH7508.o" AC_DEFINE(WITH_LPH7508,1,[LPH7508 driver]) fi if test "$LUISE" = "yes"; then if test "$has_luise" = "true"; then GRAPHIC="yes" DRIVERS="$DRIVERS drv_LUIse.o" DRVLIBS="$DRVLIBS -L/usr/local/lib -lluise" AC_DEFINE(WITH_LUISE,1,[LUIse driver]) else AC_MSG_WARN(luise.h not found: LUIse driver disabled) fi fi if test "$M50530" = "yes"; then TEXT="yes" GPIO="yes" PARPORT="yes" DRIVERS="$DRIVERS drv_M50530.o" AC_DEFINE(WITH_M50530,1,[M50530 driver]) fi if test "$MATRIXORBITAL" = "yes"; then TEXT="yes" GPIO="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_MatrixOrbital.o" AC_DEFINE(WITH_MATRIXORBITAL,1,[MatrixOrbital driver]) fi if test "$MILINST" = "yes"; then TEXT="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_MilfordInstruments.o" AC_DEFINE(WITH_MILINST,1,[Milford Instruments driver]) fi if test "$NORITAKE" = "yes"; then TEXT="yes" GRAPHIC="yes" PARPORT="yes" DRIVERS="$DRIVERS drv_Noritake.o" AC_DEFINE(WITH_NORITAKE,1,[Noritake driver]) fi if test "$NULL" = "yes"; then TEXT="yes" DRIVERS="$DRIVERS drv_NULL.o" AC_DEFINE(WITH_NULL,1,[NULL driver]) fi if test "$picoLCD" = "yes"; then if test "$has_usb" = "true"; then TEXT="yes" GPIO="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_picoLCD.o" AC_DEFINE(WITH_picoLCD,1,[picoLCD driver]) else AC_MSG_WARN(usb.h not found: picoLCD driver disabled) fi fi if test "$PNG" = "yes"; then if test "$has_gd" = "true"; then IMAGE="yes" AC_DEFINE(WITH_PNG,1,[PNG driver]) else AC_MSG_WARN(gd.h not found: PNG driver disabled) fi fi if test "$PPM" = "yes"; then IMAGE="yes" AC_DEFINE(WITH_PPM,1,[PPM driver]) fi if test "$ROUTERBOARD" = "yes"; then TEXT="yes" GPIO="yes" DRIVERS="$DRIVERS drv_RouterBoard.o" AC_DEFINE(WITH_ROUTERBOARD,1,[RouterBoard driver]) fi if test "$SAMPLE" = "yes"; then # select either text or graphics mode TEXT="yes" GRAPHIC="yes" # support for GPIO's GPIO="yes" # select bus: serial (including USB), parallel or i2c SERIAL="yes" PARPORT="yes" #I2C="yes" DRIVERS="$DRIVERS drv_Sample.o" AC_DEFINE(WITH_SAMPLE,1,[Sample driver]) fi if test "$SERDISPLIB" = "yes"; then if test "$has_serdisplib" = "true"; then GRAPHIC="yes" DRIVERS="$DRIVERS drv_serdisplib.o" DRVLIBS="$DRVLIBS -L/usr/local/lib -lserdisp" AC_DEFINE(WITH_SERDISPLIB,1,[serdisplib driver]) if test "$has_usb" = "true"; then LIBUSB="yes" fi else AC_MSG_WARN(serdisp.h not found: serdisplib driver disabled) fi fi if test "$SIMPLELCD" = "yes"; then TEXT="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_SimpleLCD.o" AC_DEFINE(WITH_SIMPLELCD,1,[SimpleLCD driver]) fi if test "$T6963" = "yes"; then GRAPHIC="yes" PARPORT="yes" DRIVERS="$DRIVERS drv_T6963.o" AC_DEFINE(WITH_T6963,1,[T6963 driver]) fi if test "$Trefon" = "yes"; then if test "$has_usb" = "true"; then TEXT="yes" DRIVERS="$DRIVERS drv_Trefon.o" LIBUSB="yes" AC_DEFINE(WITH_TREFON,1,[TREFON driver]) else AC_MSG_WARN(usb.h not found: Trefon driver disabled) fi fi if test "$USBHUB" = "yes"; then if test "$has_usb" = "true"; then GPIO="yes" DRIVERS="$DRIVERS drv_USBHUB.o" LIBUSB="yes" AC_DEFINE(WITH_USBHUB,1,[USBHUB driver]) else AC_MSG_WARN(usb.h not found: USB-Hub driver disabled) fi fi if test "$USBLCD" = "yes"; then TEXT="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_USBLCD.o" if test "$has_usb" = "true"; then LIBUSB="yes" fi AC_DEFINE(WITH_USBLCD,1,[USBLCD driver]) fi if test "$WINCORNIXDORF" = "yes"; then TEXT="yes" SERIAL="yes" DRIVERS="$DRIVERS drv_WincorNixdorf.o" AC_DEFINE(WITH_WINCORNIXDORF,1,[WincorNixdorf driver]) fi if test "$X11" = "yes"; then if test "$no_x" = "yes"; then AC_MSG_WARN(X11 headers or libraries not available: X11 driver disabled) else GRAPHIC="yes" DRIVERS="$DRIVERS drv_X11.o" if test "x$ac_x_libraries" = "x"; then DRVLIBS="$DRVLIBS -lX11" else DRVLIBS="$DRVLIBS -L$ac_x_libraries -lX11" fi CPP_FLAGS="$CPPFLAGS $X_CFLAGS" AC_DEFINE(WITH_X11, 1, [X11 driver]) fi fi # Image driver if test "$IMAGE" = "yes"; then GRAPHIC="yes" DRIVERS="$DRIVERS drv_Image.o" fi if test "$DRIVERS" = ""; then AC_MSG_ERROR([You should activate at least one driver...]) fi # generic text driver if test "$TEXT" = "yes"; then DRIVERS="$DRIVERS drv_generic_text.o" fi # generic graphic driver if test "$GRAPHIC" = "yes"; then DRIVERS="$DRIVERS drv_generic_graphic.o" if test "$has_gd" = "true"; then DRIVERS="$DRIVERS widget_image.o" DRVLIBS="$DRVLIBS -lgd" AC_DEFINE(WITH_IMAGE, 1, [image widget]) fi fi # generic GPIO driver if test "$GPIO" = "yes"; then DRIVERS="$DRIVERS drv_generic_gpio.o" fi # generic parport driver if test "$PARPORT" = "yes"; then DRIVERS="$DRIVERS drv_generic_parport.o" AC_DEFINE(WITH_PARPORT, 1, [parport bus driver]) fi # generic serial driver if test "$SERIAL" = "yes"; then DRIVERS="$DRIVERS drv_generic_serial.o" AC_DEFINE(WITH_SERIAL, 1, [serial bus driver]) fi # generic i2c driver if test "$I2C" = "yes"; then DRIVERS="$DRIVERS drv_generic_i2c.o" AC_DEFINE(WITH_I2C, 1, [I2C bus driver]) fi # generic keypad driver if test "$KEYPAD" = "yes"; then DRIVERS="$DRIVERS drv_generic_keypad.o" fi # libusb if test "$LIBUSB" = "yes"; then DRVLIBS="$DRVLIBS -lusb" fi AC_SUBST(DRIVERS) AC_SUBST(DRVLIBS)