summaryrefslogtreecommitdiff
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
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
-rw-r--r--apps/plugins/SOURCES4
-rw-r--r--apps/plugins/bitmaps/native/SOURCES3
-rw-r--r--apps/plugins/flipit.c10
-rw-r--r--manual/plugins/flipit.tex13
-rw-r--r--manual/plugins/images/ss-flipit-132x80x16.pngbin0 -> 1354 bytes
5 files changed, 19 insertions, 11 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 */
diff --git a/manual/plugins/flipit.tex b/manual/plugins/flipit.tex
index fec5cf1..235f3e4 100644
--- a/manual/plugins/flipit.tex
+++ b/manual/plugins/flipit.tex
@@ -8,14 +8,15 @@ a screen containing tokens of only one colour.
\begin{table}
\begin{btnmap}{}{}
\opt{PLAYER_PAD}{\ButtonOn/\ButtonMenu/\ButtonLeft/\ButtonRight}
-\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,GIGABEAT_PAD}
+\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD}
{\ButtonUp/\ButtonDown/\ButtonLeft/\ButtonRight}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu/\ButtonPlay/\ButtonLeft/\ButtonRight}
\opt{IRIVER_H10_PAD}{\ButtonScrollUp/\ButtonScrollDown/\ButtonLeft/\ButtonRight}
& Move the cursor \\
\opt{PLAYER_PAD,RECORDER_PAD}{\ButtonPlay}
\opt{ONDIO_PAD}{\ButtonMenu}
-\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,GIGABEAT_PAD}{\ButtonSelect}
+\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD}
+ {\ButtonSelect}
\opt{IRIVER_H10_PAD}{\ButtonRew}
& Flip \\
\opt{PLAYER_PAD}{\ButtonOn+\ButtonLeft}
@@ -24,7 +25,7 @@ a screen containing tokens of only one colour.
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay+\ButtonLeft}
-\opt{SANSA_E200_PAD}{\ButtonRec+\ButtonLeft}
+\opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec+\ButtonLeft}
\opt{GIGABEAT_PAD}{\ButtonMenu}
& Shuffle \\
\opt{PLAYER_PAD}{\ButtonOn+\ButtonRight}
@@ -33,7 +34,7 @@ a screen containing tokens of only one colour.
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay+\ButtonRight}
-\opt{SANSA_E200_PAD}{\ButtonRec+\ButtonRight}
+\opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec+\ButtonRight}
\opt{GIGABEAT_PAD}{\ButtonVolUp}
& Solve \\
\opt{PLAYER_PAD}{\ButtonOn+\ButtonPlay}
@@ -43,13 +44,13 @@ a screen containing tokens of only one colour.
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonRight}
\opt{IAUDIO_X5_PAD}{\ButtonPlay+\ButtonUp}
\opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollUp}
-\opt{SANSA_E200_PAD}{\ButtonRec+\ButtonSelect}
+\opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec+\ButtonSelect}
\opt{GIGABEAT_PAD}{\ButtonVolDown}
& Solve step by step \\
\opt{PLAYER_PAD}{\ButtonStop}
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
-\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,GIGABEAT_PAD}{\ButtonPower}
+\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,GIGABEAT_PAD,SANSA_C200_PAD}{\ButtonPower}
& Quit the game \\
\end{btnmap}
\end{table}
diff --git a/manual/plugins/images/ss-flipit-132x80x16.png b/manual/plugins/images/ss-flipit-132x80x16.png
new file mode 100644
index 0000000..7d328f5
--- /dev/null
+++ b/manual/plugins/images/ss-flipit-132x80x16.png
Binary files differ