From 2d4cfa8738abc42603de8f90e715433bb4345dd7 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Thu, 27 Jul 2006 22:28:48 +0000 Subject: Star plugin (again): Apply http://www.rockbox.org/tracker/task/5493 (button help strings for all targets) and rework the help string for grey/color targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10345 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/star.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/plugins/star.c b/apps/plugins/star.c index cdaeba1ddb..c6d533f96f 100644 --- a/apps/plugins/star.c +++ b/apps/plugins/star.c @@ -960,12 +960,21 @@ static int star_menu(void) PLUGIN_USB_CONNECTED : PLUGIN_OK; break; case 1: +#if LCD_DEPTH > 1 + star_display_text( + "INFO\n\n" + "Take all the stars to go to the next level. " + "You can toggle control with the block to " + "use it as a mobile wall. The block cannot " + "take stars.", true); +#else star_display_text( "INFO\n\n" - "Take all \"o\" to go to the next level. " + "Take all the \"o\"s to go to the next level. " "You can toggle control with the block to " "use it as a mobile wall. The block cannot " "take \"o\".", true); +#endif break; case 2: #if CONFIG_KEYPAD == RECORDER_PAD @@ -982,6 +991,34 @@ static int star_menu(void) "[M <] Prev. level\n" "[M ^] Reset level\n" "[M >] Next level", true); +#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) + star_display_text("KEYS\n\n" + "[A-B] Toggle Ctl\n" + "[OFF] Exit\n" + "[A-B <] Prev. level\n" + "[A-B ^] Reset level\n" + "[A-B >] Next level", true); +#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) + star_display_text("KEYS\n\n" + "[SELECT] Toggle Ctl\n" + "[S + MENU] Exit\n" + "[S <] Prev. level\n" + "[S + PLAY] Reset level\n" + "[S >] Next level", true); +#elif CONFIG_KEYPAD == IAUDIO_X5_PAD + star_display_text("KEYS\n\n" + "[SELECT] Toggle Ctl\n" + "[POWER] Exit\n" + "[PLAY+DOWN] Prev. level\n" + "[PLAY+RIGHT] Reset level\n" + "[PLAY+UP] Next level", true); +#elif CONFIG_KEYPAD == GIGABEAT_PAD + star_display_text("KEYS\n\n" + "[MENU] Toggle Ctl\n" + "[A] Exit\n" + "[PWR+DOWN] Prev. level\n" + "[PWR+RIGHT] Reset level\n" + "[PWR+UP] Next level", true); #endif break; case 3: -- cgit v1.2.3