A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

Add backgrounds for 128x160 displays to bubbles and rockblox. Set the coordinates in the code.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29020 a1c6a512-1295-4272-9138-f99709370657

+27 -12
+5
apps/plugins/bitmaps/native/SOURCES
··· 139 139 #elif (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128) 140 140 bubbles_emblem.160x128x16.bmp 141 141 bubbles_background.160x128x16.bmp 142 + #elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 160) 143 + bubbles_emblem.160x128x16.bmp 144 + bubbles_background.128x160x16.bmp 142 145 #elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) 143 146 bubbles_emblem.160x128x16.bmp 144 147 bubbles_background.128x128x16.bmp ··· 492 495 rockblox_background.176x132x16.bmp 493 496 #elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) 494 497 rockblox_background.160x128x16.bmp 498 + #elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 160) 499 + rockblox_background.128x160x16.bmp 495 500 #elif (LCD_WIDTH == 128) && (LCD_HEIGHT >= 128) 496 501 rockblox_background.128x128x16.bmp 497 502 #elif (LCD_WIDTH == 132) && (LCD_HEIGHT == 80)
apps/plugins/bitmaps/native/bubbles_background.128x160x16.bmp

This is a binary file and will not be displayed.

apps/plugins/bitmaps/native/rockblox_background.128x160x16.bmp

This is a binary file and will not be displayed.

+13 -1
apps/plugins/bubbles.c
··· 164 164 165 165 /* 12x12 bubbles (GoGear SA9200) */ 166 166 #elif (LCD_HEIGHT == 160) && (LCD_WIDTH == 128) 167 - #define XOFS 33 167 + #define XOFS 16 168 + #define YOFS 32 168 169 #define ROW_HEIGHT 10 169 170 #define ROW_INDENT 6 170 171 #define MAX_FPS 30 172 + 173 + /* custom text positioning */ 174 + #define LEVEL_TXT_X 2 175 + #define LEVEL_TXT_WIDTH 31 176 + #define LEVEL_TXT_Y 3 177 + #define SCORE_TXT_X 34 178 + #define SCORE_TXT_WIDTH 31 179 + #define SCORE_TXT_Y 3 180 + #define NEXT_BB_X 81 181 + #define NEXT_BB_WIDTH 31 182 + #define NEXT_BB_Y 2 171 183 172 184 /* 10x10 bubbles (iPod Mini) */ 173 185 #elif (LCD_HEIGHT == 110) && (LCD_WIDTH == 138)
+9 -11
apps/plugins/rockblox.c
··· 557 557 #define LEVEL_Y 49 558 558 #define LINES_Y 82 559 559 560 - /* NOTE: This is for the GoGear SA9200 and is only 561 - temporary until I can get better coordinates! */ 562 560 #elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 160) 563 561 564 - #define BLOCK_WIDTH 6 565 - #define BLOCK_HEIGHT 6 562 + #define BLOCK_WIDTH 7 563 + #define BLOCK_HEIGHT 7 566 564 #define BOARD_X 4 567 - #define BOARD_Y 3 568 - #define PREVIEW_X 84 569 - #define PREVIEW_Y 100 570 - #define LABEL_X 71 571 - #define SCORE_Y 17 572 - #define LEVEL_Y 49 573 - #define LINES_Y 82 565 + #define BOARD_Y 5 566 + #define PREVIEW_X 88 567 + #define PREVIEW_Y 111 568 + #define LABEL_X 82 569 + #define SCORE_Y (2+16) 570 + #define LEVEL_Y (36+16) 571 + #define LINES_Y (70+16) 574 572 575 573 #elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 96) 576 574