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 30 60 #define BITMAP_NCOLUMNS 60 61 #define BITMAP_NLUTCODES 4 63 #define MEDIA_GRIP_DARK_ICON 1 73 #if CONFIG_NXWIDGETS_BPP == 24 || CONFIG_NXWIDGETS_BPP == 32 74 # ifdef MEDIA_GRIP_DARK_ICON 78 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
79 0x3663ab, 0x002199, 0xbdbdbd
84 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
85 0x4884e4, 0x002ccc, 0xfcfcfc
92 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
93 0x4884e4, 0x002ccc, 0xfcfcfc
98 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
99 0x5aa5ff, 0x0037ff, 0xffffff
105 #elif CONFIG_NXWIDGETS_BPP == 16 106 # ifdef MEDIA_GRIP_DARK_ICON 110 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
111 0x3315, 0x0113, 0xbdf7
116 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
117 0x4c3c, 0x0179, 0xffff
124 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
125 0x4c3c, 0x0179, 0xffff
130 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
131 0x5d3f, 0x01bf, 0xffff
143 #elif CONFIG_NXWIDGETS_BPP == 8 144 # ifdef CONFIG_NXWIDGETS_GREYSCALE 148 # ifdef MEDIA_GRIP_DARK_ICON 152 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
158 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
166 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
172 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
182 # ifdef MEDIA_GRIP_DARK_ICON 186 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
192 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
200 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
206 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
213 # error Unsupported pixel format 218 { 1, 0}, { 1, 1}, {56, 2}, { 1, 1}, { 1, 0},
219 { 1, 1}, {58, 2}, { 1, 1},
224 {42, 2}, { 1, 1}, { 4, 3}, { 1, 1}, {12, 2},
225 {42, 2}, { 6, 3}, {12, 2},
226 {42, 2}, { 6, 3}, {12, 2},
227 {42, 2}, { 6, 3}, {12, 2},
228 {42, 2}, { 6, 3}, {12, 2},
229 {42, 2}, { 6, 3}, {12, 2},
230 { 6, 2}, { 1, 1}, {16, 3}, { 1, 1}, {12, 2}, { 1, 1}, {16, 3}, { 1, 1},
232 { 6, 2}, {18, 3}, {12, 2}, {18, 3}, { 6, 2},
233 { 6, 2}, {18, 3}, {12, 2}, {18, 3}, { 6, 2},
234 { 6, 2}, {18, 3}, {12, 2}, {18, 3}, { 6, 2},
235 { 6, 2}, {18, 3}, {12, 2}, {18, 3}, { 6, 2},
236 { 6, 2}, { 1, 1}, {16, 3}, { 1, 1}, {12, 2}, { 1, 1}, {16, 3}, { 1, 1},
238 {42, 2}, { 6, 3}, {12, 2},
239 {42, 2}, { 6, 3}, {12, 2},
240 {42, 2}, { 6, 3}, {12, 2},
241 {42, 2}, { 6, 3}, {12, 2},
242 {42, 2}, { 6, 3}, {12, 2},
243 {42, 2}, { 1, 1}, { 4, 3}, { 1, 1}, {12, 2},
248 { 1, 1}, {58, 2}, { 1, 1},
249 { 1, 0}, { 1, 1}, {56, 2}, { 1, 1}, { 1, 0}
const struct NXWidgets::SRlePaletteBitmap g_mplayerVolBitmap
static const struct NXWidgets::SRlePaletteBitmapEntry g_gripRleEntries[]
static const uint32_t g_gripBrightLut[BITMAP_NLUTCODES]
static const uint32_t g_gripNormalLut[BITMAP_NLUTCODES]