summaryrefslogtreecommitdiff
path: root/apps/plugins/bubbles.c
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2007-09-28 22:05:22 +0000
committerMarianne Arnold <pixelma@rockbox.org>2007-09-28 22:05:22 +0000
commitbb62942b8959c2dcc5be7977f7e8e89c4b4536bc (patch)
tree33b31fa9dbe842ff6b001c9d76b59eb7c9bc0b02 /apps/plugins/bubbles.c
parent7cbc161d517eb9bfbd2a251d82f62b07c1752168 (diff)
downloadrockbox-bb62942b8959c2dcc5be7977f7e8e89c4b4536bc.tar.gz
rockbox-bb62942b8959c2dcc5be7977f7e8e89c4b4536bc.zip
Bubbles for Sansa c200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14894 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bubbles.c')
-rw-r--r--apps/plugins/bubbles.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c
index 812a88fb10..05ce15d75b 100644
--- a/apps/plugins/bubbles.c
+++ b/apps/plugins/bubbles.c
@@ -174,6 +174,17 @@ PLUGIN_HEADER
174#define ROW_INDENT 5 174#define ROW_INDENT 5
175#define MAX_FPS 30 175#define MAX_FPS 30
176 176
177/* 8x8 bubbles (Sansa C200) */
178#elif (LCD_HEIGHT == 80) && (LCD_WIDTH == 132)
179#define BUBBLE_WIDTH 8
180#define BUBBLE_HEIGHT 8
181#define EMBLEM_WIDTH 6
182#define EMBLEM_HEIGHT 6
183#define XOFS 45
184#define ROW_HEIGHT 6
185#define ROW_INDENT 4
186#define MAX_FPS 30
187
177/* 8x7 bubbles (Archos recorder, Ondio) */ 188/* 8x7 bubbles (Archos recorder, Ondio) */
178#elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112) 189#elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112)
179#define BUBBLE_WIDTH 8 190#define BUBBLE_WIDTH 8
@@ -2456,6 +2467,12 @@ static int bubbles(struct game_context* bb) {
2456 rb->lcd_puts(0, 6, " and show high scores"); 2467 rb->lcd_puts(0, 6, " and show high scores");
2457 rb->lcd_puts(0, 7, "SCROLL to aim"); 2468 rb->lcd_puts(0, 7, "SCROLL to aim");
2458 rb->lcd_puts(0, 8, " and change level"); 2469 rb->lcd_puts(0, 8, " and change level");
2470#elif CONFIG_KEYPAD == SANSA_C200_PAD
2471 rb->lcd_puts(0, 2, "PLAY to start/pause");
2472 rb->lcd_puts(0, 3, "SUBMENU to save/resume");
2473 rb->lcd_puts(0, 4, "POWER to exit");
2474 rb->lcd_puts_scroll(0, 5, "SELECT to fire and show high scores, "
2475 "LEFT/RIGHT to aim and change level");
2459#endif 2476#endif
2460#if LCD_WIDTH >= 138 2477#if LCD_WIDTH >= 138
2461 rb->snprintf(str, 28, "Start on level %d of %d", startlevel+1, 2478 rb->snprintf(str, 28, "Start on level %d of %d", startlevel+1,