summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMats Lidell <matsl@rockbox.org>2003-01-14 10:48:01 +0000
committerMats Lidell <matsl@rockbox.org>2003-01-14 10:48:01 +0000
commitc65dadf0b42362492cfe11dc565a5fab0b9e7390 (patch)
treec651554a76d1efcac0f6e9cc2008db63ce2f7fb7 /apps
parent4c7f70fe9ae4a516a1e3794f60abd95c603ddbba (diff)
downloadrockbox-c65dadf0b42362492cfe11dc565a5fab0b9e7390.tar.gz
rockbox-c65dadf0b42362492cfe11dc565a5fab0b9e7390.zip
Bidirectional scroll for player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3081 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 240abcd447..da997ac15c 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -420,13 +420,13 @@ static bool scroll_step(void)
420 &global_settings.scroll_step, 420 &global_settings.scroll_step,
421 &lcd_scroll_step, 1, 1, LCD_WIDTH ); 421 &lcd_scroll_step, 1, 1, LCD_WIDTH );
422} 422}
423#endif
423 424
424static bool bidir_limit(void) 425static bool bidir_limit(void)
425{ 426{
426 return set_int(str(LANG_BIDIR_SCROLL), "%", &global_settings.bidir_limit, 427 return set_int(str(LANG_BIDIR_SCROLL), "%", &global_settings.bidir_limit,
427 &lcd_bidir_scroll, 25, 0, 200 ); 428 &lcd_bidir_scroll, 25, 0, 200 );
428} 429}
429#endif
430 430
431#ifndef SIMULATOR 431#ifndef SIMULATOR
432/** 432/**
@@ -686,8 +686,8 @@ static bool scroll_settings_menu(void)
686 { str(LANG_SCROLL_DELAY), scroll_delay }, 686 { str(LANG_SCROLL_DELAY), scroll_delay },
687#ifdef HAVE_LCD_BITMAP 687#ifdef HAVE_LCD_BITMAP
688 { str(LANG_SCROLL_STEP), scroll_step }, 688 { str(LANG_SCROLL_STEP), scroll_step },
689 { str(LANG_BIDIR_SCROLL), bidir_limit },
690#endif 689#endif
690 { str(LANG_BIDIR_SCROLL), bidir_limit },
691 }; 691 };
692 692
693 m = menu_init( items, sizeof items / sizeof(struct menu_items) ); 693 m = menu_init( items, sizeof items / sizeof(struct menu_items) );