diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-13 18:21:46 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-13 18:21:46 -0600 |
commit | 35faaf859a301f29aa5f9d1216c85d7079a33880 (patch) | |
tree | 5ba3ea81ccd0b3880841fb633ed4c72c2821c102 /NxWidgets/nxwm/src/glyph_play24x24.cxx | |
parent | 96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9 (diff) | |
download | nuttx-35faaf859a301f29aa5f9d1216c85d7079a33880.tar.gz nuttx-35faaf859a301f29aa5f9d1216c85d7079a33880.tar.bz2 nuttx-35faaf859a301f29aa5f9d1216c85d7079a33880.zip |
NxWM: Fix background color in 48x48 play glyph
Diffstat (limited to 'NxWidgets/nxwm/src/glyph_play24x24.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/glyph_play24x24.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/NxWidgets/nxwm/src/glyph_play24x24.cxx b/NxWidgets/nxwm/src/glyph_play24x24.cxx index 4fa1e8d3a..fa52f60df 100644 --- a/NxWidgets/nxwm/src/glyph_play24x24.cxx +++ b/NxWidgets/nxwm/src/glyph_play24x24.cxx @@ -79,7 +79,7 @@ static const uint32_t g_playNormalLut[BITMAP_NLUTCODES] = 0x00bd00, 0x008100, 0x006300, 0x003600 /* Codes 1-4 */ }; -static const uint32_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint32_t g_playBrightLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ 0x00fc00, 0x00ac00, 0x008400, 0x004800 /* Codes 1-4 */ @@ -93,7 +93,7 @@ static const uint32_t g_playNormalLut[BITMAP_NLUTCODES] = 0x00fc00, 0x00ac00, 0x008400, 0x004800 /* Codes 1-4 */ }; -static const uint32_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint32_t g_playBrightLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ 0x00fc00, 0x00c000, 0x00a200, 0x007500 /* Codes 1-4 */ @@ -111,7 +111,7 @@ static const uint16_t g_playNormalLut[BITMAP_NLUTCODES] = 0x05e0, 0x0400, 0x0300, 0x01a0 /* Codes 1-4 */ }; -static const uint16_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint16_t g_playBrightLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ 0x07e0, 0x0560, 0x0420, 0x0240 /* Codes 1-4 */ @@ -125,7 +125,7 @@ static const uint16_t g_playNormalLut[BITMAP_NLUTCODES] = 0x07e0, 0x0560, 0x0420, 0x0240 /* Codes 1-4 */ }; -static const uint16_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint16_t g_playBrightLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ 0x07e0, 0x0600, 0x0500, 0x03a0 /* Codes 1-4 */ @@ -153,7 +153,7 @@ static const uint8_t g_playNormalLut[BITMAP_NLUTCODES] = 0x6e, 0x4b, 0x3a, 0x1f /* Codes 1-4 */ }; -static const uint8_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint8_t g_playBrightLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ 0x93, 0x64, 0x4d, 0x2a /* Codes 1-4 */ @@ -167,7 +167,7 @@ static const uint8_t g_playNormalLut[BITMAP_NLUTCODES] = 0x93, 0x64, 0x4d, 0x2a /* Codes 1-4 */ }; -static const uint8_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint8_t g_playBrightLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ 0x93, 0x70, 0x5f, 0x44 /* Codes 1-4 */ @@ -185,7 +185,7 @@ static const nxgl_mxpixel_t g_playNormalLut[BITMAP_NLUTCODES] = 0x14, 0x10, 0x0c, 0x04 /* Codes 1-4 */ }; -static const nxgl_mxpixel_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const nxgl_mxpixel_t g_playBrightLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ 0x1c, 0x14, 0x10, 0x08 /* Codes 1-4 */ @@ -199,7 +199,7 @@ static const nxgl_mxpixel_t g_playNormalLut[BITMAP_NLUTCODES] = 0x1c, 0x14, 0x10, 0x08 /* Codes 1-4 */ }; -static const nxgl_mxpixel_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const nxgl_mxpixel_t g_playBrightLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ 0x1c, 0x18, 0x14, 0x0c /* Codes 1-4 */ @@ -252,7 +252,7 @@ const struct NXWidgets::SRlePaletteBitmap NxWM::g_playBitmap = BITMAP_NROWS, // height - Height in rows { // lut - Pointer to the beginning of the Look-Up Table (LUT) g_playNormalLut, // Index 0: Unselected LUT - g_playBrightlLut, // Index 1: Selected LUT + g_playBrightLut, // Index 1: Selected LUT }, - g_playRleEntries // data - Pointer to the beginning of the RLE data + g_playRleEntries // data - Pointer to the beginning of the RLE data }; |