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 25 60 #define BITMAP_NCOLUMNS 24 61 #define BITMAP_NLUTCODES 8 71 #if CONFIG_NXWIDGETS_BPP == 24 || CONFIG_NXWIDGETS_BPP == 32 75 0xfcfcfc, 0xb8bcbc, 0xf8f8f8, 0x6890c8, 0x384c80, 0xe8e8e8, 0x646464, 0x909090
80 0xffffff, 0xc9cccc, 0xf9f9f9, 0x8dabd5, 0x69789f, 0xededed, 0x8a8a8a, 0xababab
85 #elif CONFIG_NXWIDGETS_BPP == 16 89 0xffff, 0xbdf7, 0xffdf, 0x6c99, 0x3a70, 0xef5d, 0x632c, 0x9492
94 0xffff, 0xce79, 0xffdf, 0x8d5a, 0x6bd3, 0xef7d, 0x8c51, 0xad55
104 #elif CONFIG_NXWIDGETS_BPP == 8 105 # ifdef CONFIG_NXWIDGETS_GREYSCALE 109 0xfc, 0xba, 0xf8, 0x8a, 0x4b, 0xe8, 0x64, 0x90
114 0xff, 0xcb, 0xf9, 0xa6, 0x77, 0xed, 0x8a, 0xab
121 0xff, 0xb7, 0xff, 0x73, 0x2a, 0xff, 0x6d, 0x92
126 0xff, 0xdb, 0xff, 0x97, 0x6e, 0xff, 0x92, 0xb6
131 # error "Unsupport pixel format" 137 { 1, 0}, { 21, 1}, { 1, 2}, { 1, 1},
138 { 1, 0}, { 1, 1}, { 19, 3}, { 1, 4}, { 1, 0}, { 1, 1},
139 { 1, 0}, { 1, 1}, { 19, 3}, { 1, 4}, { 1, 0}, { 1, 1},
140 { 1, 0}, { 1, 1}, { 19, 3}, { 1, 4}, { 1, 0}, { 1, 1},
141 { 1, 0}, { 1, 1}, { 19, 3}, { 1, 4}, { 1, 0}, { 1, 1},
142 { 1, 0}, { 1, 1}, { 19, 3}, { 1, 4}, { 1, 0}, { 1, 1},
143 { 1, 2}, { 1, 1}, { 20, 4}, { 1, 0}, { 1, 1},
144 { 1, 2}, { 1, 1}, { 4, 5}, { 1, 6}, { 4, 5}, { 1, 6}, { 4, 5}, { 1, 6},
145 { 4, 5}, { 1, 6}, { 1, 0}, { 1, 1},
146 { 1, 0}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
147 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
148 { 1, 0}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
149 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
150 { 1, 0}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
151 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
152 { 1, 0}, { 1, 1}, { 20, 6}, { 1, 0}, { 1, 1},
153 { 1, 0}, { 1, 1}, { 4, 5}, { 1, 6}, { 4, 5}, { 1, 6}, { 4, 5}, { 1, 6},
154 { 4, 5}, { 1, 6}, { 1, 0}, { 1, 1},
155 { 1, 0}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
156 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
157 { 1, 0}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
158 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
159 { 1, 0}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
160 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
161 { 1, 0}, { 1, 1}, { 20, 6}, { 1, 0}, { 1, 1},
162 { 1, 2}, { 1, 1}, { 4, 5}, { 1, 6}, { 4, 5}, { 1, 6}, { 4, 5}, { 1, 6},
163 { 4, 5}, { 1, 6}, { 1, 0}, { 1, 1},
164 { 1, 2}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
165 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
166 { 1, 2}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
167 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
168 { 1, 2}, { 1, 1}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6},
169 { 1, 5}, { 3, 7}, { 1, 6}, { 1, 5}, { 3, 7}, { 1, 6}, { 1, 0}, { 1, 1},
170 { 1, 2}, { 1, 1}, { 20, 6}, { 1, 0}, { 1, 1},
190 g_calculatorRleEntries
static const struct NXWidgets::SRlePaletteBitmapEntry g_calculatorRleEntries[]
const struct NXWidgets::SRlePaletteBitmap g_calculatorBitmap
static const uint32_t g_calculatorNormalLut[BITMAP_NLUTCODES]
static const uint32_t g_calculatorBrightLut[BITMAP_NLUTCODES]