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 24 60 #define BITMAP_NCOLUMNS 24 61 #define BITMAP_NLUTCODES 5 63 #define DARK_PLAY_ICON 1 73 #if CONFIG_NXWIDGETS_BPP == 24 || CONFIG_NXWIDGETS_BPP == 32 74 # ifdef DARK_PLAY_ICON 78 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
79 0x00bd00, 0x008100, 0x006300, 0x003600
84 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
85 0x00fc00, 0x00ac00, 0x008400, 0x004800
92 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
93 0x00fc00, 0x00ac00, 0x008400, 0x004800
98 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
99 0x00fc00, 0x00c000, 0x00a200, 0x007500
105 #elif CONFIG_NXWIDGETS_BPP == 16 106 # ifdef DARK_PLAY_ICON 110 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
111 0x05e0, 0x0400, 0x0300, 0x01a0
116 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
117 0x07e0, 0x0560, 0x0420, 0x0240
124 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
125 0x07e0, 0x0560, 0x0420, 0x0240
130 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
131 0x07e0, 0x0600, 0x0500, 0x03a0
143 #elif CONFIG_NXWIDGETS_BPP == 8 144 # ifdef CONFIG_NXWIDGETS_GREYSCALE 148 # ifdef DARK_PLAY_ICON 152 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
153 0x6e, 0x4b, 0x3a, 0x1f
158 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
159 0x93, 0x64, 0x4d, 0x2a
166 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
167 0x93, 0x64, 0x4d, 0x2a
172 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
173 0x93, 0x70, 0x5f, 0x44
181 # ifdef DARK_PLAY_ICON 184 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
185 0x14, 0x10, 0x0c, 0x04
190 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
191 0x1c, 0x14, 0x10, 0x08
198 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
199 0x1c, 0x14, 0x10, 0x08
204 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
205 0x1c, 0x18, 0x14, 0x0c
211 # error "Unsupport pixel format" 217 { 2, 2}, { 2, 1}, { 20, 0},
218 { 4, 2}, { 2, 1}, { 18, 0},
219 { 6, 2}, { 2, 1}, { 16, 0},
220 { 8, 2}, { 2, 1}, { 14, 0},
221 { 10, 2}, { 2, 1}, { 12, 0},
222 { 12, 2}, { 2, 1}, { 10, 0},
223 { 14, 2}, { 2, 1}, { 8, 0},
224 { 16, 2}, { 2, 1}, { 6, 0},
225 { 18, 2}, { 2, 1}, { 4, 0},
226 { 20, 2}, { 2, 1}, { 2, 0},
229 { 20, 3}, { 2, 4}, { 2, 0},
230 { 18, 3}, { 2, 4}, { 4, 0},
231 { 16, 3}, { 2, 4}, { 6, 0},
232 { 14, 3}, { 2, 4}, { 8, 0},
233 { 12, 3}, { 2, 4}, { 10, 0},
234 { 10, 3}, { 2, 4}, { 12, 0},
235 { 8, 3}, { 2, 4}, { 14, 0},
236 { 6, 3}, { 2, 4}, { 16, 0},
237 { 4, 3}, { 2, 4}, { 18, 0},
238 { 2, 3}, { 2, 4}, { 20, 0},
static const struct NXWidgets::SRlePaletteBitmapEntry g_playRleEntries[]
static const uint32_t g_playBrightLut[BITMAP_NLUTCODES]
const struct NXWidgets::SRlePaletteBitmap g_playBitmap
static const uint32_t g_playNormalLut[BITMAP_NLUTCODES]