summaryrefslogtreecommitdiff
path: root/firmware/export/config-h100.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-02-09 00:32:59 +0000
committerJens Arnold <amiconn@rockbox.org>2009-02-09 00:32:59 +0000
commit0d935ce75e1408dfd9832ae7dbb7d84df50a645d (patch)
tree9ddcc5d21dcd0e576d0fa824e74c58755fa9d1a0 /firmware/export/config-h100.h
parent94537f954e67d44fdd9703c062c4ee53599e0e74 (diff)
downloadrockbox-0d935ce75e1408dfd9832ae7dbb7d84df50a645d.tar.gz
rockbox-0d935ce75e1408dfd9832ae7dbb7d84df50a645d.zip
Put the display colours for monochrome and greyscale targets into the target config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-h100.h')
-rw-r--r--firmware/export/config-h100.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 6ca2a0701e..34ba3e5ad9 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -44,6 +44,12 @@
44 44
45#define LCD_PIXELFORMAT VERTICAL_PACKING 45#define LCD_PIXELFORMAT VERTICAL_PACKING
46 46
47/* Display colours, for screenshots and sim (0xRRGGBB) */
48#define LCD_DARKCOLOR 0x000000
49#define LCD_BRIGHTCOLOR 0x7e917e
50#define LCD_BL_DARKCOLOR 0x000000
51#define LCD_BL_BRIGHTCOLOR 0xadd8e6
52
47/* remote LCD */ 53/* remote LCD */
48#define LCD_REMOTE_WIDTH 128 54#define LCD_REMOTE_WIDTH 128
49#define LCD_REMOTE_HEIGHT 64 55#define LCD_REMOTE_HEIGHT 64
@@ -51,6 +57,12 @@
51 57
52#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING 58#define LCD_REMOTE_PIXELFORMAT VERTICAL_PACKING
53 59
60/* Remote display colours, for screenshots and sim (0xRRGGBB) */
61#define LCD_REMOTE_DARKCOLOR 0x000000
62#define LCD_REMOTE_BRIGHTCOLOR 0x5a915a
63#define LCD_REMOTE_BL_DARKCOLOR 0x000000
64#define LCD_REMOTE_BL_BRIGHTCOLOR 0x82b4fa
65
54#define CONFIG_KEYPAD IRIVER_H100_PAD 66#define CONFIG_KEYPAD IRIVER_H100_PAD
55 67
56#define CONFIG_REMOTE_KEYPAD H100_REMOTE 68#define CONFIG_REMOTE_KEYPAD H100_REMOTE