aboutsummaryrefslogtreecommitdiffstats
path: root/Raster.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-17 12:11:58 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-17 12:11:58 +0000
commita7a01e3ffef0fdb4c3bb51afb2928c3f6828ccc9 (patch)
treec4478b210add468e37a2cf01444356130df0cb09 /Raster.c
parent425f0326d5960a40f264a64b625747d99bd59b4b (diff)
downloadlcd4linux-a7a01e3ffef0fdb4c3bb51afb2928c3f6828ccc9.tar.gz
[lcd4linux @ 2003-08-17 12:11:58 by reinelt]
framework for icons prepared git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@221 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'Raster.c')
-rw-r--r--Raster.c35
1 files changed, 30 insertions, 5 deletions
diff --git a/Raster.c b/Raster.c
index 39d9e7c..65b7f63 100644
--- a/Raster.c
+++ b/Raster.c
@@ -1,4 +1,4 @@
-/* $Id: Raster.c,v 1.23 2003/07/29 04:56:13 reinelt Exp $
+/* $Id: Raster.c,v 1.24 2003/08/17 12:11:58 reinelt Exp $
*
* driver for raster formats
*
@@ -20,6 +20,9 @@
*
*
* $Log: Raster.c,v $
+ * Revision 1.24 2003/08/17 12:11:58 reinelt
+ * framework for icons prepared
+ *
* Revision 1.23 2003/07/29 04:56:13 reinelt
* disable Raster driver automagically if gd.h not found
*
@@ -151,8 +154,6 @@
#include "bar.h"
#include "pixmap.h"
-#define BARS ( BAR_L | BAR_R | BAR_U | BAR_D | BAR_H2 | BAR_V2 | BAR_T )
-
static LCD Lcd;
static int pixel=-1;
@@ -410,10 +411,34 @@ int Raster_bar (int type, int row, int col, int max, int len1, int len2)
LCD Raster[] = {
#ifdef WITH_PPM
- { "PPM",0,0,0,0,BARS,0,Raster_init,Raster_clear,Raster_put,Raster_bar,NULL,PPM_flush },
+ { name: "PPM",
+ rows: 0,
+ cols: 0,
+ xres: 0,
+ yres: 0,
+ bars: BAR_L | BAR_R | BAR_U | BAR_D | BAR_H2 | BAR_V2 | BAR_T,
+ gpos: 0,
+ init: Raster_init,
+ clear: Raster_clear,
+ put: Raster_put,
+ bar: Raster_bar,
+ gpo: NULL,
+ flush: PPM_flush },
#endif
#ifdef WITH_PNG
- { "PNG",0,0,0,0,BARS,0,Raster_init,Raster_clear,Raster_put,Raster_bar,NULL,PNG_flush },
+ { name: "PNG",
+ rows: 0,
+ cols: 0,
+ xres: 0,
+ yres: 0,
+ bars: BAR_L | BAR_R | BAR_U | BAR_D | BAR_H2 | BAR_V2 | BAR_T,
+ gpos: 0,
+ init: Raster_init,
+ clear: Raster_clear,
+ put: Raster_put,
+ bar: Raster_bar,
+ gpo: NULL,
+ flush: PNG_flush },
#endif
{ NULL }
};