diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-13 15:58:12 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-13 15:58:12 -0600 |
commit | 96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9 (patch) | |
tree | 9fdb0554ae5db083c528d86a5189074a9d671cb9 /NxWidgets/nxwm/src/glyph_calibration48x42.cxx | |
parent | 9ae67a1db67f78aff7417d96e3e2a9a4871f515f (diff) | |
download | nuttx-96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9.tar.gz nuttx-96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9.tar.bz2 nuttx-96c93d6499f93ac4baf0d892c3c3c6aaef8a11f9.zip |
NxWM: Can now configure to use small or large icons
Diffstat (limited to 'NxWidgets/nxwm/src/glyph_calibration48x42.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/glyph_calibration48x42.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/NxWidgets/nxwm/src/glyph_calibration48x42.cxx b/NxWidgets/nxwm/src/glyph_calibration48x42.cxx index 7e87f085c..3d6fe04f3 100644 --- a/NxWidgets/nxwm/src/glyph_calibration48x42.cxx +++ b/NxWidgets/nxwm/src/glyph_calibration48x42.cxx @@ -108,7 +108,7 @@ static const uint32_t g_calibrationBrightlLut[BITMAP_NLUTCODES] = static const uint16_t g_calibrationNormalLut[BITMAP_NLUTCODES] = { CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */ - 0x0000, 0xbdf7, 0xad55, 0x8410, 0x39e7, 0xab62, 0x81e2, /* Codes 1-6 */ + 0xbdf7, 0xad55, 0x8410, 0x39e7, 0xab62, 0x81e2 /* Codes 1-6 */ }; static const uint16_t g_calibrationBrightlLut[BITMAP_NLUTCODES] = @@ -301,14 +301,14 @@ static const struct NXWidgets::SRlePaletteBitmapEntry g_calibrationRleEntries[] const struct NXWidgets::SRlePaletteBitmap NxWM::g_calibrationBitmap = { - CONFIG_NXWIDGETS_BPP, // bpp - Bits per pixel - CONFIG_NXWIDGETS_FMT, // fmt - Color format - 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) - g_minimizeNormalLut, // Index 0: Unselected LUT - g_minimizeBrightlLut, // Index 1: Selected LUT + CONFIG_NXWIDGETS_BPP, // bpp - Bits per pixel + CONFIG_NXWIDGETS_FMT, // fmt - Color format + 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) + g_calibrationNormalLut, // Index 0: Unselected LUT + g_calibrationBrightlLut, // Index 1: Selected LUT }, - g_minimizeRleEntries // data - Pointer to the beginning of the RLE data + g_calibrationRleEntries // data - Pointer to the beginning of the RLE data }; |