From 04bb8e952db0cb2d6b3c48ce7d30e8ebf4144656 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 12 Jul 2014 16:55:00 -0600 Subject: NxWM: Fix background color in 48x48 play glyph --- NxWidgets/nxwm/src/glyph_play48x48.cxx | 64 +++++++++++++++++----------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'NxWidgets/nxwm') diff --git a/NxWidgets/nxwm/src/glyph_play48x48.cxx b/NxWidgets/nxwm/src/glyph_play48x48.cxx index 47d188885..526606e62 100644 --- a/NxWidgets/nxwm/src/glyph_play48x48.cxx +++ b/NxWidgets/nxwm/src/glyph_play48x48.cxx @@ -75,28 +75,28 @@ using namespace NxWM; static const uint32_t g_playNormalLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x00bd00, 0xbdbdbd, 0x008400, 0x006600, 0x004e00, 0x003600, /* Codes 1-6 */ + 0x00a200, 0x00bd00, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x008400, 0x006600, 0x004e00, 0x003600 /* Codes 3-6 */ }; static const uint32_t g_playBrightlLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x00fc00, 0xfcfcfc, 0x00b000, 0x008800, 0x006800, 0x004800, /* Codes 1-6 */ + 0x00d800, 0x00fc00, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x00b000, 0x008800, 0x006800, 0x004800 /* Codes 3-6 */ }; # else /* DARK_PLAY_ICON */ static const uint32_t g_playNormalLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x00fc00, 0xfcfcfc, 0x00b000, 0x008800, 0x006800, 0x004800, /* Codes 1-6 */ + 0x00d800, 0x00fc00, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x00b000, 0x008800, 0x006800, 0x004800 /* Codes 3-6 */ }; static const uint32_t g_playBrightlLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x00ff00, 0xffffff, 0x00dc00, 0x00aa00, 0x008200, 0x005a00, /* Codes 1-6 */ + 0x00ff00, 0x00ff00, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x00dc00, 0x00aa00, 0x008200, 0x005a00 /* Codes 3-6 */ }; # endif /* DARK_PLAY_ICON */ @@ -108,28 +108,28 @@ static const uint32_t g_playBrightlLut[BITMAP_NLUTCODES] = static const uint16_t g_playNormalLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x05e0, 0xbdf7, 0x0420, 0x0320, 0x0260, 0x01a0, /* Codes 1-6 */ + 0x0500, 0x05e0, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x0420, 0x0320, 0x0260, 0x01a0 /* Codes 3-6 */ }; static const uint16_t g_playBrightlLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x07e0, 0xffff, 0x0580, 0x0440, 0x0340, 0x0240, /* Codes 1-6 */ + 0x06c0, 0x07e0, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x0580, 0x0440, 0x0340, 0x0240 /* Codes 3-6 */ }; # else /* DARK_PLAY_ICON */ static const uint16_t g_playNormalLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x07e0, 0xffff, 0x0580, 0x0440, 0x0340, 0x0240, /* Codes 1-6 */ + 0x06c0, 0x07e0, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x0580, 0x0440, 0x0340, 0x0240 /* Codes 3-6 */ }; static const uint16_t g_playBrightlLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x07e0, 0xffff, 0x06e0, 0x0540, 0x0400, 0x02c0, /* Codes 1-6 */ + 0x07e0, 0x07e0, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x06e0, 0x0540, 0x0400, 0x02c0 /* Codes 3-6 */ }; # endif /* DARK_PLAY_ICON */ @@ -150,28 +150,28 @@ static const uint16_t g_playBrightlLut[BITMAP_NLUTCODES] = static const uint8_t g_playNormalLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x6e, 0xbd, 0x4d, 0x3b, 0x2d, 0x1f, /* Codes 1-6 */ + 0x5f, 0x6e, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x4d, 0x3b, 0x2d, 0x1f /* Codes 3-6 */ }; static const uint8_t g_playBrightlLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x93, 0xfc, 0x67, 0x4f, 0x3d, 0x2a, /* Codes 1-6 */ + 0x7e, 0x93, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x67, 0x4f, 0x3d, 0x2a /* Codes 3-6 */ }; # else /* DARK_PLAY_ICON */ static const uint8_t g_playNormalLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x93, 0xfc, 0x67, 0x4f, 0x3d, 0x2a, /* Codes 1-6 */ + 0x7e, 0x93, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x67, 0x4f, 0x3d, 0x2a /* Codes 3-6 */ }; static const uint8_t g_playBrightlLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x95, 0xff, 0x81, 0x63, 0x4c, 0x34, /* Codes 1-6 */ + 0x95, 0x95, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x81, 0x63, 0x4c, 0x34 /* Codes 3-6 */ }; # endif /* DARK_PLAY_ICON */ @@ -183,28 +183,28 @@ static const uint8_t g_playBrightlLut[BITMAP_NLUTCODES] = static const nxgl_mxpixel_t g_playNormalLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x14, 0xb6, 0x10, 0x0c, 0x08, 0x04, /* Codes 1-6 */ + 0x14, 0x14, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x10, 0x0c, 0x08, 0x04 /* Codes 3-6 */ }; static const nxgl_mxpixel_t g_playBrightlLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x1c, 0xff, 0x14, 0x10, 0x0c, 0x08, /* Codes 1-6 */ + 0x18, 0x1c, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x14, 0x10, 0x0c, 0x08 /* Codes 3-6 */ }; # else /* DARK_PLAY_ICON */ static const nxgl_mxpixel_t g_playNormalLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x1c, 0xff, 0x14, 0x10, 0x0c, 0x08, /* Codes 0-6 */ + 0x18, 0x1c, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x14, 0x10, 0x0c, 0x08 /* Codes 3-6 */ }; static const nxgl_mxpixel_t g_playBrightlLut[BITMAP_NLUTCODES] = { - CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x1c, 0xff, 0x18, 0x14, 0x10, 0x08, /* Codes 0-6 */ + 0x1c, 0x1c, CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Codes 0-2 */ + 0x18, 0x14, 0x10, 0x08 /* Codes 3-6 */ }; # endif /* DARK_PLAY_ICON */ -- cgit v1.2.3