diff -r e8e548922e31 -r d64c4c1edd78 brewpanel/slcd.h --- a/brewpanel/slcd.h Thu Nov 19 22:50:17 2015 +0100 +++ b/brewpanel/slcd.h Fri Nov 20 20:49:58 2015 +0100 @@ -4,20 +4,21 @@ #define MAX_SLCDS 8 -void slcdHome (int fd) ; -void slcdClear (int fd) ; -void slcdDisplay (int fd, int state) ; -void slcdCursor (int fd, int state) ; -void slcdCursorBlink (int fd, int state) ; -void slcdSendCommand (int fd, unsigned char command) ; -void slcdPosition (int fd, int x, int y) ; -void slcdCharDef (int fd, int index, unsigned char data [8]) ; -void slcdPutchar (int fd, unsigned char data) ; -void slcdPuts (int fd, const char *string) ; -void slcdPrintf (int fd, const char *message, ...) ; -void slcdBacklight (int fd, int bl); +void slcdHome (SGOBJ *dlg, int fd) ; +void slcdClear (SGOBJ *dlg, int fd) ; +void slcdDisplay (SGOBJ *dlg, int fd, int state) ; +void slcdCursor (SGOBJ *dlg, int fd, int state) ; +void slcdCursorBlink (SGOBJ *dlg, int fd, int state) ; +void slcdSendCommand (SGOBJ *dlg, int fd, unsigned char command) ; +void slcdPosition (SGOBJ *dlg, int fd, int x, int y) ; +void slcdCharDef (SGOBJ *dlg, int fd, int index, unsigned char data [8]) ; +void slcdPutchar (SGOBJ *dlg, int fd, unsigned char data) ; +void slcdPuts (SGOBJ *dlg, int fd, const char *string) ; +void slcdPrintf (SGOBJ *dlg, int fd, const char *message, ...) ; +void slcdBacklight (SGOBJ *dlg, int fd, int bl); +void slcdLED (SGOBJ *dlg, int fd, int color, int state); -int slcdInit (int fd, int x, int y, int w, int h, int cols, int rows) ; +int slcdInit (SGOBJ *dlg, int fd, int x, int y, int w, int h, int cols, int rows) ; #endif