summaryrefslogtreecommitdiff
path: root/apps/plugins/bubbles.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-05-23 17:30:58 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-07-13 22:01:33 +0100
commit4c60bc9e681865fcfc149775a1ed7ccd2613d5bf (patch)
tree99f8d91af2c171cf3843f0c14d41a20d9dc29c4f /apps/plugins/bubbles.c
parent3abb7c5dd5be2ec6744bfc0a80967b20f1b59e30 (diff)
downloadrockbox-4c60bc9e681865fcfc149775a1ed7ccd2613d5bf.tar.gz
rockbox-4c60bc9e681865fcfc149775a1ed7ccd2613d5bf.zip
New port: Shanling Q1 native
- Audio playback works - Touchscreen and buttons work - Bootloader works and is capable of dual boot - Plugins are working - Cabbiev2 theme has been ported - Stable for general usage Thanks to Marc Aarts for porting Cabbiev2 and plugin bitmaps. There's a few minor known issues: - Bootloader must be installed manually using 'usbboot' as there is no support in jztool yet. - Keymaps may be lacking, need further testing and feedback. - Some plugins may not be fully adapted to the screen size and could benefit from further tweaking. - LCD shows abnormal effects under some circumstances: for example, after viewing a mostly black screen an afterimage appears briefly when going back to a brightly-lit screen. Sudden power-off without proper shutdown of the backlight causes a "dissolving" effect. - CW2015 battery reporting driver is buggy, and disabled for now. Battery reporting is currently voltage-based using the AXP192. Change-Id: I635e83f02a880192c5a82cb0861ad3a61c137c3a
Diffstat (limited to 'apps/plugins/bubbles.c')
-rw-r--r--apps/plugins/bubbles.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c
index 50de10fa23..ffc814e7a0 100644
--- a/apps/plugins/bubbles.c
+++ b/apps/plugins/bubbles.c
@@ -120,6 +120,17 @@ enum {
120#define XOFS 128 120#define XOFS 128
121#define MAX_FPS 40 121#define MAX_FPS 40
122 122
123#elif (LCD_WIDTH == 360) && (LCD_HEIGHT == 400)
124#define XOFS 86
125#define YOFS 100
126#define SCORE_TXT_X 28
127#define SCORE_TXT_WIDTH 32
128#define SCORE_TXT_Y 48
129#define LEVEL_TXT_X 27
130#define LEVEL_TXT_WIDTH 32
131#define LEVEL_TXT_Y 5
132#define MAX_FPS 40
133
123/* 22x22 bubbles (iPod Video) */ 134/* 22x22 bubbles (iPod Video) */
124#elif (LCD_HEIGHT == 240) && (LCD_WIDTH == 320) 135#elif (LCD_HEIGHT == 240) && (LCD_WIDTH == 320)
125#define XOFS 72 136#define XOFS 72