From 19a2c77557a8cb26c12a8822b0278c39c9bd3fec Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Sun, 6 Nov 2005 09:54:43 +0000 Subject: [lcd4linux @ 2005-11-06 09:54:43 by reinelt] fixed icon size removed, uses XRES & YRES (I hope this doesn't lead to problemes...) --- widget_icon.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'widget_icon.c') diff --git a/widget_icon.c b/widget_icon.c index 0341689..81a6867 100644 --- a/widget_icon.c +++ b/widget_icon.c @@ -1,4 +1,4 @@ -/* $Id: widget_icon.c,v 1.18 2005/11/06 09:17:20 reinelt Exp $ +/* $Id: widget_icon.c,v 1.19 2005/11/06 09:54:43 reinelt Exp $ * * icon widget handling * @@ -21,6 +21,9 @@ * * * $Log: widget_icon.c,v $ + * Revision 1.19 2005/11/06 09:54:43 reinelt + * fixed icon size removed, uses XRES & YRES (I hope this doesn't lead to problemes...) + * * Revision 1.18 2005/11/06 09:17:20 reinelt * re-use icons (thanks to Jesus de Santos Garcia) * @@ -127,8 +130,8 @@ #include #endif -/* icons always are 8 pixels high */ -#define YRES 8 +/* icons size is same as char size */ +extern int XRES, YRES; static void widget_icon_read_bitmap(const char *section, WIDGET_ICON * Icon) { -- cgit v1.2.3