diff options
Diffstat (limited to 'NxWidgets/nxwm/src/glyph_calculator47x49.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/glyph_calculator47x49.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/NxWidgets/nxwm/src/glyph_calculator47x49.cxx b/NxWidgets/nxwm/src/glyph_calculator47x49.cxx index 7e97e1235..91f0a8418 100644 --- a/NxWidgets/nxwm/src/glyph_calculator47x49.cxx +++ b/NxWidgets/nxwm/src/glyph_calculator47x49.cxx @@ -79,7 +79,7 @@ static const uint32_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0x2a2a6c, 0x2a5481, 0x818181, 0x3f3f3f, 0x6c6c6c /* Codes 8-12 */ }; -static const uint32_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint32_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xe4e4e4, 0xc8c8c8, 0xfcfcfc, 0x707070, 0x7090c8, 0x70acc8, 0x385490, 0x5490c8, /* Codes 0-7 */ 0x383890, 0x3870ac, 0xacacac, 0x545454, 0x909090 /* Codes 8-12 */ @@ -93,7 +93,7 @@ static const uint32_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0x383890, 0x3870ac, 0xacacac, 0x545454, 0x909090 /* Codes 8-12 */ }; -static const uint32_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint32_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xffffff, 0xfafafa, 0xffffff, 0x8c8c8c, 0x8cb4fa, 0x8cd7fa, 0x4669b4, 0x69b4fa, /* Codes 0-7 */ 0x4646b4, 0x468cd7, 0xd7d7d7, 0x696969, 0xb4b4b4 /* Codes 8-12 */ @@ -111,7 +111,7 @@ static const uint16_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0x8410, 0x39e7, 0x6b6d, /* Codes 10-12 */ }; -static const uint16_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint16_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xe73c, 0xce59, 0xffff, 0x738e, 0x7499, 0x7579, 0x3ab2, 0x5499, 0x39d2, 0x3b95, /* Codes 0-9 */ 0xad75, 0x52aa, 0x9492 /* Codes 10-12 */ @@ -125,7 +125,7 @@ static const uint16_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xad75, 0x52aa, 0x9492 /* Codes 10-12 */ }; -static const uint16_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint16_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xffff, 0xffdf, 0xffff, 0x8c71, 0x8dbf, 0x8ebf, 0x4356, 0x6dbf, 0x4236, 0x447a, /* Codes 0-9 */ 0xd6ba, 0x6b4d, 0xb5b6 /* Codes 10-12 */ @@ -152,7 +152,7 @@ static const uint8_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xab, 0x96, 0xbd, 0x54, 0x69, 0x75, 0x3d, 0x63, 0x31, 0x4c, 0x81, 0x3f, 0x6c /* Codes 0-12 */ }; -static const uint8_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint8_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xe4, 0xc8, 0xfc, 0x70, 0x8c, 0x9d, 0x52, 0x84, 0x42, 0x66, 0xac, 0x54, 0x90 /* Codes 0-12 */ }; @@ -164,7 +164,7 @@ static const uint8_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xe4, 0xc8, 0xfc, 0x70, 0x8c, 0x9d, 0x52, 0x84, 0x42, 0x66, 0xac, 0x54, 0x90 /* Codes 0-12 */ }; -static const uint8_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const uint8_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xff, 0xfa, 0xff, 0x8c, 0xb0, 0xc4, 0x67, 0xa5, 0x52, 0x7f, 0xd7, 0x69, 0xb4 /* Codes 0-12 */ }; @@ -182,7 +182,7 @@ static const nxgl_mxpixel_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xb6, 0x92, 0xb6, 0x49, 0x4e, 0x52, 0x25, 0x2e, 0x25, 0x2a, 0x92, 0x24, 0x6d /* Codes 0-12 */ }; -static const nxgl_mxpixel_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const nxgl_mxpixel_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xff, 0xdb, 0xff, 0x6d, 0x73, 0x77, 0x2a, 0x53, 0x26, 0x2e, 0xb6, 0x49, 0x92 /* Codes 0-12 */ }; @@ -194,7 +194,7 @@ static const nxgl_mxpixel_t g_calculatorNormalLut[BITMAP_NLUTCODES] = 0xff, 0xdb, 0xff, 0x6d, 0x73, 0x77, 0x2a, 0x53, 0x26, 0x2e, 0xb6, 0x49, 0x92 /* Codes 0-12 */ }; -static const nxgl_mxpixel_t g_calculatorBrightlLut[BITMAP_NLUTCODES] = +static const nxgl_mxpixel_t g_calculatorBrightLut[BITMAP_NLUTCODES] = { 0xff, 0xff, 0xff, 0x92, 0x97, 0x9b, 0x4e, 0x77, 0x4a, 0x53, 0xdb, 0x6d, 0xb6 /* Codes 0-12 */ }; @@ -367,10 +367,10 @@ const struct NXWidgets::SRlePaletteBitmap NxWM::g_calculatorBitmap = 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_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 + g_calculatorRleEntries // data - Pointer to the beginning of the RLE data }; |