From 7069c592bd65ffbfdbf42fe7acf30ced20c84c59 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Sun, 17 Aug 2003 12:11:58 +0000 Subject: [lcd4linux @ 2003-08-17 12:11:58 by reinelt] framework for icons prepared --- SIN.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'SIN.c') diff --git a/SIN.c b/SIN.c index ca8c1b8..52312c6 100644 --- a/SIN.c +++ b/SIN.c @@ -1,4 +1,4 @@ -/* $Id: SIN.c,v 1.10 2003/08/17 08:25:30 reinelt Exp $ +/* $Id: SIN.c,v 1.11 2003/08/17 12:11:58 reinelt Exp $ * * driver for SIN router displays * @@ -20,6 +20,9 @@ * * * $Log: SIN.c,v $ + * Revision 1.11 2003/08/17 12:11:58 reinelt + * framework for icons prepared + * * Revision 1.10 2003/08/17 08:25:30 reinelt * preparations for liblcd4linux; minor bugs in SIN.c and Skeleton.c * @@ -88,7 +91,6 @@ #define XRES 1 #define YRES 1 -#define BARS ( BAR_L | BAR_R ) static LCD Lcd; static char *Port=NULL; @@ -280,6 +282,19 @@ int SIN_quit (void) } LCD SIN[] = { - { "SIN",8,40,XRES,YRES,BARS,0,SIN_init,SIN_clear,SIN_put,SIN_bar,NULL,SIN_flush,SIN_quit }, + { name: "SIN", + rows: 8, + cols: 40, + xres: XRES, + yres: YRES, + bars: BAR_L | BAR_R, + gpos: 0, + init: SIN_init, + clear: SIN_clear, + put: SIN_put, + bar: SIN_bar, + gpo: NULL, + flush: SIN_flush, + quit: SIN_quit }, { NULL } }; -- cgit v1.2.3