summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-10-11 01:26:09 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-10-11 01:26:09 +0000
commit76a6aaa2785cff2c4da277898bf01c712328258e (patch)
treeff6f06e583b3c5d56d12aebf9e47d3ff3eb1989e /firmware/export
parent38168222ae965438704968a106cb08e6ab069145 (diff)
Added dithering for 24 bit backdrops on 16 bit displays. FORMAT_DITHER should be specified to dither a bitmap when loading. Feel free to flame me if I got the RGB565SWAPPED thing wrong.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11180 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/lcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index b74a9d30c7..7fe76a5366 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -246,6 +246,7 @@ enum
};
#define FORMAT_TRANSPARENT 0x40000000
+#define FORMAT_DITHER 0x20000000
#define TRANSPARENT_COLOR LCD_RGBPACK(255,0,255)