aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-03-29 08:57:58 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-03-29 08:57:58 +0000
commit117610a1811776aee9b98b9d9ac3427389375ca5 (patch)
tree23cc1bf9c41404659a84e95068e97e1842f84005
parent791ae713db03abfa52bd61664f94614fe43cc9be (diff)
downloadlcd4linux-117610a1811776aee9b98b9d9ac3427389375ca5.tar.gz
[lcd4linux @ 2006-03-29 08:57:58 by reinelt]
vertical bar patch from Manuel Lausch git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@654 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--drv_generic_text.c9
-rw-r--r--lcd4linux.conf.sample18
2 files changed, 19 insertions, 8 deletions
diff --git a/drv_generic_text.c b/drv_generic_text.c
index 146e601..8be347c 100644
--- a/drv_generic_text.c
+++ b/drv_generic_text.c
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_text.c,v 1.34 2006/02/27 08:12:34 reinelt Exp $
+/* $Id: drv_generic_text.c,v 1.35 2006/03/29 08:57:58 reinelt Exp $
*
* generic driver helper for text-based displays
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_generic_text.c,v $
+ * Revision 1.35 2006/03/29 08:57:58 reinelt
+ * vertical bar patch from Manuel Lausch
+ *
* Revision 1.34 2006/02/27 08:12:34 reinelt
* use serdisplib's full color support
*
@@ -694,13 +697,13 @@ static void drv_generic_text_bar_create_bar(int row, int col, const DIRECTION di
BarFB[row * LCOLS + col - 1].style = STYLE_LAST;
break;
- case DIR_SOUTH:
+ case DIR_NORTH:
max = len * YRES;
val1 = max - val1;
val2 = max - val2;
rev = 1;
- case DIR_NORTH:
+ case DIR_SOUTH:
while (len > 0 && row < LROWS) {
BarFB[row * LCOLS + col].dir = dir;
BarFB[row * LCOLS + col].segment = -1;
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index a25c2be..14cd95d 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -345,6 +345,13 @@ Display LPH7508-serdisplib {
Model 'LPH7508'
}
+Display ctinclud {
+ Driver 'serdisplib'
+ Port 'USB:0x07c0/0x1501'
+ Model 'CTINCLUD'
+ Options ''
+}
+
Display XWindow {
Driver 'X11'
Size '120x32'
@@ -403,7 +410,7 @@ Widget OS {
expression '*** '.uname('sysname').' '.uname('release').' ***'
width 20
align 'M'
- speed 100
+ speed 50
update tick
}
@@ -1031,7 +1038,7 @@ Layout testMySQL {
#Display 'M50530-24x8'
#Display 'LCDTerm'
#Display 'SimpleLCD'
-#Display 'BA63'
+Display 'BA63'
#Display 'CT20x4'
#Display 'T6963-240x64'
#Display 'XWindow'
@@ -1041,11 +1048,12 @@ Layout testMySQL {
#Display 'Trefon'
#Display 'LCD2USB'
#Display 'LPH7508-serdisplib'
-Display 'LPH7508'
+#Display 'LPH7508'
+#Display 'ctinclud'
-#Layout 'Default'
+Layout 'Default'
#Layout 'TestLayer'
-Layout 'TestImage'
+#Layout 'TestImage'
#Layout 'L8x2'
#Layout 'L16x1'
#Layout 'L16x2'