diff options
author | reinelt <> | 2005-11-06 09:54:43 +0000 |
---|---|---|
committer | reinelt <> | 2005-11-06 09:54:43 +0000 |
commit | 19a2c77557a8cb26c12a8822b0278c39c9bd3fec (patch) | |
tree | d94b2387f26977b4972b7ebc84198c5d33595f6f /widget_icon.c | |
parent | e6b4df01ef5fac634a4037199f065f81581a4b97 (diff) | |
download | lcd4linux-19a2c77557a8cb26c12a8822b0278c39c9bd3fec.tar.gz |
[lcd4linux @ 2005-11-06 09:54:43 by reinelt]
fixed icon size removed, uses XRES & YRES (I hope this doesn't lead to problemes...)
Diffstat (limited to 'widget_icon.c')
-rw-r--r-- | widget_icon.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 <dmalloc.h> #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) { |