diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-07-19 10:33:41 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-07-19 10:33:41 +0000 |
commit | b0e056b5aeaac668312cbf67ee9c9d1713704b05 (patch) | |
tree | e0db08c1723c11b82191366ca3930046f5f1f34b /firmware | |
parent | 82ea7c3bacd0b5308e7f0b1d8f35a4e3e13e54f7 (diff) | |
download | rockbox-b0e056b5aeaac668312cbf67ee9c9d1713704b05.tar.gz rockbox-b0e056b5aeaac668312cbf67ee9c9d1713704b05.zip |
More preparations and conversions for colour LCD support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7195 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/lcd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 30677e492e..cfc73b4a09 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -135,9 +135,12 @@ struct rgb { | |||
135 | unsigned char green; | 135 | unsigned char green; |
136 | unsigned char blue; | 136 | unsigned char blue; |
137 | }; | 137 | }; |
138 | #define LCD_BLACK ((struct rgb){0, 0, 0}) | ||
139 | #define LCD_WHITE ((struct rgb){LCD_MAX_RED, LCD_MAX_GREEN, LCD_MAX_BLUE}) | ||
138 | #else /* monochrome */ | 140 | #else /* monochrome */ |
139 | #define LCD_MAX_LEVEL ((1 << LCD_DEPTH) - 1) | 141 | #define LCD_MAX_LEVEL ((1 << LCD_DEPTH) - 1) |
140 | 142 | #define LCD_BLACK 0 | |
143 | #define LCD_WHITE LCD_MAX_LEVEL | ||
141 | #endif | 144 | #endif |
142 | 145 | ||
143 | /* Memory copy of display bitmap */ | 146 | /* Memory copy of display bitmap */ |