A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 1116 lines 33 kB view raw
1/* 2048 */ 2 3#define MIN(x,y) ((x<y)?x:y) 4#if MIN(LCD_WIDTH, LCD_HEIGHT)>=240 5_2048_tiles.48x48x24.bmp 6_2048_background.224x224x24.bmp 7#elif MIN(LCD_WIDTH, LCD_HEIGHT)>=176 8_2048_tiles.36x36x24.bmp 9_2048_background.168x168x24.bmp 10#elif MIN(LCD_WIDTH, LCD_HEIGHT)>=132 || MIN(LCD_WIDTH, LCD_HEIGHT)>=128 11#if (LCD_DEPTH > 2) 12_2048_tiles.26x26x24.bmp 13#else 14_2048_tiles.26x26x2.bmp 15#endif 16_2048_background.121x121x24.bmp 17#elif MIN(LCD_WIDTH, LCD_HEIGHT)>=110 18_2048_tiles.22x22x24.bmp 19_2048_background.103x103x24.bmp 20#elif MIN(LCD_WIDTH, LCD_HEIGHT)>=96 21_2048_tiles.19x19x24.bmp 22_2048_background.88x88x24.bmp 23#else 24/* default to smallest bitmaps */ 25_2048_tiles.12x12x24.bmp 26_2048_background.56x56x24.bmp 27#endif 28#undef MIN 29 30/* amaze */ 31#if defined(HAVE_LCD_COLOR) 32#if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 33amaze_tiles_9.9x9x16.bmp 34amaze_tiles_7.7x7x16.bmp 35#elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 36amaze_tiles_7.7x7x16.bmp 37amaze_tiles_5.5x5x16.bmp 38#else 39amaze_tiles_5.5x5x16.bmp 40amaze_tiles_3.3x3x16.bmp 41#endif 42 43#elif LCD_DEPTH > 1 44#if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 45amaze_tiles_9.9x9x2.bmp 46amaze_tiles_7.7x7x2.bmp 47#elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 48amaze_tiles_7.7x7x2.bmp 49amaze_tiles_5.5x5x2.bmp 50#else 51amaze_tiles_5.5x5x2.bmp 52amaze_tiles_3.3x3x2.bmp 53#endif 54 55#else /* mono */ 56#if LCD_WIDTH >= 220 || LCD_HEIGHT >= 220 57amaze_tiles_9.9x9x1.bmp 58amaze_tiles_7.7x7x1.bmp 59#elif LCD_WIDTH >= 160 || LCD_HEIGHT >= 160 60amaze_tiles_7.7x7x1.bmp 61amaze_tiles_5.5x5x1.bmp 62#else 63amaze_tiles_5.5x5x1.bmp 64amaze_tiles_3.3x3x1.bmp 65#endif 66#endif /* amaze */ 67 68/* Brickmania */ 69#ifdef HAVE_LCD_COLOR 70#if LCD_WIDTH >= 112 71brickmania_gameover.112x54x16.bmp 72#elif LCD_WIDTH >= 56 73brickmania_gameover.56x27x24.bmp 74#endif 75 76#if LCD_WIDTH >= 640 /* M:Robe 500 */ 77brickmania_ball.15x15x16.bmp 78brickmania_bricks.640x480x16.bmp 79brickmania_pads.640x480x16.bmp 80brickmania_short_pads.640x480x16.bmp 81brickmania_long_pads.640x480x16.bmp 82brickmania_break.640x480x16.bmp 83brickmania_powerups.640x480x16.bmp 84 85#elif LCD_WIDTH >= 480 /* M:Robe 500 */ 86brickmania_ball.11x11x16.bmp 87brickmania_bricks.480x640x16.bmp 88brickmania_pads.480x640x16.bmp 89brickmania_short_pads.480x640x16.bmp 90brickmania_long_pads.480x640x16.bmp 91brickmania_break.480x640x16.bmp 92brickmania_powerups.480x640x16.bmp 93 94#elif LCD_WIDTH >= 320 /* Ipod Video */ 95brickmania_ball.5x5x16.bmp 96brickmania_bricks.320x240x16.bmp 97brickmania_pads.320x240x16.bmp 98brickmania_short_pads.320x240x16.bmp 99brickmania_long_pads.320x240x16.bmp 100brickmania_break.320x240x16.bmp 101brickmania_powerups.320x240x16.bmp 102 103#elif (LCD_WIDTH == 240) && (LCD_HEIGHT == 320) /* Gigabeat F/X/S */ 104brickmania_ball.7x7x16.bmp 105brickmania_bricks.240x320x16.bmp 106brickmania_break.240x320x16.bmp 107brickmania_pads.240x320x16.bmp 108brickmania_short_pads.240x320x16.bmp 109brickmania_long_pads.240x320x16.bmp 110brickmania_powerups.240x320x16.bmp 111 112#elif LCD_WIDTH >= 220 113brickmania_ball.5x5x16.bmp 114brickmania_bricks.220x176x16.bmp 115brickmania_pads.220x176x16.bmp 116brickmania_short_pads.220x176x16.bmp 117brickmania_long_pads.220x176x16.bmp 118brickmania_break.220x176x16.bmp 119brickmania_powerups.220x176x16.bmp 120 121#elif LCD_WIDTH >= 176 122brickmania_ball.5x5x16.bmp 123brickmania_bricks.176x132x16.bmp 124brickmania_pads.176x132x16.bmp 125brickmania_short_pads.176x132x16.bmp 126brickmania_long_pads.176x132x16.bmp 127brickmania_powerups.176x132x16.bmp 128brickmania_break.176x132x16.bmp 129 130#elif LCD_WIDTH >= 160 131brickmania_ball.5x5x16.bmp 132brickmania_bricks.160x128x16.bmp 133brickmania_pads.160x128x16.bmp 134brickmania_short_pads.160x128x16.bmp 135brickmania_long_pads.160x128x16.bmp 136brickmania_powerups.160x128x16.bmp 137brickmania_break.160x128x16.bmp 138 139#elif LCD_WIDTH >= 132 140brickmania_ball.4x4x16.bmp 141brickmania_bricks.132x80x16.bmp 142brickmania_pads.132x80x16.bmp 143brickmania_short_pads.132x80x16.bmp 144brickmania_long_pads.132x80x16.bmp 145brickmania_powerups.132x80x16.bmp 146brickmania_break.132x80x16.bmp 147 148#elif LCD_WIDTH >= 128 149brickmania_ball.4x4x16.bmp 150brickmania_bricks.128x128x16.bmp 151brickmania_pads.132x80x16.bmp 152brickmania_short_pads.132x80x16.bmp 153brickmania_long_pads.132x80x16.bmp 154brickmania_powerups.132x80x16.bmp 155brickmania_break.132x80x16.bmp 156 157#elif LCD_WIDTH >= 96 158brickmania_ball.4x4x16.bmp 159brickmania_bricks.96x96x16.bmp 160brickmania_pads.96x96x16.bmp 161brickmania_short_pads.96x96x16.bmp 162brickmania_long_pads.96x96x16.bmp 163brickmania_powerups.132x80x16.bmp 164brickmania_break.96x96x16.bmp 165 166#endif /* different colour displays */ 167 168#elif LCD_DEPTH > 1 169brickmania_gameover.86x43x2.bmp 170brickmania_pads.160x128x2.bmp 171brickmania_short_pads.160x128x2.bmp 172brickmania_long_pads.160x128x2.bmp 173brickmania_powerups.160x128x2.bmp 174#if (LCD_WIDTH >= 160) 175brickmania_ball.5x5x2.bmp 176brickmania_bricks.160x128x2.bmp 177#elif LCD_WIDTH >= 138 178brickmania_ball.5x5x2.bmp 179brickmania_bricks.138x110x2.bmp 180#else /* M3, HD200 */ 181brickmania_ball.4x4x2.bmp 182brickmania_bricks.128x96x2.bmp 183#endif 184#else /* mono */ 185brickmania_gameover.59x30x1.bmp 186brickmania_bricks.112x64x1.bmp 187brickmania_ball.3x3x1.bmp 188brickmania_pads.112x64x1.bmp 189brickmania_short_pads.112x64x1.bmp 190brickmania_long_pads.112x64x1.bmp 191brickmania_powerups.112x64x1.bmp 192#endif 193 194/* Jackpot */ 195jackpot_slots.30x420x1.bmp 196 197/* Bubbles */ 198#ifdef HAVE_LCD_COLOR 199#if ((LCD_WIDTH >= 640) && (LCD_HEIGHT >= 480)) || \ 200 ((LCD_WIDTH >= 480) && (LCD_HEIGHT >= 640)) 201bubbles_emblem.640x480x16.bmp 202bubbles_background.640x480x16.bmp 203#elif (LCD_WIDTH >= 360) && (LCD_HEIGHT >= 400) 204bubbles_emblem.360x400x16.bmp 205bubbles_background.360x400x16.bmp 206#elif (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) 207bubbles_emblem.320x240x16.bmp 208bubbles_background.320x240x16.bmp 209#elif (LCD_WIDTH >= 240) && (LCD_HEIGHT >= 320) 210bubbles_emblem.320x240x16.bmp 211bubbles_background.240x320x16.bmp 212#elif (LCD_WIDTH >= 240) && (LCD_HEIGHT >= 240) 213bubbles_emblem.320x240x16.bmp 214bubbles_background.240x240x16.bmp 215#elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) 216bubbles_emblem.220x176x16.bmp 217bubbles_background.220x176x16.bmp 218#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 220) 219bubbles_emblem.220x176x16.bmp 220bubbles_background.176x220x16.bmp 221#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 132) 222bubbles_emblem.160x128x16.bmp 223bubbles_background.176x132x16.bmp 224#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) 225bubbles_emblem.160x128x16.bmp 226bubbles_background.160x128x16.bmp 227#elif (LCD_WIDTH >= 132) && (LCD_HEIGHT >= 80) 228bubbles_emblem.132x80x16.bmp 229bubbles_background.132x80x16.bmp 230#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 160) 231bubbles_emblem.160x128x16.bmp 232bubbles_background.128x160x16.bmp 233#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) 234bubbles_emblem.160x128x16.bmp 235bubbles_background.128x128x16.bmp 236#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 96) 237bubbles_emblem.128x96x16.bmp 238bubbles_background.128x96x16.bmp 239#elif (LCD_WIDTH >= 96) && (LCD_HEIGHT >= 96) 240bubbles_emblem.132x80x16.bmp 241bubbles_background.96x96x16.bmp 242#endif 243#elif LCD_DEPTH <= 2 /* greyscale, mono */ 244#if (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) 245bubbles_emblem.160x128x2.bmp 246#elif (LCD_WIDTH >= 138) && (LCD_HEIGHT >= 110) 247bubbles_emblem.138x110x2.bmp 248#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 96) 249bubbles_emblem.128x96x2.bmp 250#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 64) 251bubbles_emblem.112x64x1.bmp /* use the same emblems than Archos */ 252#elif (LCD_WIDTH >= 112) && (LCD_HEIGHT >= 64) 253bubbles_emblem.112x64x1.bmp 254#endif 255#endif 256 257/* ChessBox */ 258#if (LCD_WIDTH >= 480) 259chessbox_pieces.480x480x16.bmp 260#elif (LCD_WIDTH >= 240) && (LCD_HEIGHT >= 240) && (LCD_DEPTH >= 16) 261chessbox_pieces.240x240x16.bmp 262#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 176) && (LCD_DEPTH >= 16) 263chessbox_pieces.176x176x16.bmp 264#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) && (LCD_DEPTH > 1) 265chessbox_pieces.128x128x2.bmp 266#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) && (LCD_DEPTH == 1) 267chessbox_pieces.128x128x1.bmp 268#elif (LCD_WIDTH >= 104) && (LCD_HEIGHT >= 104) && (LCD_DEPTH > 1) 269chessbox_pieces.104x104x2.bmp 270#elif (LCD_WIDTH >= 96) && (LCD_HEIGHT >= 96) && (LCD_DEPTH > 1) 271chessbox_pieces.96x96x2.bmp 272#elif (LCD_WIDTH >= 80) && (LCD_HEIGHT >= 80) && (LCD_DEPTH > 1) 273chessbox_pieces.80x80x16.bmp 274#elif (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) && (LCD_DEPTH == 1) 275chessbox_pieces.80x64x1.bmp 276#elif (LCD_WIDTH >= 64) && (LCD_HEIGHT >= 64) 277chessbox_pieces.64x64x1.bmp 278#endif 279 280/* Clock */ 281#if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) && (LCD_DEPTH >= 16) 282clock_binary.320x240x16.bmp 283clock_digits.320x240x16.bmp 284clock_smalldigits.320x240x16.bmp 285clock_segments.320x240x16.bmp 286clock_smallsegments.320x240x16.bmp 287clock_logo.320x240x16.bmp 288clock_messages.320x240x16.bmp 289#elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) && (LCD_DEPTH >= 16) 290clock_binary.220x176x16.bmp 291clock_digits.220x176x16.bmp 292clock_smalldigits.220x176x16.bmp 293clock_segments.220x176x16.bmp 294clock_smallsegments.220x176x16.bmp 295clock_logo.220x176x16.bmp 296clock_messages.220x176x16.bmp 297#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 132) && (LCD_DEPTH >= 16) 298clock_binary.160x128x16.bmp 299clock_digits.160x128x16.bmp 300clock_smalldigits.160x128x16.bmp 301clock_segments.160x128x16.bmp 302clock_smallsegments.160x128x16.bmp 303clock_logo.176x132x16.bmp 304clock_messages.176x132x16.bmp 305#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 16) 306clock_binary.160x128x16.bmp 307clock_digits.160x128x16.bmp 308clock_smalldigits.160x128x16.bmp 309clock_segments.160x128x16.bmp 310clock_smallsegments.160x128x16.bmp 311clock_logo.160x128x16.bmp 312clock_messages.160x128x16.bmp 313#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 16) 314clock_binary.128x128x16.bmp 315clock_digits.128x128x16.bmp 316clock_smalldigits.128x128x16.bmp 317clock_segments.128x128x16.bmp 318clock_smallsegments.128x128x16.bmp 319clock_logo.128x128x16.bmp 320clock_messages.128x128x16.bmp 321#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 2) 322clock_binary.160x128x2.bmp 323clock_digits.160x128x2.bmp 324clock_smalldigits.160x128x2.bmp 325clock_segments.160x128x2.bmp 326clock_smallsegments.160x128x2.bmp 327clock_logo.160x128x2.bmp 328clock_messages.160x128x2.bmp 329#elif (LCD_WIDTH >= 138) && (LCD_HEIGHT >= 110) && (LCD_DEPTH >= 2) 330clock_binary.138x110x2.bmp 331clock_digits.138x110x2.bmp 332clock_smalldigits.160x128x2.bmp 333clock_segments.138x110x2.bmp 334clock_smallsegments.160x128x2.bmp 335clock_logo.138x110x2.bmp 336clock_messages.138x110x2.bmp 337#elif (LCD_WIDTH >= 132) && (LCD_HEIGHT >= 80) && (LCD_DEPTH >= 16) 338clock_binary.132x80x16.bmp 339clock_digits.132x80x16.bmp 340clock_smalldigits.132x80x16.bmp 341clock_segments.132x80x16.bmp 342clock_smallsegments.132x80x16.bmp 343clock_logo.132x80x16.bmp 344clock_messages.132x80x16.bmp 345#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 2) 346clock_binary.128x128x2.bmp 347clock_digits.128x128x2.bmp 348clock_smalldigits.128x128x2.bmp 349clock_segments.128x128x2.bmp 350clock_smallsegments.128x128x2.bmp 351clock_logo.128x128x2.bmp 352clock_messages.128x128x2.bmp 353#elif (LCD_WIDTH >= 96) && (LCD_HEIGHT >= 96) && (LCD_DEPTH >= 16) 354clock_binary.96x96x16.bmp 355clock_digits.132x80x16.bmp 356clock_smalldigits.128x128x16.bmp 357clock_segments.132x80x16.bmp 358clock_smallsegments.128x128x16.bmp 359clock_logo.96x96x16.bmp 360clock_messages.96x96x16.bmp 361#elif (LCD_WIDTH >= 96) && (LCD_HEIGHT >= 64) && (LCD_DEPTH >= 1) 362clock_binary.112x64x1.bmp 363clock_digits.112x64x1.bmp 364clock_smalldigits.112x64x1.bmp 365clock_segments.112x64x1.bmp 366clock_smallsegments.112x64x1.bmp 367clock_logo.112x64x1.bmp 368clock_messages.112x64x1.bmp 369#endif 370 371/* FFT only needs a bitmap with colors mapping to amplitude */ 372#ifdef HAVE_LCD_COLOR 373fft_colors.16.bmp 374#endif 375 376/* Flipit */ 377#ifdef HAVE_LCD_COLOR 378#if LCD_WIDTH >= 480 379flipit_cursor.112x112x16.bmp 380flipit_tokens.112x224x16.bmp 381#elif LCD_WIDTH >= 280 && LCD_HEIGHT >= 234 382flipit_cursor.56x56x16.bmp 383flipit_tokens.56x112x16.bmp 384#elif LCD_WIDTH >= 200 && LCD_HEIGHT >= 170 385flipit_cursor.40x40x16.bmp 386flipit_tokens.40x80x16.bmp 387#elif LCD_WIDTH >= 140 && LCD_HEIGHT >= 122 388flipit_cursor.28x28x16.bmp 389flipit_tokens.28x56x16.bmp 390#elif LCD_WIDTH >= 125 && LCD_HEIGHT >= 110 391flipit_cursor.25x25x16.bmp 392flipit_tokens.25x50x16.bmp 393#elif LCD_WIDTH >= 85 && LCD_HEIGHT >= 78 394flipit_cursor.17x17x16.bmp 395flipit_tokens.17x34x16.bmp 396#endif 397#elif LCD_DEPTH > 1 /* greyscale */ 398#if LCD_WIDTH >= 140 && LCD_HEIGHT >= 122 399flipit_tokens.28x56x2.bmp 400#elif LCD_WIDTH >= 125 && LCD_HEIGHT >= 110 401flipit_tokens.25x50x2.bmp 402#elif LCD_WIDTH >= 105 && LCD_HEIGHT >= 96 403flipit_tokens.21x42x2.bmp 404#endif 405#else /* monochrome */ 406#if LCD_WIDTH >= 140 && LCD_HEIGHT >= 122 407flipit_tokens.28x56x1.bmp 408#elif LCD_WIDTH >= 80 && LCD_HEIGHT >= 62 409flipit_tokens.16x26x1.bmp 410#endif 411#endif 412 413/* Invadrox */ 414#if defined HAVE_LCD_COLOR 415#if LCD_WIDTH >= 640 416invadrox_alien_explode.37x20x16.bmp 417invadrox_aliens.68x68x16.bmp 418invadrox_ships.46x69x16.bmp 419invadrox_bombs.27x126x16.bmp 420invadrox_shield.64x47x16.bmp 421invadrox_ufo.46x20x16.bmp 422invadrox_ufo_explode.61x23x16.bmp 423invadrox_numbers.140x19x16.bmp 424#if LCD_WIDTH == 480 425invadrox_background.480x640x16.bmp 426#elif LCD_WIDTH == 640 427invadrox_background.640x480x16.bmp 428#endif 429 430#elif LCD_WIDTH >= 220 431invadrox_aliens.24x24x16.bmp 432invadrox_alien_explode.13x7x16.bmp 433invadrox_ships.16x24x16.bmp 434invadrox_bombs.9x42x16.bmp 435invadrox_shield.22x16x16.bmp 436invadrox_ufo.16x7x16.bmp 437invadrox_ufo_explode.21x8x16.bmp 438invadrox_numbers.50x7x16.bmp 439#if LCD_WIDTH == 360 && LCD_HEIGHT == 400 440invadrox_background.360x400x16.bmp 441#elif LCD_WIDTH == 320 442invadrox_background.320x240x16.bmp 443#elif LCD_WIDTH == 240 && LCD_HEIGHT == 240 444invadrox_background.240x240x16.bmp 445#elif LCD_WIDTH == 240 446invadrox_background.240x320x16.bmp 447#elif LCD_WIDTH == 220 448invadrox_background.220x176x16.bmp 449#endif 450 451#elif LCD_WIDTH >= 160 452invadrox_aliens.16x15x16.bmp 453invadrox_alien_explode.10x5x16.bmp 454invadrox_ships.10x15x16.bmp 455invadrox_bombs.9x30x16.bmp 456invadrox_shield.15x10x16.bmp 457invadrox_ufo.11x5x16.bmp 458invadrox_ufo_explode.14x5x16.bmp 459invadrox_numbers.40x5x16.bmp 460#if LCD_WIDTH == 176 && LCD_HEIGHT == 220 461invadrox_background.176x220x16.bmp 462#elif LCD_WIDTH == 176 && LCD_HEIGHT == 132 463invadrox_background.176x132x16.bmp 464#elif LCD_WIDTH == 160 && LCD_HEIGHT == 128 465invadrox_background.160x128x16.bmp 466#endif 467#endif /* LCD_WIDTH */ 468#elif LCD_DEPTH == 2 /* Greyscale */ 469invadrox_aliens.16x15x16.bmp 470invadrox_alien_explode.10x5x16.bmp 471invadrox_ships.10x15x2.bmp 472invadrox_bombs.9x30x16.bmp 473invadrox_shield.15x10x2.bmp 474invadrox_ufo.11x5x2.bmp 475invadrox_ufo_explode.14x5x2.bmp 476invadrox_numbers.40x5x16.bmp 477invadrox_background.160x128x16.bmp 478#endif /* colour depth */ 479 480/* Jewels */ 481#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) 482jewels.112x64x1.bmp 483#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 64) 484jewels.112x64x1.bmp 485#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 128) 486jewels.128x128x16.bmp 487#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 160) 488jewels.128x128x16.bmp 489#elif ((LCD_WIDTH == 132) && (LCD_HEIGHT == 80)) || \ 490 ((LCD_WIDTH == 96) && (LCD_HEIGHT == 96)) 491jewels.132x80x16.bmp 492#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 96) && !defined(HAVE_LCD_COLOR) 493jewels.128x96x2.bmp 494#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 96) && defined(HAVE_LCD_COLOR) 495jewels.128x96x16.bmp 496#elif (LCD_WIDTH == 138) && (LCD_HEIGHT == 110) 497jewels.138x110x2.bmp 498#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && !defined(HAVE_LCD_COLOR) 499jewels.160x128x2.bmp 500#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && defined(HAVE_LCD_COLOR) 501jewels.160x128x16.bmp 502#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 132) 503jewels.160x128x16.bmp 504#elif (LCD_WIDTH == 220) && (LCD_HEIGHT == 176) 505jewels.220x176x16.bmp 506#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 220) 507jewels.220x176x16.bmp 508#elif (LCD_WIDTH == 240) && (LCD_HEIGHT >= 240) 509jewels.240x240x16.bmp 510#elif (LCD_WIDTH == 240) && (LCD_HEIGHT >= 320) 511jewels.320x240x16.bmp 512#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) 513jewels.320x240x16.bmp 514#elif (LCD_WIDTH == 360) && (LCD_HEIGHT == 400) 515jewels.360x400x16.bmp 516#elif ((LCD_WIDTH == 640) && (LCD_HEIGHT == 480)) || \ 517 ((LCD_WIDTH == 480) && (LCD_HEIGHT == 640)) 518jewels.640x480x16.bmp 519#endif 520 521/* Minesweeper */ 522#ifdef HAVE_LCD_COLOR 523#if ( LCD_HEIGHT * LCD_WIDTH ) / ( 16 * 16 ) >= 130 524minesweeper_tiles.16x16x24.bmp 525#elif ( LCD_HEIGHT * LCD_WIDTH ) / ( 12 * 12 ) >= 130 526minesweeper_tiles.12x12x24.bmp 527#else 528minesweeper_tiles.10x10x24.bmp 529#endif 530#elif LCD_DEPTH > 1 531minesweeper_tiles.12x12x2.bmp 532#else 533minesweeper_tiles.8x8x1.bmp 534#endif 535 536/* PegBox */ 537#ifdef HAVE_LCD_COLOR 538/* for most targets only LCD_WIDTH is important, e.g. Nano and e200 use the same set */ 539#if LCD_WIDTH >= 640 540pegbox_pieces.48x48x16.bmp 541pegbox_header.640x80x16.bmp 542#elif LCD_WIDTH >= 320 543pegbox_pieces.24x24x16.bmp 544pegbox_header.320x40x16.bmp 545#elif LCD_WIDTH >= 240 546pegbox_pieces.16x16x16.bmp 547pegbox_header.240x40x16.bmp 548#elif LCD_WIDTH >= 220 549pegbox_pieces.16x16x16.bmp 550pegbox_header.220x40x16.bmp 551#elif LCD_WIDTH >= 176 552pegbox_pieces.12x12x16.bmp 553pegbox_header.176x28x16.bmp 554#elif LCD_WIDTH >= 160 555pegbox_pieces.12x12x16.bmp 556pegbox_header.160x24x16.bmp 557#elif LCD_WIDTH >= 132 558pegbox_pieces.9x9x16.bmp 559pegbox_header.22x80x16.bmp 560#elif LCD_WIDTH >= 128 561pegbox_pieces.10x10x16.bmp 562# if LCD_HEIGHT > 96 563pegbox_header.128x42x16.bmp 564# else 565pegbox_header.128x16x16.bmp 566# endif 567#elif LCD_WIDTH >= 96 568pegbox_pieces.8x8x16.bmp 569pegbox_header.96x32x16.bmp 570#endif /* different colour displays */ 571#elif LCD_DEPTH > 1 572#if LCD_WIDTH >= 160 573pegbox_pieces.12x12x2.bmp 574pegbox_header.160x24x2.bmp 575#elif LCD_WIDTH >= 138 576pegbox_pieces.10x10x2.bmp 577pegbox_header.138x26x2.bmp 578#elif LCD_WIDTH >= 128 579pegbox_pieces.10x10x2.bmp 580pegbox_header.128x16x2.bmp 581#endif /* different greyscale displays */ 582#else /* mono */ 583#if LCD_WIDTH >= 160 584pegbox_pieces.12x12x1.bmp 585pegbox_header.160x24x1.bmp 586#elif LCD_WIDTH >= 128 587pegbox_header.20x64x1.bmp 588pegbox_pieces.9x7x1.bmp 589#elif LCD_WIDTH >= 112 590pegbox_header.112x8x1.bmp 591pegbox_pieces.9x7x1.bmp 592#endif 593#endif 594 595/* Puzzles */ 596#if defined(HAVE_LCD_COLOR) && (LCD_STRIDEFORMAT == HORIZONTAL_STRIDE) 597puzzles_cursor.11x16x24.bmp 598#endif 599 600/* Rockblox */ 601#if LCD_DEPTH >= 16 /* colour versions*/ 602#if (LCD_WIDTH == 640) && (LCD_HEIGHT == 480) 603rockblox_background.640x480x16.bmp 604#elif (LCD_WIDTH == 360) && (LCD_HEIGHT == 400) 605rockblox_background.360x400x16.bmp 606#elif (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) 607rockblox_background.320x240x16.bmp 608#elif (LCD_WIDTH == 240) && (LCD_HEIGHT >= 320) 609rockblox_background.240x320x16.bmp 610#elif (LCD_WIDTH == 240) && (LCD_HEIGHT == 240) 611rockblox_background.240x240x16.bmp 612#elif (LCD_WIDTH == 220) && (LCD_HEIGHT == 176) 613rockblox_background.220x176x16.bmp 614#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 220) 615rockblox_background.176x220x16.bmp 616#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 132) 617rockblox_background.176x132x16.bmp 618#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) 619rockblox_background.160x128x16.bmp 620#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 160) 621rockblox_background.128x160x16.bmp 622#elif (LCD_WIDTH == 128) && (LCD_HEIGHT >= 128) 623rockblox_background.128x128x16.bmp 624#elif (LCD_WIDTH == 132) && (LCD_HEIGHT == 80) 625rockblox_background.132x80x16.bmp 626#elif (LCD_WIDTH == 128 && LCD_HEIGHT == 96) 627rockblox_background.128x96x2.bmp 628#elif (LCD_WIDTH == 96 && LCD_HEIGHT == 96) 629rockblox_background.96x96x16.bmp 630#endif 631#elif LCD_DEPTH == 2 /* greyscale versions */ 632#if (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) 633rockblox_background.160x128x2.bmp 634#elif (LCD_WIDTH == 138) && (LCD_HEIGHT == 110) 635rockblox_background.138x110x2.bmp 636#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 128) 637rockblox_background.128x128x2.bmp 638#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 96) 639rockblox_background.128x96x2.bmp 640#endif 641#elif LCD_DEPTH == 1 /* monochrome versions */ 642#if (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) 643rockblox_background.160x128x1.bmp 644#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 64) 645rockblox_background.128x64x1.bmp 646#elif (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) 647rockblox_background.112x64x1.bmp 648#endif 649#endif /* LCD_DEPTH */ 650 651 652/* Rockpaint */ 653#ifdef HAVE_LCD_COLOR 654rockpaint.8x8x24.bmp 655rockpaint_hsvrgb.8x10x24.bmp 656#endif 657 658/* Snake2 */ 659#if (LCD_WIDTH >= 640) && (LCD_HEIGHT >= 480) && (LCD_DEPTH >= 16) 660snake2_header1.640x480x16.bmp 661snake2_header2.640x480x16.bmp 662snake2_left.640x480x16.bmp 663snake2_right.640x480x16.bmp 664snake2_bottom.640x480x16.bmp 665#elif (LCD_WIDTH >= 360) && (LCD_HEIGHT >= 400) && (LCD_DEPTH >= 16) 666snake2_header1.360x400x16.bmp 667snake2_header2.360x400x16.bmp 668snake2_left.360x400x16.bmp 669snake2_right.360x400x16.bmp 670snake2_bottom.360x400x16.bmp 671#elif (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) && (LCD_DEPTH >= 16) 672snake2_header1.320x240x16.bmp 673snake2_header2.320x240x16.bmp 674snake2_left.320x240x16.bmp 675snake2_right.320x240x16.bmp 676snake2_bottom.320x240x16.bmp 677#elif (LCD_WIDTH >= 240) && (LCD_HEIGHT >= 192) && (LCD_DEPTH >= 16) 678snake2_header1.240x320x16.bmp 679snake2_header2.240x320x16.bmp 680snake2_left.240x320x16.bmp 681snake2_right.240x320x16.bmp 682snake2_bottom.240x320x16.bmp 683#elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) && (LCD_DEPTH >= 16) 684snake2_header1.220x176x16.bmp 685snake2_header2.220x176x16.bmp 686snake2_left.220x176x16.bmp 687snake2_right.220x176x16.bmp 688snake2_bottom.220x176x16.bmp 689#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 132) && (LCD_DEPTH >= 16) 690snake2_header1.176x132x16.bmp 691snake2_header2.176x132x16.bmp 692snake2_left.176x132x16.bmp 693snake2_right.176x132x16.bmp 694snake2_bottom.176x132x16.bmp 695#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 16) 696snake2_header1.160x128x16.bmp 697snake2_header2.160x128x16.bmp 698snake2_left.160x128x16.bmp 699snake2_right.160x128x16.bmp 700snake2_bottom.160x128x16.bmp 701#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 1) 702snake2_header1.160x128x2.bmp 703snake2_header2.160x128x2.bmp 704snake2_left.160x128x2.bmp 705snake2_right.160x128x2.bmp 706snake2_bottom.160x128x2.bmp 707#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 96) && (LCD_DEPTH >= 16) 708snake2_header1.128x96x16.bmp 709snake2_header2.128x96x16.bmp 710snake2_left.128x96x16.bmp 711snake2_right.128x96x16.bmp 712snake2_bottom.128x96x16.bmp 713#endif 714 715/* Sokoban*/ 716/* biggest tilesize: 20 columns x 16 rows + stat box need to fit (minimum) 717* allow clipping of up to 4 pixels in favour of using a bigger tilesize 718* stat box width of 32 in horizontal & height of 25 pixels in vertical layout 719* currently the horizontal layout fits best on all wider than high displays 720 */ 721 722#if LCD_WIDTH > LCD_HEIGHT 723#define SOKOBAN_TILESIZE ((LCD_WIDTH + 4 -32)/20) 724#else 725#define SOKOBAN_TILESIZE ((LCD_WIDTH + 4)/20) 726#endif 727 728#ifdef HAVE_LCD_COLOR 729#if SOKOBAN_TILESIZE >= 28 730sokoban_tiles.28x28x16.bmp 731#elif SOKOBAN_TILESIZE >= 14 732sokoban_tiles.14x14x16.bmp 733#elif SOKOBAN_TILESIZE >= 12 734sokoban_tiles.12x12x16.bmp 735#elif SOKOBAN_TILESIZE >= 9 736sokoban_tiles.9x9x16.bmp 737#elif SOKOBAN_TILESIZE >= 7 738sokoban_tiles.7x7x16.bmp 739#elif SOKOBAN_TILESIZE >= 6 740sokoban_tiles.6x6x16.bmp 741#elif SOKOBAN_TILESIZE >= 5 742sokoban_tiles.5x5x16.bmp 743#endif /* tilesize */ 744#elif LCD_DEPTH > 1 /*greyscale */ 745#if SOKOBAN_TILESIZE >= 6 746sokoban_tiles.6x6x2.bmp 747#elif SOKOBAN_TILESIZE >= 5 748sokoban_tiles.5x5x2.bmp 749#endif /* tilesize */ 750#else /* mono */ 751#if SOKOBAN_TILESIZE >= 6 752sokoban_tiles.6x6x1.bmp 753#elif SOKOBAN_TILESIZE >= 4 754sokoban_tiles.4x4x1.bmp 755#endif /* tilesize */ 756#endif /* HAVE_COLOR */ 757 758/* Solitaire and Blackjack */ 759#ifdef HAVE_LCD_COLOR 760#if LCD_WIDTH >= 640 761card_back.74x98x16.bmp 762card_deck.962x392x16.bmp 763solitaire_suitsi.74x392x16.bmp 764 765#elif LCD_WIDTH >= 480 766card_back.55x73x16.bmp 767card_deck.715x291x16.bmp 768solitaire_suitsi.55x291x16.bmp 769 770#elif LCD_WIDTH >= 320 771card_back.37x49x16.bmp 772card_deck.481x196x16.bmp 773solitaire_suitsi.37x196x16.bmp 774#elif LCD_WIDTH >= 220 775card_back.26x33x16.bmp 776card_deck.338x132x16.bmp 777solitaire_suitsi.26x132x16.bmp 778#elif LCD_WIDTH >= 160 779card_back.18x23x16.bmp 780card_deck.234x92x16.bmp 781solitaire_suitsi.18x92x16.bmp 782#elif LCD_WIDTH >= 128 783card_back.15x20x16.bmp 784card_deck.195x80x16.bmp 785solitaire_suitsi.15x80x16.bmp 786#elif LCD_WIDTH >= 96 787card_back.11x15x16.bmp 788card_deck.143x60x16.bmp 789solitaire_suitsi.11x60x16.bmp 790#endif 791#elif LCD_DEPTH > 1 /* greyscale */ 792#if LCD_WIDTH >= 160 793card_back.18x23x2.bmp 794card_deck.234x92x2.bmp 795solitaire_suitsi.18x92x2.bmp 796#elif LCD_WIDTH >= 128 797card_back.15x20x2.bmp 798card_deck.195x80x2.bmp 799solitaire_suitsi.15x80x2.bmp 800#endif 801#else /* monochrome */ 802#if LCD_WIDTH >= 160 803card_back.18x23x1.bmp 804card_deck.234x92x1.bmp 805solitaire_suitsi.18x92x1.bmp 806#elif LCD_WIDTH >= 112 807card_back.13x13x1.bmp 808card_deck.169x52x1.bmp 809solitaire_suitsi.13x52x1.bmp 810#endif 811#endif 812 813#if (LCD_HEIGHT/10) < (LCD_WIDTH/16) 814#define STAR_TILESIZE (LCD_HEIGHT/10) 815#else 816#define STAR_TILESIZE (LCD_WIDTH/16) 817#endif 818 819/* Star */ 820#ifdef HAVE_LCD_COLOR 821#if (STAR_TILESIZE >= 40) 822star_tiles.40x40.bmp 823#elif (STAR_TILESIZE >= 20) 824star_tiles.20x20.bmp 825#elif (STAR_TILESIZE >= 15) 826star_tiles.15x15.bmp 827#elif (STAR_TILESIZE >= 13) 828star_tiles.13x13.bmp 829#elif (STAR_TILESIZE >= 11) 830star_tiles.11x11.bmp 831#elif (STAR_TILESIZE >= 10) 832star_tiles.10x10.bmp 833#elif (STAR_TILESIZE >= 8) 834star_tiles.8x8.bmp 835#elif (STAR_TILESIZE >= 6) 836star_tiles.6x6.bmp 837#endif 838#elif LCD_DEPTH > 1 /* grey */ 839#if LCD_WIDTH >= 160 && LCD_HEIGHT >= 98 840star_tiles.10x10x2.bmp 841#elif LCD_WIDTH >= 128 && LCD_HEIGHT >= 80 842star_tiles.8x8x2.bmp 843#endif 844#else /* monochrome */ 845#if LCD_WIDTH >= 112 && LCD_HEIGHT >= 62 846star_tiles.6x7x1.bmp 847#endif 848#endif 849 850/* Sudoku */ 851#if LCD_WIDTH >= LCD_HEIGHT 852#if (LCD_WIDTH == 112 || LCD_WIDTH == 128) && (LCD_HEIGHT == 64) && (LCD_DEPTH == 1) 853sudoku_start.112x64x1.bmp 854sudoku_normal.112x64x1.bmp 855sudoku_inverse.112x64x1.bmp 856#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 96) && (LCD_DEPTH == 2) 857sudoku_start.128x96x2.bmp 858sudoku_normal.128x96x2.bmp 859sudoku_inverse.128x96x2.bmp 860#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 96) && (LCD_DEPTH >= 16) 861sudoku_start.128x96x16.bmp 862sudoku_normal.128x96x16.bmp 863sudoku_inverse.128x96x16.bmp 864#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 2) 865sudoku_start.128x128x2.bmp 866sudoku_normal.128x128x2.bmp 867sudoku_inverse.128x128x2.bmp 868#elif (LCD_WIDTH == 138) && (LCD_HEIGHT == 110) && (LCD_DEPTH >= 2) 869sudoku_start.138x110x2.bmp 870sudoku_normal.138x110x2.bmp 871sudoku_inverse.138x110x2.bmp 872#elif (LCD_WIDTH == 132 && LCD_HEIGHT == 80) && (LCD_DEPTH >= 16) 873sudoku_start.132x80x16.bmp 874sudoku_normal.132x80x16.bmp 875sudoku_inverse.132x80x16.bmp 876#elif (LCD_WIDTH == 96 && LCD_HEIGHT == 96) && (LCD_DEPTH >= 16) 877sudoku_start.96x70x14.bmp 878sudoku_normal.96x70x14.bmp 879sudoku_inverse.96x70x14.bmp 880#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 128) && (LCD_DEPTH >= 16) 881sudoku_start.128x128x16.bmp 882sudoku_normal.128x128x16.bmp 883sudoku_inverse.128x128x16.bmp 884#elif ((LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH >= 16)) || \ 885 ((LCD_WIDTH == 176) && (LCD_HEIGHT == 132) && (LCD_DEPTH >= 16)) 886sudoku_start.160x128x16.bmp 887sudoku_normal.160x128x16.bmp 888sudoku_inverse.160x128x16.bmp 889#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH >= 2) 890sudoku_start.160x128x2.bmp 891sudoku_normal.160x128x2.bmp 892sudoku_inverse.160x128x2.bmp 893#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 1) 894sudoku_start.160x128x1.bmp 895sudoku_normal.160x128x1.bmp 896sudoku_inverse.160x128x1.bmp 897#elif (LCD_WIDTH == 220) && (LCD_HEIGHT == 176) && (LCD_DEPTH >= 16) 898sudoku_start.220x176x16.bmp 899sudoku_normal.220x176x16.bmp 900sudoku_inverse.220x176x16.bmp 901#elif (LCD_WIDTH == 240) && (LCD_HEIGHT == 240) && (LCD_DEPTH == 16) 902sudoku_start.240x240x16.bmp 903sudoku_normal.240x240x16.bmp 904sudoku_inverse.240x240x16.bmp 905#elif (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) && (LCD_DEPTH == 2) 906/* Temporary bitmaps for Archos AV300 */ 907sudoku_start.320x240x16.bmp 908sudoku_normal.320x240x16.bmp 909sudoku_inverse.320x240x16.bmp 910#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) && (LCD_DEPTH >= 16) 911sudoku_start.320x240x16.bmp 912sudoku_normal.320x240x16.bmp 913sudoku_inverse.320x240x16.bmp 914#elif (LCD_WIDTH == 640) && (LCD_HEIGHT == 480) && (LCD_DEPTH >= 16) 915sudoku_start.640x480x16.bmp 916sudoku_normal.640x480x16.bmp 917sudoku_inverse.640x480x16.bmp 918#endif 919#else /* LCD_WIDTH < LCD_HEIGHT */ 920#if ((LCD_WIDTH == 128) && (LCD_HEIGHT == 160) && (LCD_DEPTH >= 16)) 921sudoku_start.128x128x16.bmp 922sudoku_normal.128x128x16.bmp 923sudoku_inverse.128x128x16.bmp 924#elif ((LCD_WIDTH == 176) && (LCD_HEIGHT == 220) && (LCD_DEPTH >= 16)) 925sudoku_start.220x176x16.bmp 926sudoku_normal.220x176x16.bmp 927sudoku_inverse.220x176x16.bmp 928#elif (LCD_WIDTH >= 240) && (LCD_HEIGHT >= 320) && (LCD_DEPTH >= 16) 929sudoku_start.320x240x16.bmp 930sudoku_normal.320x240x16.bmp 931sudoku_inverse.320x240x16.bmp 932#endif 933#endif 934 935/* Superdom */ 936#if LCD_DEPTH >= 16 937#if ((LCD_WIDTH == 220) && (LCD_HEIGHT == 176)) 938superdom_boarditems.220x176x16.bmp 939#elif ((LCD_WIDTH == 176) && (LCD_HEIGHT == 132)) || \ 940 ((LCD_WIDTH == 160) && (LCD_HEIGHT == 128)) || \ 941 ((LCD_WIDTH == 176) && (LCD_HEIGHT == 220)) 942superdom_boarditems.176x132x16.bmp 943#elif ((LCD_WIDTH == 240) && (LCD_HEIGHT == 240)) || \ 944 ((LCD_WIDTH == 320) && (LCD_HEIGHT == 240)) 945superdom_boarditems.320x240x16.bmp 946#elif ((LCD_WIDTH == 240) && (LCD_HEIGHT == 320)) || \ 947 ((LCD_WIDTH == 240) && (LCD_HEIGHT == 400)) || \ 948 ((LCD_WIDTH == 360) && (LCD_HEIGHT == 400)) 949superdom_boarditems.240x320x16.bmp 950#elif (LCD_WIDTH == 480 && LCD_HEIGHT == 640) 951superdom_boarditems.480x640x16.bmp 952#elif (LCD_WIDTH == 640 && LCD_HEIGHT == 480) 953superdom_boarditems.640x480x16.bmp 954#endif 955#endif 956 957/* Matrix */ 958#if LCD_DEPTH > 1 959matrix_bold.bmp 960matrix_normal.bmp 961#endif 962 963/* Sliding puzzle */ 964#if (LCD_WIDTH != LCD_HEIGHT) 965#define SMALLER_DIMENSION ((LCD_WIDTH < LCD_HEIGHT) ? LCD_WIDTH : LCD_HEIGHT) 966#else /* 5/6GB H10 with square display */ 967#define SMALLER_DIMENSION (LCD_HEIGHT - 20) 968#endif 969 970#if defined HAVE_LCD_COLOR 971#if SMALLER_DIMENSION <= 80 972sliding_puzzle.80x80x16.bmp 973#elif SMALLER_DIMENSION <= 96 974sliding_puzzle.96x96x16.bmp 975#elif SMALLER_DIMENSION <= 108 976sliding_puzzle.108x108x16.bmp 977#elif SMALLER_DIMENSION <= 128 978sliding_puzzle.128x128x16.bmp 979#elif SMALLER_DIMENSION <= 132 980sliding_puzzle.132x132x16.bmp 981#elif SMALLER_DIMENSION <= 176 982sliding_puzzle.176x176x16.bmp 983#elif SMALLER_DIMENSION <= 240 984sliding_puzzle.240x240x16.bmp 985#elif SMALLER_DIMENSION <= 360 986sliding_puzzle.360x360x16.bmp 987#elif SMALLER_DIMENSION <= 480 988sliding_puzzle.480x480x16.bmp 989#endif 990#elif (LCD_DEPTH > 1) 991#if SMALLER_DIMENSION <= 96 992sliding_puzzle.96x96x2.bmp 993#elif SMALLER_DIMENSION <= 110 994sliding_puzzle.108x108x2.bmp 995#elif SMALLER_DIMENSION <= 128 996sliding_puzzle.128x128x2.bmp 997#endif 998#else /* mono targets, one size currently */ 999sliding_puzzle.80x64x1.bmp 1000#endif 1001 1002/* Logo */ 1003#if LCD_DEPTH >= 16 1004#if (LCD_WIDTH >= 320) 1005rockboxlogo.220x68x16.bmp 1006#elif (LCD_WIDTH > 160) 1007rockboxlogo.128x40x16.bmp 1008#else 1009rockboxlogo.90x28x16.bmp 1010#endif 1011 1012#elif LCD_DEPTH == 2 1013#if (LCD_WIDTH > 138) 1014rockboxlogo.138x46x2.bmp 1015#else 1016rockboxlogo.91x32x2.bmp 1017#endif 1018 1019#elif LCD_DEPTH == 1 1020#if (LCD_WIDTH > 112) 1021 /* Such a screen isn't currently in any target */ 1022rockboxlogo.112x30x1.bmp 1023#else 1024rockboxlogo.91x32x1.bmp 1025#endif 1026#endif 1027 1028/* Credits logo */ 1029#if (LCD_DEPTH == 1) 1030#if (LCD_WIDTH == 160) 1031creditslogo.160x53x1.bmp 1032#elif (LCD_WIDTH == 128) 1033creditslogo.128x42x1.bmp 1034#else 1035creditslogo.112x30x1.bmp 1036#endif 1037#elif (LCD_WIDTH == 96) && (LCD_DEPTH >= 16) 1038creditslogo.96x30x16.bmp 1039#elif (LCD_WIDTH == 128) && (LCD_DEPTH == 2) 1040creditslogo.128x42x2.bmp 1041#elif (LCD_WIDTH == 128) && (LCD_DEPTH >= 16) 1042creditslogo.128x40x16.bmp 1043#elif (LCD_WIDTH == 132) && (LCD_DEPTH >= 16) 1044creditslogo.132x40x16.bmp 1045#elif (LCD_WIDTH == 138) && (LCD_DEPTH >= 2) 1046creditslogo.138x46x2.bmp 1047#elif (LCD_WIDTH == 160) && (LCD_DEPTH == 2) 1048creditslogo.160x53x2.bmp 1049#elif (LCD_WIDTH == 320) && (LCD_DEPTH == 2) 1050creditslogo.160x53x2.bmp 1051#elif (LCD_WIDTH == 160) && (LCD_DEPTH >= 16) 1052creditslogo.160x50x16.bmp 1053#elif (LCD_WIDTH == 176) && (LCD_DEPTH >= 16) 1054creditslogo.176x54x16.bmp 1055#elif (LCD_WIDTH == 220) && (LCD_DEPTH >= 16) 1056creditslogo.220x68x16.bmp 1057#elif (LCD_WIDTH == 240) && (LCD_DEPTH >= 16) 1058creditslogo.240x74x16.bmp 1059#elif (LCD_WIDTH >= 320) && (LCD_WIDTH < 480) && (LCD_DEPTH >= 16) 1060creditslogo.320x98x16.bmp 1061#elif (LCD_WIDTH >= 480) && (LCD_WIDTH < 640) && (LCD_DEPTH >= 16) 1062creditslogo.480x149x16.bmp 1063#elif (LCD_WIDTH >= 640) && (LCD_DEPTH >= 16) 1064creditslogo.640x198x16.bmp 1065#endif 1066 1067/* Pitch detector */ 1068/* The following preprocessor condition must match the condition */ 1069/* for pitch detector from plugins/SOURCES */ 1070#if defined(HAVE_RECORDING) && \ 1071 (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) 1072#if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) && (LCD_DEPTH >= 16) 1073pitch_notes.320x240x16.bmp 1074#elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) && (LCD_DEPTH >= 16) 1075pitch_notes.220x176x16.bmp 1076#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 132) && (LCD_DEPTH >= 16) 1077pitch_notes.176x132x16.bmp 1078#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 16) 1079pitch_notes.160x128x16.bmp 1080#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 16) 1081pitch_notes.128x128x16.bmp 1082#elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 2) 1083pitch_notes.160x128x2.bmp 1084#elif (LCD_WIDTH >= 138) && (LCD_HEIGHT >= 110) && (LCD_DEPTH >= 2) 1085pitch_notes.160x128x2.bmp 1086#elif (LCD_WIDTH >= 132) && (LCD_HEIGHT >= 80) && (LCD_DEPTH >= 16) 1087pitch_notes.132x80x16.bmp 1088#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) && (LCD_DEPTH >= 2) 1089pitch_notes.128x128x2.bmp 1090#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 96) && (LCD_DEPTH >= 2) 1091pitch_notes.128x96x2.bmp 1092#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 64) 1093pitch_notes.128x64x1.bmp 1094#elif (LCD_WIDTH >= 96) && (LCD_HEIGHT >= 96) 1095pitch_notes.132x80x16.bmp 1096#else 1097#error Pitch Detector: unsupported LCD 1098#endif 1099#endif /* Complex condition for pitch detector */ 1100 1101/* Resistor Calculator */ 1102#if (LCD_WIDTH >= 320) 1103resistor.320x240x16.bmp 1104#elif (LCD_WIDTH >= 240) 1105resistor.240x400x16.bmp 1106#elif (LCD_WIDTH >= 220) 1107resistor.220x176x16.bmp 1108#elif (LCD_WIDTH >= 176) 1109resistor.176x220x16.bmp 1110#elif (LCD_WIDTH >= 160) 1111resistor.160x128x16.bmp 1112#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 96) 1113resistor.128x128x16.bmp 1114#else 1115resistor.68x20x16.bmp 1116#endif