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_calculator24x25.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_calculator24x25.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/glyph_calculator24x25.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/NxWidgets/nxwm/src/glyph_calculator24x25.cxx b/NxWidgets/nxwm/src/glyph_calculator24x25.cxx index 8575e90f7..6ffa4bc64 100644 --- a/NxWidgets/nxwm/src/glyph_calculator24x25.cxx +++ b/NxWidgets/nxwm/src/glyph_calculator24x25.cxx @@ -75,7 +75,7 @@ static const uint32_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xfcfcfc, 0xb8bcbc, 0xf8f8f8, 0x6890c8, 0x384c80, 0xe8e8e8, 0x646464, 0x909090 /* Codes 0-7 */ }; -static const uint32_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint32_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xffffff, 0xc9cccc, 0xf9f9f9, 0x8dabd5, 0x69789f, 0xededed, 0x8a8a8a, 0xababab /* Codes 0-7 */ }; @@ -89,7 +89,7 @@ static const uint16_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xffff, 0xbdf7, 0xffdf, 0x6c99, 0x3a70, 0xef5d, 0x632c, 0x9492 /* Codes 0-7 */ }; -static const uint16_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint16_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xffff, 0xce79, 0xffdf, 0x8d5a, 0x6bd3, 0xef7d, 0x8c51, 0xad55 /* Codes 0-7 */ }; @@ -109,7 +109,7 @@ static const uint8_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xfc, 0xba, 0xf8, 0x8a, 0x4b, 0xe8, 0x64, 0x90 /* Codes 0-7 */ }; -static const uint8_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint8_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xff, 0xcb, 0xf9, 0xa6, 0x77, 0xed, 0x8a, 0xab /* Codes 0-7 */ }; @@ -121,7 +121,7 @@ static const nxgl_mxpixel_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xff, 0xb7, 0xff, 0x73, 0x2a, 0xff, 0x6d, 0x92 /* Codes 0-7 */ }; -static const nxgl_mxpixel_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const nxgl_mxpixel_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xff, 0xdb, 0xff, 0x97, 0x6e, 0xff, 0x92, 0xb6 /* Codes 0-7 */ }; @@ -185,7 +185,7 @@ const struct NXWidgets::SRlePaletteBitmap NxWM::g_calculatorBitmap = BITMAP_NROWS, // height - Height in rows { // lut - Pointer to the beginning of the Look-Up Table (LUT) g_calculatorNormalLut, // Index 0: Unselected LUT - g_calculatorBrightlLut, // Index 1: Selected LUT + g_calculatorBrightLut, // Index 1: Selected LUT }, g_calculatorRleEntries // data - Pointer to the beginning of the RLE data }; |