aboutsummaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-07-24 04:48:09 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-07-24 04:48:09 +0000
commit7ed5b7a1b4bc3cc31aa89bba015c3a5e856b2ad8 (patch)
treeb53a7102debdc89d8fe44e0c6b913019d78f60bc /display.h
parent93be7266dd3f05b297c7b25920d6362452a447f9 (diff)
downloadlcd4linux-7ed5b7a1b4bc3cc31aa89bba015c3a5e856b2ad8.tar.gz
[lcd4linux @ 2003-07-24 04:48:09 by reinelt]
'soft clear' needed for virtual rows git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@202 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--display.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/display.h b/display.h
index 8d3db89..374ede6 100644
--- a/display.h
+++ b/display.h
@@ -1,4 +1,4 @@
-/* $Id: display.h,v 1.15 2002/08/19 04:41:20 reinelt Exp $
+/* $Id: display.h,v 1.16 2003/07/24 04:48:09 reinelt Exp $
*
* framework for device drivers
*
@@ -20,6 +20,9 @@
*
*
* $Log: display.h,v $
+ * Revision 1.16 2003/07/24 04:48:09 reinelt
+ * 'soft clear' needed for virtual rows
+ *
* Revision 1.15 2002/08/19 04:41:20 reinelt
* introduced bar.c, moved bar stuff from display.h to bar.h
*
@@ -96,7 +99,7 @@ typedef struct LCD {
int bars;
int gpos;
int (*init) (struct LCD *Self);
- int (*clear) (void);
+ int (*clear) (int full);
int (*put) (int x, int y, char *text);
int (*bar) (int type, int x, int y, int max, int len1, int len2);
int (*gpo) (int num, int val);
@@ -112,7 +115,7 @@ typedef struct {
int lcd_list (void);
int lcd_init (char *driver);
int lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars, int *gpos);
-int lcd_clear (void);
+int lcd_clear (int full);
int lcd_put (int row, int col, char *text);
int lcd_bar (int type, int row, int col, int max, int len1, int len2);
int lcd_gpo (int num, int val);