brewpanel/slcd.h

changeset 428
d64c4c1edd78
parent 427
e8e548922e31
child 637
21e542c15832
equal deleted inserted replaced
427:e8e548922e31 428:d64c4c1edd78
2 #define _SLCD_H 2 #define _SLCD_H
3 #ifdef HAVE_SDL_SDL_H 3 #ifdef HAVE_SDL_SDL_H
4 4
5 #define MAX_SLCDS 8 5 #define MAX_SLCDS 8
6 6
7 void slcdHome (int fd) ; 7 void slcdHome (SGOBJ *dlg, int fd) ;
8 void slcdClear (int fd) ; 8 void slcdClear (SGOBJ *dlg, int fd) ;
9 void slcdDisplay (int fd, int state) ; 9 void slcdDisplay (SGOBJ *dlg, int fd, int state) ;
10 void slcdCursor (int fd, int state) ; 10 void slcdCursor (SGOBJ *dlg, int fd, int state) ;
11 void slcdCursorBlink (int fd, int state) ; 11 void slcdCursorBlink (SGOBJ *dlg, int fd, int state) ;
12 void slcdSendCommand (int fd, unsigned char command) ; 12 void slcdSendCommand (SGOBJ *dlg, int fd, unsigned char command) ;
13 void slcdPosition (int fd, int x, int y) ; 13 void slcdPosition (SGOBJ *dlg, int fd, int x, int y) ;
14 void slcdCharDef (int fd, int index, unsigned char data [8]) ; 14 void slcdCharDef (SGOBJ *dlg, int fd, int index, unsigned char data [8]) ;
15 void slcdPutchar (int fd, unsigned char data) ; 15 void slcdPutchar (SGOBJ *dlg, int fd, unsigned char data) ;
16 void slcdPuts (int fd, const char *string) ; 16 void slcdPuts (SGOBJ *dlg, int fd, const char *string) ;
17 void slcdPrintf (int fd, const char *message, ...) ; 17 void slcdPrintf (SGOBJ *dlg, int fd, const char *message, ...) ;
18 void slcdBacklight (int fd, int bl); 18 void slcdBacklight (SGOBJ *dlg, int fd, int bl);
19 void slcdLED (SGOBJ *dlg, int fd, int color, int state);
19 20
20 int slcdInit (int fd, int x, int y, int w, int h, int cols, int rows) ; 21 int slcdInit (SGOBJ *dlg, int fd, int x, int y, int w, int h, int cols, int rows) ;
21 22
22 23
23 #endif 24 #endif
24 #endif 25 #endif

mercurial