From 8097ee6af1ba6a19015532c49d301a81c348aa53 Mon Sep 17 00:00:00 2001 From: Justin Heiner Date: Thu, 29 Aug 2002 05:41:35 +0000 Subject: Custom WPS update - works for recorder and player now. Also updated how the WPS refreshes the screen when using Custom WPS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2046 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 1c073b10d5..7a8d0c8409 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -97,8 +97,13 @@ static Menu scroll_speed(void) static Menu wps_set(void) { #ifdef HAVE_LCD_BITMAP +#ifdef CUSTOM_WPS + char* names[] = { "ID3 Tags", "File ", "Parse ", "Custom WPS" }; + set_option("[WPS display]", &global_settings.wps_display, names, 4 ); +#else char* names[] = { "ID3 Tags", "File ", "Parse " }; set_option("[WPS display]", &global_settings.wps_display, names, 3 ); +#endif #else #ifdef CUSTOM_WPS char* names[] = { "1 Line ID3", "2 Line ID3", "File ", @@ -172,16 +177,16 @@ static Menu spindown(void) return MENU_OK; } -static Menu ff_rewind_accel(void) -{ - char* names[] = { "off ", "2x/1s ", "2x/2s ", "2x/3s ", - "2x/4s ", "2x/5s ", "2x/6s ", "2x/7s ", +static Menu ff_rewind_accel(void) +{ + char* names[] = { "off ", "2x/1s ", "2x/2s ", "2x/3s ", + "2x/4s ", "2x/5s ", "2x/6s ", "2x/7s ", "2x/8s ", "2x/9s ", "2x/10s", "2x/11s", "2x/12s", "2x/13s", "2x/14s", "2x/15s", }; - set_option("[FF/rewind accel]", &global_settings.ff_rewind_accel, - names, 16 ); - return MENU_OK; -} + set_option("[FF/rewind accel]", &global_settings.ff_rewind_accel, + names, 16 ); + return MENU_OK; +} Menu settings_menu(void) { @@ -203,7 +208,7 @@ Menu settings_menu(void) { "Time/Date", timedate_set }, #endif { "Show hidden files", show_hidden_files }, - { "FF/rewind accel", ff_rewind_accel }, + { "FF/Rewind Accel", ff_rewind_accel }, { "Resume", resume }, { "Disk spindown", spindown }, }; -- cgit v1.2.3