FreeCalypso > hg > fc-magnetite
comparison src/cs/drivers/drv_app/r2d/lcds/c139/colors.h @ 131:384fbd61c252
src/cs/drivers/drv_app/r2d/lcds/c139: import from tcs211-c139
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 07 Oct 2016 22:04:02 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
130:a0c5d28798fe | 131:384fbd61c252 |
---|---|
1 /* | |
2 * TI's BMI code does not seem to have an existing configuration for small | |
3 * color displays, only large color, large mono and small mono - hence in the | |
4 * present configuration we are telling TI's code that we have a mono display. | |
5 * But the real LCD on the C139 is 16-bit color. Here we define the physical | |
6 * color values to which TI's black and white will be mapped. | |
7 * | |
8 * We are also pretending to be the 84x48 pix LCD on TI's C-Sample, hence we | |
9 * are displaying a 84x48 pix UI on a physical 96x64 pix LCD. We center the | |
10 * virtual display in the physical one, and the border color is defined here | |
11 * as well. | |
12 */ | |
13 | |
14 #define LCD16_COLOR_BLACK 0x0000 | |
15 #define LCD16_COLOR_WHITE 0xFFFF | |
16 #define LCD16_COLOR_BORDER 0x5555 |