aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_text.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-23 04:54:04 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-23 04:54:04 +0000
commit3ebce612bcbf403d54e628207b540b75395f5637 (patch)
tree5b8fc83964c3ad2b1abf1064507596b02d16b92d /drv_generic_text.h
parentc817553542fbdd8687c56509d206dede574ffe69 (diff)
downloadlcd4linux-3ebce612bcbf403d54e628207b540b75395f5637.tar.gz
[lcd4linux @ 2004-01-23 04:53:23 by reinelt]
icon widget added (not finished yet!) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@336 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_text.h')
-rw-r--r--drv_generic_text.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/drv_generic_text.h b/drv_generic_text.h
index e1468f5..46e93d6 100644
--- a/drv_generic_text.h
+++ b/drv_generic_text.h
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_text.h,v 1.2 2004/01/22 07:57:45 reinelt Exp $
+/* $Id: drv_generic_text.h,v 1.3 2004/01/23 04:53:55 reinelt Exp $
*
* generic driver helper for text-based displays
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_generic_text.h,v $
+ * Revision 1.3 2004/01/23 04:53:55 reinelt
+ * icon widget added (not finished yet!)
+ *
* Revision 1.2 2004/01/22 07:57:45 reinelt
* several bugs fixed where segfaulting on layout>display
* Crystalfontz driver optimized, 632 display already works
@@ -53,18 +56,22 @@ extern int DROWS, DCOLS; // display size
extern int LROWS, LCOLS; // layout size
extern int XRES, YRES; // pixels of one char cell
extern int CHARS, CHAR0; // number of user-defineable characters, ASCII of first char
-
+extern int ICONS; // number of user-defineable characters reserved for icons
extern char *LayoutFB;
extern char *DisplayFB;
-int drv_generic_text_init (char *Name);
+int drv_generic_text_init (char *section, char *driver);
+
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_text_icon_init (void);
+
int drv_generic_text_bar_init (void);
void drv_generic_text_bar_add_segment (int val1, int val2, DIRECTION dir, int ascii);
int drv_generic_text_draw_bar (WIDGET *W, int goto_len,