summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-27 15:08:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-27 15:08:56 +0000
commit42698e4e470c0fa8fed3400dfb9244397e2e204f (patch)
treeae92b47f2956e2bc023d32f619dc24f42f8a396b /apps/menus/display_menu.c
parent4cee8d9354092735ff79aa199b5aaddc355d978e (diff)
downloadrockbox-42698e4e470c0fa8fed3400dfb9244397e2e204f.tar.gz
rockbox-42698e4e470c0fa8fed3400dfb9244397e2e204f.tar.bz2
rockbox-42698e4e470c0fa8fed3400dfb9244397e2e204f.zip
Accept FS#6798 - scan acceleration for the lists.
Settings are in display > scrolling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13499 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index 3f5c6b3b54..60b06d7f4f 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -303,6 +303,7 @@ MENUITEM_SETTING(remote_scroll_delay, &global_settings.remote_scroll_delay, NULL
MENUITEM_SETTING_W_TEXT(remote_scroll_step, &global_settings.remote_scroll_step,
ID2P(LANG_SCROLL_STEP_EXAMPLE), NULL);
MENUITEM_SETTING(remote_bidir_limit, &global_settings.remote_bidir_limit, NULL);
+
MAKE_MENU(remote_scroll_sets, ID2P(LANG_REMOTE_SCROLL_SETS), 0, Icon_NOICON,
&remote_scroll_speed, &remote_scroll_delay,
&remote_scroll_step, &remote_bidir_limit);
@@ -311,6 +312,10 @@ MAKE_MENU(remote_scroll_sets, ID2P(LANG_REMOTE_SCROLL_SETS), 0, Icon_NOICON,
MENUITEM_SETTING(jump_scroll, &global_settings.jump_scroll, NULL);
MENUITEM_SETTING(jump_scroll_delay, &global_settings.jump_scroll_delay, NULL);
#endif
+/* list acceleration */
+MENUITEM_SETTING(list_accel_start_delay,
+ &global_settings.list_accel_start_delay, NULL);
+MENUITEM_SETTING(list_accel_wait, &global_settings.list_accel_wait, NULL);
#ifdef HAVE_LCD_BITMAP
int screenscroll_callback(int action,const struct menu_item_ex *this_item)
{
@@ -344,7 +349,8 @@ MAKE_MENU(scroll_settings_menu, ID2P(LANG_SCROLL_MENU), 0, Icon_NOICON,
#ifdef HAVE_LCD_BITMAP
&offset_out_of_view, &screen_scroll_step,
#endif
- &scroll_paginated
+ &scroll_paginated,
+ &list_accel_start_delay, &list_accel_wait
);
/* SCROLL MENU */
/***********************************/