summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-02-13 19:39:48 +0000
committerDan Everton <dan@iocaine.org>2006-02-13 19:39:48 +0000
commit869275f8eea7b74768c94049d2b5e6bcc84ac11d (patch)
tree7e4de4b7810ec3a431a282c98aa99e9e787a48be /apps/settings.c
parent37a165d7964cbb09cbab375ddeeabf304b8c558b (diff)
downloadrockbox-869275f8eea7b74768c94049d2b5e6bcc84ac11d.zip
rockbox-869275f8eea7b74768c94049d2b5e6bcc84ac11d.tar.gz
rockbox-869275f8eea7b74768c94049d2b5e6bcc84ac11d.tar.bz2
rockbox-869275f8eea7b74768c94049d2b5e6bcc84ac11d.tar.xz
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.c')
-rw-r--r--apps/settings.c39
1 files changed, 20 insertions, 19 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 2f782f4..0c62fd2 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -512,25 +512,25 @@ static const struct bit_entry hd_bits[] =
{1, S_O(warnon_erase_dynplaylist), false,
"warn when erasing dynamic playlist", off_on },
#if CONFIG_CODEC == SWCODEC
- {1, S_O(eq_enabled), false, "eq enabled", off_on },
- /* 0..32768 Hz */
- {15, S_O(eq_band0_cutoff), 60, "eq band 0 cutoff", NULL },
- {15, S_O(eq_band1_cutoff), 200, "eq band 1 cutoff", NULL },
- {15, S_O(eq_band2_cutoff), 800, "eq band 2 cutoff", NULL },
- {15, S_O(eq_band3_cutoff), 4000, "eq band 3 cutoff", NULL },
- {15, S_O(eq_band4_cutoff), 12000, "eq band 4 cutoff", NULL },
- /* 0..64 (or 0.0 to 6.4) */
- {6, S_O(eq_band0_q), 7, "eq band 0 q", NULL },
- {6, S_O(eq_band1_q), 10, "eq band 1 q", NULL },
- {6, S_O(eq_band2_q), 10, "eq band 2 q", NULL },
- {6, S_O(eq_band3_q), 10, "eq band 3 q", NULL },
- {6, S_O(eq_band4_q), 7, "eq band 4 q", NULL },
- /* -240..240 (or -24db to +24db) */
- {9|SIGNED, S_O(eq_band0_gain), 0, "eq band 0 gain", NULL },
- {9|SIGNED, S_O(eq_band1_gain), 0, "eq band 1 gain", NULL },
- {9|SIGNED, S_O(eq_band2_gain), 0, "eq band 2 gain", NULL },
- {9|SIGNED, S_O(eq_band3_gain), 0, "eq band 3 gain", NULL },
- {9|SIGNED, S_O(eq_band4_gain), 0, "eq band 4 gain", NULL },
+ {1, S_O(eq_enabled), false, "eq enabled", off_on },
+ /* 0..32768 Hz */
+ {15, S_O(eq_band0_cutoff), 60, "eq band 0 cutoff", NULL },
+ {15, S_O(eq_band1_cutoff), 200, "eq band 1 cutoff", NULL },
+ {15, S_O(eq_band2_cutoff), 800, "eq band 2 cutoff", NULL },
+ {15, S_O(eq_band3_cutoff), 4000, "eq band 3 cutoff", NULL },
+ {15, S_O(eq_band4_cutoff), 12000, "eq band 4 cutoff", NULL },
+ /* 0..64 (or 0.0 to 6.4) */
+ {6, S_O(eq_band0_q), 7, "eq band 0 q", NULL },
+ {6, S_O(eq_band1_q), 10, "eq band 1 q", NULL },
+ {6, S_O(eq_band2_q), 10, "eq band 2 q", NULL },
+ {6, S_O(eq_band3_q), 10, "eq band 3 q", NULL },
+ {6, S_O(eq_band4_q), 7, "eq band 4 q", NULL },
+ /* -240..240 (or -24db to +24db) */
+ {9|SIGNED, S_O(eq_band0_gain), 0, "eq band 0 gain", NULL },
+ {9|SIGNED, S_O(eq_band1_gain), 0, "eq band 1 gain", NULL },
+ {9|SIGNED, S_O(eq_band2_gain), 0, "eq band 2 gain", NULL },
+ {9|SIGNED, S_O(eq_band3_gain), 0, "eq band 3 gain", NULL },
+ {9|SIGNED, S_O(eq_band4_gain), 0, "eq band 4 gain", NULL },
#endif
#if defined(HAVE_UDA1380) /* PLEASE merge this with the other UDA1380 define
when bumping the settings version number PLEASE */
@@ -539,6 +539,7 @@ static const struct bit_entry hd_bits[] =
{8|SIGNED, S_O(rec_mic_decimator_right_gain), 0, /* 0dB */
"mic decimator right gain", NULL }, /* -128...48 */
#endif
+ {1, S_O(scroll_paginated), false, "scroll paginated", off_on },
/* If values are just added to the end, no need to bump the version. */
/* new stuff to be added at the end */