-/* $Id: BeckmannEgle.c,v 1.6 2001/04/27 05:04:57 reinelt Exp $
+/* $Id: BeckmannEgle.c,v 1.7 2002/08/19 04:41:20 reinelt Exp $
*
* driver for Beckmann+Egle mini terminals
*
*
*
* $Log: BeckmannEgle.c,v $
+ * Revision 1.7 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.6 2001/04/27 05:04:57 reinelt
*
* replaced OPEN_MAX with sysconf()
#include "cfg.h"
#include "lock.h"
#include "display.h"
+#include "bar.h"
#define XRES 5
#define YRES 8
-/* $Id: Crystalfontz.c,v 1.7 2001/04/27 05:04:57 reinelt Exp $
+/* $Id: Crystalfontz.c,v 1.8 2002/08/19 04:41:20 reinelt Exp $
*
* driver for display modules from Crystalfontz
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log: Crystalfontz.c,v $
+ * Revision 1.8 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.7 2001/04/27 05:04:57 reinelt
*
* replaced OPEN_MAX with sysconf()
#include "cfg.h"
#include "lock.h"
#include "display.h"
+#include "bar.h"
#include "Crystalfontz.h"
#define XRES 6
-/* $Id: HD44780.c,v 1.22 2002/08/17 14:14:21 reinelt Exp $
+/* $Id: HD44780.c,v 1.23 2002/08/19 04:41:20 reinelt Exp $
*
* driver for display modules based on the HD44780 chip
*
*
*
* $Log: HD44780.c,v $
+ * Revision 1.23 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.22 2002/08/17 14:14:21 reinelt
*
* USBLCD fixes
#include "debug.h"
#include "cfg.h"
#include "display.h"
+#include "bar.h"
#include "udelay.h"
#define XRES 5
-/* $Id: M50530.c,v 1.2 2002/04/30 07:20:15 reinelt Exp $
+/* $Id: M50530.c,v 1.3 2002/08/19 04:41:20 reinelt Exp $
*
* driver for display modules based on the M50530 chip
*
*
*
* $Log: M50530.c,v $
+ * Revision 1.3 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.2 2002/04/30 07:20:15 reinelt
*
* implemented the new ndelay(nanoseconds) in all parallel port drivers
#include "debug.h"
#include "cfg.h"
#include "display.h"
+#include "bar.h"
#include "udelay.h"
#define XRES 5
udelay.c udelay.h \
display.c display.h \
pixmap.c pixmap.h \
+bar.c bar.h \
fontmap.c fontmap.h \
exec.c exec.h \
mail2.c \
lcd4linux_LDADD = @DRIVERS@ @DRVLIBS@
lcd4linux_DEPENDENCIES = @DRIVERS@
-lcd4linux_SOURCES = lcd4linux.c debug.c debug.h cfg.c cfg.h lock.c lock.h parser.c parser.h processor.c processor.h system.c system.h isdn.c isdn.h mail.c mail.h seti.c seti.h battery.c battery.h filter.c filter.h udelay.c udelay.h display.c display.h pixmap.c pixmap.h fontmap.c fontmap.h exec.c exec.h mail2.c socket.c socket.h
+lcd4linux_SOURCES = lcd4linux.c debug.c debug.h cfg.c cfg.h lock.c lock.h parser.c parser.h processor.c processor.h system.c system.h isdn.c isdn.h mail.c mail.h seti.c seti.h battery.c battery.h filter.c filter.h udelay.c udelay.h display.c display.h pixmap.c pixmap.h bar.c bar.h fontmap.c fontmap.h exec.c exec.h mail2.c socket.c socket.h
EXTRA_lcd4linux_SOURCES = acconfig.h BeckmannEgle.c Crystalfontz.c Crystalfontz.h HD44780.c M50530.c T6963.c USBLCD.c MatrixOrbital.c PalmPilot.c Raster.c SIN.c Skeleton.c XWindow.c Text.c
X_PRE_LIBS = @X_PRE_LIBS@
lcd4linux_OBJECTS = lcd4linux.o debug.o cfg.o lock.o parser.o \
processor.o system.o isdn.o mail.o seti.o battery.o filter.o udelay.o \
-display.o pixmap.o fontmap.o exec.o mail2.o socket.o
+display.o pixmap.o bar.o fontmap.o exec.o mail2.o socket.o
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
DEP_FILES = .deps/BeckmannEgle.P .deps/Crystalfontz.P .deps/HD44780.P \
.deps/M50530.P .deps/MatrixOrbital.P .deps/PalmPilot.P .deps/Raster.P \
.deps/SIN.P .deps/Skeleton.P .deps/T6963.P .deps/Text.P .deps/USBLCD.P \
-.deps/XWindow.P .deps/battery.P .deps/cfg.P .deps/debug.P \
+.deps/XWindow.P .deps/bar.P .deps/battery.P .deps/cfg.P .deps/debug.P \
.deps/display.P .deps/exec.P .deps/filter.P .deps/fontmap.P \
.deps/isdn.P .deps/lcd4linux.P .deps/lock.P .deps/mail.P .deps/mail2.P \
.deps/parser.P .deps/pixmap.P .deps/processor.P .deps/seti.P \
-/* $Id: MatrixOrbital.c,v 1.22 2001/04/27 05:04:57 reinelt Exp $
+/* $Id: MatrixOrbital.c,v 1.23 2002/08/19 04:41:20 reinelt Exp $
*
* driver for Matrix Orbital serial display modules
*
*
*
* $Log: MatrixOrbital.c,v $
+ * Revision 1.23 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.22 2001/04/27 05:04:57 reinelt
*
* replaced OPEN_MAX with sysconf()
#include "cfg.h"
#include "lock.h"
#include "display.h"
+#include "bar.h"
#define XRES 5
#define YRES 8
-/* $Id: PalmPilot.c,v 1.6 2001/04/27 05:04:57 reinelt Exp $
+/* $Id: PalmPilot.c,v 1.7 2002/08/19 04:41:20 reinelt Exp $
*
* driver for 3Com Palm Pilot
*
*
*
* $Log: PalmPilot.c,v $
+ * Revision 1.7 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.6 2001/04/27 05:04:57 reinelt
*
* replaced OPEN_MAX with sysconf()
#include "cfg.h"
#include "lock.h"
#include "display.h"
+#include "bar.h"
#include "pixmap.h"
#define BARS ( BAR_L | BAR_R | BAR_U | BAR_D | BAR_H2 | BAR_V2 | BAR_T)
-/* $Id: Raster.c,v 1.19 2001/09/10 13:55:53 reinelt Exp $
+/* $Id: Raster.c,v 1.20 2002/08/19 04:41:20 reinelt Exp $
*
* driver for raster formats
*
*
*
* $Log: Raster.c,v $
+ * Revision 1.20 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.19 2001/09/10 13:55:53 reinelt
* M50530 driver
*
#include "debug.h"
#include "cfg.h"
#include "display.h"
+#include "bar.h"
#include "pixmap.h"
#define BARS ( BAR_L | BAR_R | BAR_U | BAR_D | BAR_H2 | BAR_V2 | BAR_T )
-/* $Id: T6963.c,v 1.2 2002/08/17 12:54:08 reinelt Exp $
+/* $Id: T6963.c,v 1.3 2002/08/19 04:41:20 reinelt Exp $
*
* driver for display modules based on the Toshiba T6963 chip
*
*
*
* $Log: T6963.c,v $
+ * Revision 1.3 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.2 2002/08/17 12:54:08 reinelt
* minor T6963 changes
*
#include "debug.h"
#include "cfg.h"
#include "display.h"
+#include "bar.h"
#include "udelay.h"
#include "pixmap.h"
-/* $Id: Text.c,v 1.4 2001/03/16 16:40:17 ltoetsch Exp $
+/* $Id: Text.c,v 1.5 2002/08/19 04:41:20 reinelt Exp $
*
* pure ncurses based text driver
*
*
*
* $Log: Text.c,v $
+ * Revision 1.5 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.4 2001/03/16 16:40:17 ltoetsch
* implemented time bar
*
#include "debug.h"
#include "cfg.h"
#include "display.h"
+#include "bar.h"
+
extern int foreground;
static LCD Lcd;
-/* $Id: USBLCD.c,v 1.3 2002/08/18 08:11:11 reinelt Exp $
+/* $Id: USBLCD.c,v 1.4 2002/08/19 04:41:20 reinelt Exp $
*
* Driver for USBLCD ( see http://www.usblcd.de )
* This Driver is based on HD44780.c
*
*
* $Log: USBLCD.c,v $
+ * Revision 1.4 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.3 2002/08/18 08:11:11 reinelt
* USBLCD buffered I/O
*
#include "debug.h"
#include "cfg.h"
#include "display.h"
+#include "bar.h"
#include "udelay.h"
#define GET_HARD_VERSION 1
-/* $Id: XWindow.c,v 1.26 2001/08/05 17:13:29 reinelt Exp $
+/* $Id: XWindow.c,v 1.27 2002/08/19 04:41:20 reinelt Exp $
*
* X11 Driver for LCD4Linux
*
*
*
* $Log: XWindow.c,v $
+ * Revision 1.27 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.26 2001/08/05 17:13:29 reinelt
*
* cleaned up inlude of sys/time.h and time.h
#include "debug.h"
#include "cfg.h"
#include "display.h"
+#include "bar.h"
#include "pixmap.h"
/* glibc 2.1 requires defining semun ourselves */
--- /dev/null
+/* $Id: bar.c,v 1.1 2002/08/19 04:41:20 reinelt Exp $
+ *
+ * generic bar handling
+ *
+ * Copyright 2002 by Michael Reinelt (reinelt@eunet.at)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ *
+ * $Log: bar.c,v $
+ * Revision 1.1 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
+ *
+ */
+
+/*
+ * exported functions:
+ *
+ *
+ */
+
+#include "bar.h"
+#include "debug.h"
+
--- /dev/null
+/* $Id: bar.h,v 1.1 2002/08/19 04:41:20 reinelt Exp $
+ *
+ * generic bar handling
+ *
+ * Copyright 2002 by Michael Reinelt (reinelt@eunet.at)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ *
+ * $Log: bar.h,v $
+ * Revision 1.1 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
+ *
+ */
+
+#ifndef _BAR_H_
+#define _BAR_H_
+
+#define BAR_L (1<<0)
+#define BAR_R (1<<1)
+#define BAR_U (1<<2)
+#define BAR_D (1<<3)
+#define BAR_H2 (1<<4)
+#define BAR_V2 (1<<5)
+#define BAR_LOG (1<<6)
+#define BAR_T (1<<7)
+
+#define BAR_H (BAR_L | BAR_R)
+#define BAR_V (BAR_U | BAR_D | BAR_T)
+#define BAR_HV (BAR_H | BAR_V)
+
+#endif
-/* $Id: display.c,v 1.31 2002/08/17 13:10:23 reinelt Exp $
+/* $Id: display.c,v 1.32 2002/08/19 04:41:20 reinelt Exp $
*
* framework for device drivers
*
*
*
* $Log: display.c,v $
+ * Revision 1.32 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.31 2002/08/17 13:10:23 reinelt
* USBLCD driver added
*
#include "debug.h"
#include "cfg.h"
#include "display.h"
+#include "bar.h"
extern LCD BeckmannEgle[];
extern LCD Crystalfontz[];
-/* $Id: display.h,v 1.14 2001/03/16 16:40:17 ltoetsch Exp $
+/* $Id: display.h,v 1.15 2002/08/19 04:41:20 reinelt Exp $
*
* framework for device drivers
*
*
*
* $Log: display.h,v $
+ * Revision 1.15 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.14 2001/03/16 16:40:17 ltoetsch
* implemented time bar
*
#ifndef _DISPLAY_H_
#define _DISPLAY_H_
-#define BAR_L (1<<0)
-#define BAR_R (1<<1)
-#define BAR_U (1<<2)
-#define BAR_D (1<<3)
-#define BAR_H2 (1<<4)
-#define BAR_V2 (1<<5)
-#define BAR_LOG (1<<6)
-#define BAR_T (1<<7)
-
-#define BAR_H (BAR_L | BAR_R)
-#define BAR_V (BAR_U | BAR_D | BAR_T)
-#define BAR_HV (BAR_H | BAR_V)
-
typedef struct LCD {
char *name;
int rows;
-/* $Id: parser.c,v 1.16 2001/03/16 16:40:17 ltoetsch Exp $
+/* $Id: parser.c,v 1.17 2002/08/19 04:41:20 reinelt Exp $
*
* row definition parser
*
*
*
* $Log: parser.c,v $
+ * Revision 1.17 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.16 2001/03/16 16:40:17 ltoetsch
* implemented time bar
*
#include "debug.h"
#include "display.h"
+#include "bar.h"
#include "parser.h"
typedef struct {
-/* $Id: pixmap.c,v 1.9 2001/05/27 07:19:28 reinelt Exp $
+/* $Id: pixmap.c,v 1.10 2002/08/19 04:41:20 reinelt Exp $
*
* generic pixmap driver
*
*
*
* $Log: pixmap.c,v $
+ * Revision 1.10 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.9 2001/05/27 07:19:28 reinelt
*
* fixed a warning in pixmap.c
#include <time.h>
#include "display.h"
+#include "bar.h"
#include "pixmap.h"
#include "fontmap.h"
#include "debug.h"
-/* $Id: processor.c,v 1.26 2001/05/06 10:01:27 reinelt Exp $
+/* $Id: processor.c,v 1.27 2002/08/19 04:41:20 reinelt Exp $
*
* main data processing
*
*
*
* $Log: processor.c,v $
+ * Revision 1.27 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
* Revision 1.26 2001/05/06 10:01:27 reinelt
*
* fixed a bug which prevented extendet tokens to be used for GPO's
#include "isdn.h"
#include "parser.h"
#include "display.h"
+#include "bar.h"
#include "processor.h"
#include "mail.h"
#include "battery.h"