aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-20 05:36:59 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-20 05:36:59 +0000
commit024cf9ff9a01665704542dc7dab017710e22c8b5 (patch)
tree425249827b2d9af46849c54f75a446f55369bf38 /drv_generic.h
parentc374e8db5cd7580b00c3211e8f651a6db6d0c5d4 (diff)
downloadlcd4linux-024cf9ff9a01665704542dc7dab017710e22c8b5.tar.gz
[lcd4linux @ 2004-01-20 05:36:59 by reinelt]
moved text-display-specific stuff to drv_generic_text moved all the bar stuff from drv_generic_bar to generic_text git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@322 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic.h')
-rw-r--r--drv_generic.h32
1 files changed, 5 insertions, 27 deletions
diff --git a/drv_generic.h b/drv_generic.h
index 9194548..52d53d4 100644
--- a/drv_generic.h
+++ b/drv_generic.h
@@ -1,4 +1,4 @@
-/* $Id: drv_generic.h,v 1.1 2004/01/20 04:51:39 reinelt Exp $
+/* $Id: drv_generic.h,v 1.2 2004/01/20 05:36:59 reinelt Exp $
*
* generic driver helper for text- and graphic-based displays
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_generic.h,v $
+ * Revision 1.2 2004/01/20 05:36:59 reinelt
+ * moved text-display-specific stuff to drv_generic_text
+ * moved all the bar stuff from drv_generic_bar to generic_text
+ *
* Revision 1.1 2004/01/20 04:51:39 reinelt
* moved generic stuff from drv_MatrixOrbital to drv_generic
* implemented new-stylish bars which are nearly finished
@@ -40,35 +44,9 @@
#ifndef _DRV_GENERIC_H_
#define _DRV_GENERIC_H_
-
-#include <termios.h>
-#include "widget.h"
-
-
-extern int DROWS, DCOLS; // display size
-extern int LROWS, LCOLS; // layout size
-extern int XRES, YRES; // pixels of one char cell
-extern int CHARS; // number of user-defineable characters
-
-
-extern char *LayoutFB;
-extern char *DisplayFB;
-
-
int drv_generic_serial_open (char *driver, char *port, speed_t speed);
int drv_generic_serial_read (char *string, int len);
void drv_generic_serial_write (char *string, int len);
int drv_generic_serial_close (void);
-
-int drv_generic_text_init (char *Name);
-void drv_generic_text_resizeFB (int rows, int cols);
-int drv_generic_text_draw_text (WIDGET *W, int goto_len,
- void (*drv_goto)(int row, int col),
- void (*drv_write)(char *buffer, int len));
-
-
-int drv_generic_quit (void);
-
-
#endif