aboutsummaryrefslogtreecommitdiffstats
path: root/processor.c
diff options
context:
space:
mode:
authorltoetsch <>2001-03-16 16:40:17 +0000
committerltoetsch <>2001-03-16 16:40:17 +0000
commitd028f79336840a076542ccd17bdbca2e2f25357e (patch)
tree169f4a2f4abeba86179b873110769a0100e339ce /processor.c
parentb0650f9131a98a02ca65ab15a7f41e99b6822e90 (diff)
downloadlcd4linux-d028f79336840a076542ccd17bdbca2e2f25357e.tar.gz
[lcd4linux @ 2001-03-16 16:40:17 by ltoetsch]
implemented time bar
Diffstat (limited to 'processor.c')
-rw-r--r--processor.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/processor.c b/processor.c
index 76ff683..75eb192 100644
--- a/processor.c
+++ b/processor.c
@@ -1,4 +1,4 @@
-/* $Id: processor.c,v 1.23 2001/03/16 09:28:08 ltoetsch Exp $
+/* $Id: processor.c,v 1.24 2001/03/16 16:40:17 ltoetsch Exp $
*
* main data processing
*
@@ -20,6 +20,9 @@
*
*
* $Log: processor.c,v $
+ * Revision 1.24 2001/03/16 16:40:17 ltoetsch
+ * implemented time bar
+ *
* Revision 1.23 2001/03/16 09:28:08 ltoetsch
* bugfixes
*
@@ -585,8 +588,12 @@ static char *process_row (int r)
if (token>T_EXTENDED) token += (*(unsigned char*)++s)<<8;
val2=query_bar(token);
}
+ else if (type & BAR_T)
+ val2 = *(unsigned char*)++s; /* width */
if (type & BAR_H)
lcd_bar (type, r, p-buffer+1, len*xres, val1*len*xres, val2*len*xres);
+ else if (type & BAR_T)
+ lcd_bar (type, r, p-buffer+1, len*xres, val1*len*yres, val2*xres);
else
lcd_bar (type, r, p-buffer+1, len*yres, val1*len*yres, val2*len*yres);