summaryrefslogtreecommitdiff
path: root/firmware/font.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-13 06:37:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-13 06:37:49 +0000
commit0a1c22128f6bca490c1b39a07ac30419f83b41ce (patch)
treeb5611256f866088452bd059e7f48f63e2d9e3621 /firmware/font.h
parent48c23501e9d8b98e4d4de785ce4599696e3848b0 (diff)
downloadrockbox-0a1c22128f6bca490c1b39a07ac30419f83b41ce.tar.gz
rockbox-0a1c22128f6bca490c1b39a07ac30419f83b41ce.zip
Greg Haerr's font patch 3:
Rotates the font bitmaps only once at font_init() time, with some source cleanup to rockbox standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2284 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/font.h')
-rw-r--r--firmware/font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/font.h b/firmware/font.h
index 13d60e560b..8535ab216b 100644
--- a/firmware/font.h
+++ b/firmware/font.h
@@ -70,7 +70,7 @@
70 70
71/* MWIMAGEBITS helper macros*/ 71/* MWIMAGEBITS helper macros*/
72#define MWIMAGE_WORDS(x) (((x)+15)/16) /* image size in words*/ 72#define MWIMAGE_WORDS(x) (((x)+15)/16) /* image size in words*/
73#define MWIMAGE_BYTES(x) (((x)+7)/8) /* image size in bytes*/ 73#define MWIMAGE_BYTES(x) (MWIMAGE_WORDS(x)*sizeof(MWIMAGEBITS))
74#define MWIMAGE_BITSPERIMAGE (sizeof(MWIMAGEBITS) * 8) 74#define MWIMAGE_BITSPERIMAGE (sizeof(MWIMAGEBITS) * 8)
75#define MWIMAGE_BITVALUE(n) ((MWIMAGEBITS) (((MWIMAGEBITS) 1) << (n))) 75#define MWIMAGE_BITVALUE(n) ((MWIMAGEBITS) (((MWIMAGEBITS) 1) << (n)))
76#define MWIMAGE_FIRSTBIT (MWIMAGE_BITVALUE(MWIMAGE_BITSPERIMAGE - 1)) 76#define MWIMAGE_FIRSTBIT (MWIMAGE_BITVALUE(MWIMAGE_BITSPERIMAGE - 1))