summaryrefslogtreecommitdiffstats
path: root/apps/gui/icon.h
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-10-29 02:33:19 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-10-29 02:33:19 +0000
commite75cbdd2a84904e9294091c0ae599762b067077a (patch)
tree96ebdd8d8a9cbe2495c896e489a9f413bc0ffd1f /apps/gui/icon.h
parentdff9352430cfbcb8f3be5e26ccd752c7cdddf1e2 (diff)
downloadrockbox-e75cbdd2a84904e9294091c0ae599762b067077a.tar.gz
rockbox-e75cbdd2a84904e9294091c0ae599762b067077a.tar.bz2
rockbox-e75cbdd2a84904e9294091c0ae599762b067077a.zip
Some changes to the remote code : some one lines function turned into macros ; changed pre-increment to post-increment since it's clearer that way ; added a data pointer to the list callback (global variables are baaaad) ; some more documentation of the API and minor cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7681 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/icon.h')
-rw-r--r--apps/gui/icon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/icon.h b/apps/gui/icon.h
index 119ee3cc47..8fe7262ffe 100644
--- a/apps/gui/icon.h
+++ b/apps/gui/icon.h
@@ -24,9 +24,9 @@
/* Defines a type for the icons since it's not the same thing on
* char-based displays and bitmap displays */
#ifdef HAVE_LCD_BITMAP
- #define ICON const unsigned char *
+ typedef const unsigned char * ICON;
#else
- #define ICON unsigned short
+ typedef unsigned short ICON;
#endif
#define CURSOR_CHAR 0x92