diff options
author | reinelt <> | 2003-09-13 06:45:43 +0000 |
---|---|---|
committer | reinelt <> | 2003-09-13 06:45:43 +0000 |
commit | fd10fc428dbd2c280f1d0fe19ba5d8dc0921dde2 (patch) | |
tree | b5dd15f2a573a050e451e42fa8c78c6ef652e131 /MatrixOrbital.c | |
parent | a13bb251cc46696b7458828ed3965459c3da9c7e (diff) | |
download | lcd4linux-fd10fc428dbd2c280f1d0fe19ba5d8dc0921dde2.tar.gz |
[lcd4linux @ 2003-09-13 06:45:43 by reinelt]
icons for all remaining drivers
Diffstat (limited to 'MatrixOrbital.c')
-rw-r--r-- | MatrixOrbital.c | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/MatrixOrbital.c b/MatrixOrbital.c index ac947eb..1ce3b2b 100644 --- a/MatrixOrbital.c +++ b/MatrixOrbital.c @@ -1,4 +1,4 @@ -/* $Id: MatrixOrbital.c,v 1.40 2003/09/11 04:09:53 reinelt Exp $ +/* $Id: MatrixOrbital.c,v 1.41 2003/09/13 06:45:43 reinelt Exp $ * * driver for Matrix Orbital serial display modules * @@ -20,6 +20,9 @@ * * * $Log: MatrixOrbital.c,v $ + * Revision 1.41 2003/09/13 06:45:43 reinelt + * icons for all remaining drivers + * * Revision 1.40 2003/09/11 04:09:53 reinelt * minor cleanups * @@ -196,8 +199,8 @@ #include "cfg.h" #include "lock.h" #include "display.h" -#include "icon.h" #include "bar.h" +#include "icon.h" #define XRES 5 #define YRES 8 @@ -439,21 +442,6 @@ int MO_bar (int type, int row, int col, int max, int len1, int len2) } -int MO_icon_old (int num, int row, int col, unsigned char *bitmap) -{ - // icons use last ascii codes - char ascii=CHARS-num; - - MO_define_char (ascii, bitmap); - MO_goto(row, col); - MO_write(&ascii, 1); - FrameBuffer1[row*Lcd.cols+col]=(char)ascii; - FrameBuffer2[row*Lcd.cols+col]=(char)ascii; - - return 0; -} - - int MO_icon (int num, int seq, int row, int col) { return icon_draw (num, seq, row, col); |