aboutsummaryrefslogtreecommitdiffstats
path: root/widget_icon.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-11-06 09:54:43 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-11-06 09:54:43 +0000
commit5f255d494681c1b87456c98e973cc0448f99c898 (patch)
treed94b2387f26977b4972b7ebc84198c5d33595f6f /widget_icon.c
parentdc30610f203d73da3f0224fc51428638b1572bb0 (diff)
downloadlcd4linux-5f255d494681c1b87456c98e973cc0448f99c898.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...) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@597 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_icon.c')
-rw-r--r--widget_icon.c9
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)
{