From e5ee9a25c56a9e4134a4b2123c417e434a364c01 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 22 Jul 2006 13:47:11 +0000 Subject: Patch by Alexander Spyridakis - Add forgotten remote_bidir_scroll setting. Don't forget to save your settings before upgrading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10283 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 8417e77341..3e02727f9e 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -880,6 +880,14 @@ static bool remote_scroll_delay(void) global_settings.remote_scroll_delay = dummy / (HZ/10); return rc; } + +static bool remote_bidir_limit(void) +{ + return set_int(str(LANG_BIDIR_SCROLL), "%", UNIT_PERCENT, + &global_settings.remote_bidir_limit, + &lcd_remote_bidir_scroll, 25, 0, 200, NULL ); +} + #endif #ifdef HAVE_LCD_BITMAP @@ -1708,6 +1716,7 @@ static bool remote_scroll_sets(void) { ID2P(LANG_SCROLL_SPEED), remote_scroll_speed }, { ID2P(LANG_SCROLL_DELAY), remote_scroll_delay }, { ID2P(LANG_SCROLL_STEP), remote_scroll_step }, + { ID2P(LANG_BIDIR_SCROLL), remote_bidir_limit }, }; m=menu_init( items, sizeof(items) / sizeof(*items), NULL, @@ -1729,10 +1738,10 @@ static bool scroll_settings_menu(void) #ifdef HAVE_LCD_BITMAP { ID2P(LANG_SCROLL_STEP), scroll_step }, #endif + { ID2P(LANG_BIDIR_SCROLL), bidir_limit }, #ifdef HAVE_REMOTE_LCD { ID2P(LANG_REMOTE_SCROLL_SETS), remote_scroll_sets }, #endif - { ID2P(LANG_BIDIR_SCROLL), bidir_limit }, #ifdef HAVE_LCD_CHARCELLS { ID2P(LANG_JUMP_SCROLL), jump_scroll }, { ID2P(LANG_JUMP_SCROLL_DELAY), jump_scroll_delay }, -- cgit v1.2.3