40 #include <nuttx/config.h> 42 #include <sys/types.h> 46 #include <nuttx/nx/nxglib.h> 47 #include <nuttx/video/fb.h> 48 #include <nuttx/video/rgbcolors.h> 59 #define BITMAP_NROWS 22 60 #define BITMAP_NCOLUMNS 25 61 #define BITMAP_NLUTCODES 8 71 #if CONFIG_NXWIDGETS_BPP == 24 || CONFIG_NXWIDGETS_BPP == 32 75 0x909090, 0x000000, 0xb4fcfc, 0xb4d8fc, 0x6cb4fc, 0x6c6c6c, 0xfcfcfc, 0x484848
80 0xababab, 0x3f3f3f, 0xc6fcfc, 0xc6e1fc, 0x90c6fc, 0x909090, 0xfcfcfc, 0x757575
84 #elif CONFIG_NXWIDGETS_BPP == 16 88 0x9492, 0x0000, 0xb7ff, 0xb6df, 0x6dbf, 0x6b6d, 0xffff, 0x4a49
93 0xad55, 0x39e7, 0xc7ff, 0xc71f, 0x963f, 0x9492, 0xffff, 0x73ae
103 #elif CONFIG_NXWIDGETS_BPP == 8 104 # ifdef CONFIG_NXWIDGETS_GREYSCALE 110 0x90, 0x00, 0xe6, 0xd1, 0xa6, 0x6c, 0xfc, 0x48
115 0xab, 0x3f, 0xeb, 0xdc, 0xbc, 0x90, 0xfc, 0x75
124 0x92, 0x00, 0xbf, 0xbb, 0x77, 0x6d, 0xff, 0x49
129 0xb6, 0x24, 0xdf, 0xdf, 0x9b, 0x92, 0xff, 0x6d
134 # error "Unsupport pixel format" 141 { 2, 0}, { 1, 2}, { 13, 3}, { 7, 4}, { 1, 0}, { 1, 1},
142 { 2, 0}, { 3, 3}, { 18, 4}, { 1, 0}, { 1, 1},
143 { 2, 0}, { 3, 3}, { 18, 4}, { 1, 0}, { 1, 1},
145 { 1, 0}, { 22, 1}, { 1, 0}, { 1, 1},
146 { 1, 0}, { 1, 1}, { 21, 5}, { 1, 0}, { 1, 1},
147 { 1, 0}, { 1, 1}, { 21, 5}, { 1, 0}, { 1, 1},
148 { 1, 0}, { 1, 1}, { 2, 5}, { 1, 6}, { 18, 5}, { 1, 0}, { 1, 1},
149 { 1, 0}, { 1, 1}, { 3, 5}, { 1, 6}, { 17, 5}, { 1, 0}, { 1, 1},
150 { 1, 0}, { 1, 1}, { 4, 5}, { 1, 6}, { 16, 5}, { 1, 0}, { 1, 1},
151 { 1, 0}, { 1, 1}, { 5, 5}, { 1, 6}, { 15, 5}, { 1, 0}, { 1, 1},
152 { 1, 0}, { 1, 1}, { 6, 5}, { 1, 6}, { 14, 5}, { 1, 0}, { 1, 1},
153 { 1, 0}, { 1, 1}, { 5, 5}, { 1, 6}, { 1, 7}, { 14, 5}, { 1, 0}, { 1, 1},
154 { 1, 0}, { 1, 1}, { 4, 5}, { 1, 6}, { 1, 7}, { 15, 5}, { 1, 0}, { 1, 1},
155 { 1, 0}, { 1, 1}, { 3, 5}, { 1, 6}, { 1, 7}, { 4, 5}, { 9, 6}, { 3, 5},
157 { 1, 0}, { 1, 1}, { 2, 5}, { 1, 6}, { 1, 7}, { 6, 5}, { 9, 7}, { 2, 5},
159 { 1, 0}, { 1, 1}, { 2, 5}, { 1, 7}, { 18, 5}, { 1, 0}, { 1, 1},
160 { 1, 0}, { 1, 1}, { 21, 5}, { 1, 0}, { 1, 1},
static const uint32_t g_cmdBrightLut[BITMAP_NLUTCODES]
static const uint32_t g_cmdNormalLut[BITMAP_NLUTCODES]
const struct NXWidgets::SRlePaletteBitmap g_cmdBitmap
static const struct NXWidgets::SRlePaletteBitmapEntry g_cmdRleEntries[]