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_play48x48.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_play48x48.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/glyph_play48x48.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/NxWidgets/nxwm/src/glyph_play48x48.cxx b/NxWidgets/nxwm/src/glyph_play48x48.cxx index d74b815ad..6f0801d11 100644 --- a/NxWidgets/nxwm/src/glyph_play48x48.cxx +++ b/NxWidgets/nxwm/src/glyph_play48x48.cxx @@ -79,7 +79,7 @@ static const uint32_t g_playNormalLut[BITMAP_NLUTCODES] = 0x008400, 0x006600, 0x004e00, 0x003600 /* Codes 3-6 */ }; -static const uint32_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint32_t g_playBrightLut[BITMAP_NLUTCODES] = { 0x00d800, 0x00fc00, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ 0x00b000, 0x008800, 0x006800, 0x004800 /* Codes 3-6 */ @@ -93,7 +93,7 @@ static const uint32_t g_playNormalLut[BITMAP_NLUTCODES] = 0x00b000, 0x008800, 0x006800, 0x004800 /* Codes 3-6 */ }; -static const uint32_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint32_t g_playBrightLut[BITMAP_NLUTCODES] = { 0x00ff00, 0x00ff00, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ 0x00dc00, 0x00aa00, 0x008200, 0x005a00 /* Codes 3-6 */ @@ -112,7 +112,7 @@ static const uint16_t g_playNormalLut[BITMAP_NLUTCODES] = 0x0420, 0x0320, 0x0260, 0x01a0 /* Codes 3-6 */ }; -static const uint16_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint16_t g_playBrightLut[BITMAP_NLUTCODES] = { 0x06c0, 0x07e0, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ 0x0580, 0x0440, 0x0340, 0x0240 /* Codes 3-6 */ @@ -126,7 +126,7 @@ static const uint16_t g_playNormalLut[BITMAP_NLUTCODES] = 0x0580, 0x0440, 0x0340, 0x0240 /* Codes 3-6 */ }; -static const uint16_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint16_t g_playBrightLut[BITMAP_NLUTCODES] = { 0x07e0, 0x07e0, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ 0x06e0, 0x0540, 0x0400, 0x02c0 /* Codes 3-6 */ @@ -154,7 +154,7 @@ static const uint8_t g_playNormalLut[BITMAP_NLUTCODES] = 0x4d, 0x3b, 0x2d, 0x1f /* Codes 3-6 */ }; -static const uint8_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint8_t g_playBrightLut[BITMAP_NLUTCODES] = { 0x7e, 0x93, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ 0x67, 0x4f, 0x3d, 0x2a /* Codes 3-6 */ @@ -168,7 +168,7 @@ static const uint8_t g_playNormalLut[BITMAP_NLUTCODES] = 0x67, 0x4f, 0x3d, 0x2a /* Codes 3-6 */ }; -static const uint8_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const uint8_t g_playBrightLut[BITMAP_NLUTCODES] = { 0x95, 0x95, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ 0x81, 0x63, 0x4c, 0x34 /* Codes 3-6 */ @@ -187,7 +187,7 @@ static const nxgl_mxpixel_t g_playNormalLut[BITMAP_NLUTCODES] = 0x10, 0x0c, 0x08, 0x04 /* Codes 3-6 */ }; -static const nxgl_mxpixel_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const nxgl_mxpixel_t g_playBrightLut[BITMAP_NLUTCODES] = { 0x18, 0x1c, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ 0x14, 0x10, 0x0c, 0x08 /* Codes 3-6 */ @@ -201,7 +201,7 @@ static const nxgl_mxpixel_t g_playNormalLut[BITMAP_NLUTCODES] = 0x14, 0x10, 0x0c, 0x08 /* Codes 3-6 */ }; -static const nxgl_mxpixel_t g_playBrightlLut[BITMAP_NLUTCODES] = +static const nxgl_mxpixel_t g_playBrightLut[BITMAP_NLUTCODES] = { 0x1c, 0x1c, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ 0x18, 0x14, 0x10, 0x08 /* Codes 3-6 */ @@ -276,9 +276,9 @@ const struct NXWidgets::SRlePaletteBitmap NxWM::g_playBitmap = BITMAP_NLUTCODES, // nlut - Number of colors in the lLook-Up Table (LUT) BITMAP_NCOLUMNS, // width - Width in pixels BITMAP_NROWS, // height - Height in rows - { // lut - Pointer to the beginning of the Look-Up Table (LUT) + { // 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 }; |