From 543c49a4835a6bc0d3388034ad93ec46ff9fbee5 Mon Sep 17 00:00:00 2001 From: Marianne Arnold Date: Mon, 22 Oct 2007 13:53:16 +0000 Subject: Flipit for Sansa c200 and add the help text in the welcome screen for both Sansas. Update the manual as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15266 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/SOURCES | 4 ---- apps/plugins/bitmaps/native/SOURCES | 3 +++ apps/plugins/flipit.c | 10 +++++++++- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 2f7ea1d32f..a7a2201e5b 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -21,7 +21,6 @@ stopwatch.c vbrfix.c viewer.c - #if CONFIG_CODEC == SWCODEC metronome.c #endif @@ -36,16 +35,13 @@ wavrecord.c #ifndef IRIVER_IFP7XX_SERIES /* Temporarily disable plugins for iFP7xx */ dice.c disktidy.c -#ifndef SANSA_C200 flipit.c -#endif #ifdef HAVE_LCD_BITMAP /* Not for the Player */ maze.c mazezam.c text_editor.c wavview.c -robotfindskitten.c /* Plugins needing the grayscale lib on low-depth LCDs */ fire.c diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index aa36caa8cf..e6e01036cb 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES @@ -202,6 +202,9 @@ flipit_tokens.28x56x16.bmp #elif LCD_WIDTH >= 125 && LCD_HEIGHT >= 110 flipit_cursor.25x25x16.bmp flipit_tokens.25x50x16.bmp +#elif LCD_WIDTH >= 85 && LCD_HEIGHT >= 78 +flipit_cursor.17x17x16.bmp +flipit_tokens.17x34x16.bmp #endif #elif LCD_DEPTH > 1 /* greyscale */ #if LCD_WIDTH >= 140 && LCD_HEIGHT >= 122 diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index 96d6ea1a9b..bdb9e68360 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c @@ -107,7 +107,8 @@ PLUGIN_HEADER #define FLIPIT_STEP_BY_STEP BUTTON_VOL_DOWN #define FLIPIT_TOGGLE BUTTON_SELECT -#elif CONFIG_KEYPAD == SANSA_E200_PAD +#elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ + (CONFIG_KEYPAD == SANSA_C200_PAD) #define FLIPIT_UP BUTTON_UP #define FLIPIT_DOWN BUTTON_DOWN @@ -523,6 +524,13 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) rb->lcd_putsxy(2, 28, "[PL-LEFT] shuffle"); rb->lcd_putsxy(2, 38, "[PL-RIGHT] solution"); rb->lcd_putsxy(2, 48, "[PL-UP] step by step"); +#elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ + (CONFIG_KEYPAD == SANSA_C200_PAD) + rb->lcd_putsxy(2, 8, "[POWER] to stop"); + rb->lcd_putsxy(2, 18, "[SELECT] toggle"); + rb->lcd_putsxy(2, 28, "[REC-LEFT] shuffle"); + rb->lcd_putsxy(2, 38, "[REC-RIGHT] solution"); + rb->lcd_putsxy(2, 48, "[REC-SEL] step by step"); #endif rb->lcd_update(); #else /* HAVE_LCD_CHARCELLS */ -- cgit v1.2.3