aboutsummaryrefslogtreecommitdiffstats
path: root/drv_MatrixOrbital.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-20 12:45:47 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-20 12:45:47 +0000
commit5a05b3642ff261a09dc5d969e06c7fcad52eb193 (patch)
tree98c6ccc9c83c268224e6fd7cc641db8796887d5f /drv_MatrixOrbital.c
parent024cf9ff9a01665704542dc7dab017710e22c8b5 (diff)
downloadlcd4linux-5a05b3642ff261a09dc5d969e06c7fcad52eb193.tar.gz
[lcd4linux @ 2004-01-20 12:45:47 by reinelt]
"Default screen" working with MatrixOrbital git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@323 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_MatrixOrbital.c')
-rw-r--r--drv_MatrixOrbital.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/drv_MatrixOrbital.c b/drv_MatrixOrbital.c
index a937ce6..706dda9 100644
--- a/drv_MatrixOrbital.c
+++ b/drv_MatrixOrbital.c
@@ -1,4 +1,4 @@
-/* $Id: drv_MatrixOrbital.c,v 1.11 2004/01/20 05:36:59 reinelt Exp $
+/* $Id: drv_MatrixOrbital.c,v 1.12 2004/01/20 12:45:47 reinelt Exp $
*
* new style driver for Matrix Orbital serial display modules
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_MatrixOrbital.c,v $
+ * Revision 1.12 2004/01/20 12:45:47 reinelt
+ * "Default screen" working with MatrixOrbital
+ *
* Revision 1.11 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
@@ -175,7 +178,6 @@ static void drv_MO_goto (int row, int col)
}
-// start display
static int drv_MO_start (char *section)
{
int i;
@@ -273,13 +275,6 @@ static int drv_MO_start (char *section)
GPOS = Models[Model].gpos;
PROTOCOL = Models[Model].protocol;
- // init Bars
- // Fixme
- // bar_init(DROWS, DCOLS, XRES, YRES, CHARS-ICONS);
- // bar_add_segment( 0, 0,255, 32); // ASCII 32 = blank
- // bar_add_segment(255,255,255,255); // ASCII 255 = block
-
-
if (PROTOCOL==2)
drv_generic_serial_write ("\376\130", 2); // Clear Screen
else
@@ -492,7 +487,7 @@ int drv_MO_init (char *section)
// add fixed chars to the bar driver
drv_generic_text_bar_add_segment ( 0, 0,255, 32); // ASCII 32 = blank
drv_generic_text_bar_add_segment (255,255,255,255); // ASCII 255 = block
-
+
// register text widget
wc=Widget_Text;
wc.draw=drv_MO_draw_text;