diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2008-11-28 00:37:28 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2008-11-28 00:37:28 +0000 |
| commit | 5656f8245f63c5104085998c0865bac0aea95d44 (patch) | |
| tree | 2fa4c2cd1dac341dafb88ec5f9990775c97ae49a /apps/plugins/bubbles.c | |
| parent | ddaa878097a7d78d974badbd5a7845587c695392 (diff) | |
| download | rockbox-5656f8245f63c5104085998c0865bac0aea95d44.zip rockbox-5656f8245f63c5104085998c0865bac0aea95d44.tar.gz rockbox-5656f8245f63c5104085998c0865bac0aea95d44.tar.bz2 rockbox-5656f8245f63c5104085998c0865bac0aea95d44.tar.xz | |
Sansa Clip: build plugins (FS#9578)
Use unmodified C200 keymap when possible, variation of it when not
Use Archos bitmaps when possible
Current problems:
- Pegbox plugin shows display corruption (corruption is different in the simulator)
- Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen
- Splitted screen (yellow/blue) is a bit weird in most plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bubbles.c')
| -rw-r--r-- | apps/plugins/bubbles.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index 5415f3b..a736e74 100644 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c @@ -167,12 +167,19 @@ PLUGIN_HEADER #define MAX_FPS 30 /* 8x8 bubbles (Sansa C200) */ -#elif (LCD_HEIGHT == 80) && (LCD_WIDTH == 132) +#elif ((LCD_HEIGHT == 80) && (LCD_WIDTH == 132)) #define XOFS 45 #define ROW_HEIGHT 6 #define ROW_INDENT 4 #define MAX_FPS 30 +/* 7x7 bubbles (Sansa Clip/m200) */ +#elif (LCD_HEIGHT == 64 && LCD_WIDTH == 128) +#define XOFS 33 +#define ROW_HEIGHT 5 +#define ROW_INDENT 4 +#define MAX_FPS 30 + /* 8x7 bubbles (Archos recorder, Ondio) */ #elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112) #define XOFS 33 @@ -2445,7 +2452,7 @@ static int bubbles(struct game_context* bb) { rb->lcd_puts(0, 6, " and show high scores"); rb->lcd_puts(0, 7, "SCROLL to aim"); rb->lcd_puts(0, 8, " and change level"); -#elif CONFIG_KEYPAD == SANSA_C200_PAD +#elif CONFIG_KEYPAD == SANSA_C200_PAD || CONFIG_KEYPAD == SANSA_CLIP_PAD rb->lcd_puts(0, 2, "PLAY to start/pause"); rb->lcd_puts(0, 3, "SUBMENU to save/resume"); rb->lcd_puts(0, 4, "POWER to exit"); |