dockapps/wmcdplay/XPM/grey/led.xpm
Doug Torrance 7959aa4cda wmcdplay: Fix -Wwrite-string compiler warnings.
Previously, compiling wmcdplay caused a large number of warnings of the form
"deprecated conversion from string constant to ‘char*’".  This was fixed by
changing "char *" declarations to "const char *", especially in the .xpm files,
and using "const_cast" as needed when an external library expected a non-const.
2014-12-18 18:43:10 +00:00

19 lines
2 KiB
C

/* XPM */
static const char * led_xpm[] = {
"171 11 4 1",
" c #000000",
"0 c #00ff00 s led_color_high",
"1 c #009b00 s led_color_med",
"2 c #006200 s led_color_low",
" 00000 1 1 1 00000 00000 1 2 1 00000 00000 00000 00000 00000 1 1 1 1 1 1 00000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 00000 00000 ",
"0 212 0 2 0 1 212 0 1 212 0 0 0 0 212 1 0 212 1 2 121 0 0 212 0 0 212 0 2 1 2 0 0 212 0 0 1 2 1 2 1 2 1 2 1 0 212 0 0 212 1 ",
"01 10 10 10 10 01 10 01 01 20 01 10 01 10 10 01 10 01 01 10 01 10 2 2",
"01 10 10 10 10 01 10 01 01 20 01 10 01 10 10 01 10 01 01 10 01 01 1 1 ",
"0 0 1 0 1 121 0 2 121 0 0 212 0 0 212 1 0 212 1 2 0 0 212 0 0 212 0 1 2 1 212 0 0 212 0 0 212 2 1 212 2 1 212 2 1 212 2 1 212 2 0 212 0 0 212 1 ",
" 1 2 1 2 1 2 00000 00000 00000 00000 00000 1 1 1 00000 00000 2 1 1 00000 00000 00000 00000 00000 00000 00000 00000 00000 212 212 010",
"0 0 1 0 0 212 1 1 212 0 1 212 0 2 121 0 0 212 0 1 0 0 212 0 2 121 0 1 2 0 212 0 0 212 0 0 212 2 0 212 0 0 212 0 0 212 2 1 212 2 0 212 2 0 212 2 ",
"01 10 10 01 10 10 20 01 10 20 01 10 20 01 10 01 10 01 01 10 01 10 01 01 01 10 2 2",
"01 10 10 01 10 10 20 01 10 20 01 10 20 01 10 01 10 01 01 10 01 10 01 01 01 01 1 1 ",
"0 212 0 1 0 0 212 1 2 121 0 1 0 2 121 0 0 212 0 1 0 0 212 0 2 121 0 1 1 0 212 0 0 0 0 212 1 0 0 0 212 0 0 212 1 1 1 0 1 0 212 1 ",
" 00000 2 1 2 00000 00000 2 1 2 00000 00000 1 1 1 00000 00000 1 1 2 00000 2 1 2 00000 1 1 2 00000 00000 1 1 2 1 1 2 00000 "};