summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2007-10-22 13:53:16 +0000
committerMarianne Arnold <pixelma@rockbox.org>2007-10-22 13:53:16 +0000
commit543c49a4835a6bc0d3388034ad93ec46ff9fbee5 (patch)
treec8319704afb6eef01d78886e790519385ae603d3 /apps/plugins
parent69bd0f82e3258b6f4b1c0c5cbda42e201668a65f (diff)
downloadrockbox-543c49a4835a6bc0d3388034ad93ec46ff9fbee5.zip
rockbox-543c49a4835a6bc0d3388034ad93ec46ff9fbee5.tar.gz
rockbox-543c49a4835a6bc0d3388034ad93ec46ff9fbee5.tar.bz2
rockbox-543c49a4835a6bc0d3388034ad93ec46ff9fbee5.tar.xz
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
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/SOURCES4
-rw-r--r--apps/plugins/bitmaps/native/SOURCES3
-rw-r--r--apps/plugins/flipit.c10
3 files changed, 12 insertions, 5 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index 2f7ea1d..a7a2201 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 aa36caa..e6e0103 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 96d6ea1..bdb9e68 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 */