diff options
author | Dan Everton <dan@iocaine.org> | 2006-02-13 19:39:48 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2006-02-13 19:39:48 +0000 |
commit | 869275f8eea7b74768c94049d2b5e6bcc84ac11d (patch) | |
tree | 7e4de4b7810ec3a431a282c98aa99e9e787a48be /apps/settings_menu.c | |
parent | 37a165d7964cbb09cbab375ddeeabf304b8c558b (diff) |
Add paged scrolling option. Really helps when scrolling through large lists on targets with slow LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8682 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index e70ed6767b..6ac0b6feb2 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -92,6 +92,14 @@ static bool show_icons(void) return set_bool( (char *)str(LANG_SHOW_ICONS), &global_settings.show_icons ); } +/** + * Menu to set the option to scroll paginated + */ +static bool scroll_paginated(void) +{ + return set_bool( (char *)str(LANG_SCROLL_PAGINATED), &global_settings.scroll_paginated ); +} + #ifdef HAVE_REMOTE_LCD static bool remote_contrast(void) { @@ -1540,6 +1548,7 @@ static bool scroll_settings_menu(void) { ID2P(LANG_SCREEN_SCROLL_VIEW), screen_scroll }, { ID2P(LANG_SCREEN_SCROLL_STEP), screen_scroll_step }, #endif + { ID2P(LANG_SCROLL_PAGINATED), scroll_paginated }, }; m=menu_init( items, sizeof(items) / sizeof(*items), NULL, |