summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-ipodcolor.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-02-10 01:23:18 +0000
committerJens Arnold <amiconn@rockbox.org>2009-02-10 01:23:18 +0000
commit0358d9b382057ad45ba86882b55bc4cec630e726 (patch)
tree706a1fbed5b5afa83409be618a32547beb857774 /firmware/export/config-ipodcolor.h
parentabc3edcb95756c7a19bd592a81f7633ff31d9606 (diff)
downloadrockbox-0358d9b382057ad45ba86882b55bc4cec630e726.tar.gz
rockbox-0358d9b382057ad45ba86882b55bc4cec630e726.zip
Simulate backlight for colour targets. Implements the idea from FS #9884, but uses SDL alpha blending. Display is dimmed to 1/3 for targets with transflective LCD, and set to black for others.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19961 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodcolor.h')
-rw-r--r--firmware/export/config-ipodcolor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h
index e7395919d6..e8a048d97f 100644
--- a/firmware/export/config-ipodcolor.h
+++ b/firmware/export/config-ipodcolor.h
@@ -49,6 +49,9 @@
#define LCD_DEPTH 16 /* 65536 colours */
#define LCD_PIXELFORMAT RGB565SWAPPED /* rgb565 byte-swapped */
+/* LCD stays visible without backlight - simulator hint */
+#define HAVE_TRANSFLECTIVE_LCD
+
#define CONFIG_KEYPAD IPOD_4G_PAD
/* Define this if you do software codec */