From 4bb6b0d869fe0685a38ea33a5b0cd6e914aee1fe Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Fri, 10 Mar 2000 17:36:02 +0000 Subject: [lcd4linux @ 2000-03-10 17:36:02 by reinelt] first unstable but running release --- display.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'display.h') diff --git a/display.h b/display.h index 58cd23b..0a2bb95 100644 --- a/display.h +++ b/display.h @@ -1,4 +1,4 @@ -/* $Id: display.h,v 1.4 2000/03/10 10:49:53 reinelt Exp $ +/* $Id: display.h,v 1.5 2000/03/10 17:36:02 reinelt Exp $ * * framework for device drivers * @@ -20,6 +20,10 @@ * * * $Log: display.h,v $ + * Revision 1.5 2000/03/10 17:36:02 reinelt + * + * first unstable but running release + * * Revision 1.4 2000/03/10 10:49:53 reinelt * * MatrixOrbital driver finished @@ -31,7 +35,6 @@ * Revision 1.2 2000/01/16 16:58:50 reinelt * *** empty log message *** * - * */ #ifndef _DISPLAY_H_ @@ -41,7 +44,7 @@ #define BAR_R 2 #define BAR_U 4 #define BAR_D 8 -#define BAR_S 256 +#define BAR_S 16 typedef struct DISPLAY { char name[16]; @@ -63,6 +66,7 @@ typedef struct { } FAMILY; int lcd_init (char *display); +int lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars); int lcd_clear (void); int lcd_put (int row, int col, char *text); int lcd_bar (int type, int row, int col, int max, int len1, int len2); -- cgit v1.2.3