diff options
author | reinelt <> | 2003-08-17 16:37:39 +0000 |
---|---|---|
committer | reinelt <> | 2003-08-17 16:37:39 +0000 |
commit | 499739b95b99b54bc5d6feb793dd2ff1cea2c79e (patch) | |
tree | f9151a571b5eb5cffde7b9fde4bb64ff6002f814 /display.c | |
parent | 7069c592bd65ffbfdbf42fe7acf30ced20c84c59 (diff) | |
download | lcd4linux-499739b95b99b54bc5d6feb793dd2ff1cea2c79e.tar.gz |
[lcd4linux @ 2003-08-17 16:37:39 by reinelt]
more icon framework
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* $Id: display.c,v 1.36 2003/08/17 12:11:58 reinelt Exp $ +/* $Id: display.c,v 1.37 2003/08/17 16:37:39 reinelt Exp $ * * framework for device drivers * @@ -20,6 +20,9 @@ * * * $Log: display.c,v $ + * Revision 1.37 2003/08/17 16:37:39 reinelt + * more icon framework + * * Revision 1.36 2003/08/17 12:11:58 reinelt * framework for icons prepared * @@ -305,17 +308,18 @@ int lcd_init (char *driver) return -1; } -int lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars, int *gpos) +int lcd_query (int *rows, int *cols, int *xres, int *yres, int *bars, int *icons, int *gpos) { if (Lcd==NULL) return -1; - if (rows) *rows=Lcd->rows; - if (cols) *cols=Lcd->cols; - if (xres) *xres=Lcd->xres; - if (yres) *yres=Lcd->yres; - if (bars) *bars=Lcd->bars; - if (gpos) *gpos=Lcd->gpos; + if (rows) *rows=Lcd->rows; + if (cols) *cols=Lcd->cols; + if (xres) *xres=Lcd->xres; + if (yres) *yres=Lcd->yres; + if (bars) *bars=Lcd->bars; + if (icons) *icons=Lcd->icons; + if (gpos) *gpos=Lcd->gpos; return 0; } |