From 5f255d494681c1b87456c98e973cc0448f99c898 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...) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@597 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- 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