aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorreinelt <>2003-08-17 16:37:39 +0000
committerreinelt <>2003-08-17 16:37:39 +0000
commit499739b95b99b54bc5d6feb793dd2ff1cea2c79e (patch)
treef9151a571b5eb5cffde7b9fde4bb64ff6002f814 /display.c
parent7069c592bd65ffbfdbf42fe7acf30ced20c84c59 (diff)
downloadlcd4linux-499739b95b99b54bc5d6feb793dd2ff1cea2c79e.tar.gz
[lcd4linux @ 2003-08-17 16:37:39 by reinelt]
more icon framework
Diffstat (limited to 'display.c')
-rw-r--r--display.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/display.c b/display.c
index 038dcf4..84c7ae5 100644
--- a/display.c
+++ b/display.c
@@ -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;
}