aboutsummaryrefslogtreecommitdiffstats
path: root/drv_MatrixOrbital.c
diff options
context:
space:
mode:
authorreinelt <>2004-01-20 12:45:47 +0000
committerreinelt <>2004-01-20 12:45:47 +0000
commit1a5bf0366ac5d27931bd6eaf80e4bf99b55b43ce (patch)
tree98c6ccc9c83c268224e6fd7cc641db8796887d5f /drv_MatrixOrbital.c
parent35b4d898d72f13de0b787ccd94970f517cd623f3 (diff)
downloadlcd4linux-1a5bf0366ac5d27931bd6eaf80e4bf99b55b43ce.tar.gz
[lcd4linux @ 2004-01-20 12:45:47 by reinelt]
"Default screen" working with MatrixOrbital
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;