summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-03-22 21:15:22 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-03-22 21:15:22 +0000
commit0897753d3b821531fef6f286eeac6af82ac505ff (patch)
treeff5749933ffeb8035aa65274241f7509e95f2089
parent671127c65de3b93e3cbce6161ca748ecb388688d (diff)
downloadrockbox-0897753d3b821531fef6f286eeac6af82ac505ff.tar.gz
rockbox-0897753d3b821531fef6f286eeac6af82ac505ff.zip
Submit parts of FS#12024. Describe the settings 'List Acceleration Start Delay' and 'List Acceleration Speed' in the manual. Correct the unit (seconds) for the first setting and change the text for the second setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29634 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings_list.c4
-rw-r--r--manual/configure_rockbox/display_options.tex14
2 files changed, 16 insertions, 2 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 2d73028968..7f2cf38072 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -368,7 +368,7 @@ static const char* scanaccel_formatter(char *buffer, size_t buffer_size,
368 if (val == 0) 368 if (val == 0)
369 return str(LANG_OFF); 369 return str(LANG_OFF);
370 else 370 else
371 snprintf(buffer, buffer_size, "2x/%ds", val); 371 snprintf(buffer, buffer_size, "Speed up every %ds", val);
372 return buffer; 372 return buffer;
373} 373}
374#endif 374#endif
@@ -1694,7 +1694,7 @@ const struct settings_list settings[] = {
1694#endif 1694#endif
1695#ifndef HAVE_WHEEL_ACCELERATION 1695#ifndef HAVE_WHEEL_ACCELERATION
1696 INT_SETTING(0, list_accel_start_delay, LANG_LISTACCEL_START_DELAY, 1696 INT_SETTING(0, list_accel_start_delay, LANG_LISTACCEL_START_DELAY,
1697 2, "list_accel_start_delay", UNIT_MS, 0, 10, 1, 1697 2, "list_accel_start_delay", UNIT_SEC, 0, 10, 1,
1698 formatter_unit_0_is_off, getlang_unit_0_is_off, NULL), 1698 formatter_unit_0_is_off, getlang_unit_0_is_off, NULL),
1699 INT_SETTING(0, list_accel_wait, LANG_LISTACCEL_ACCEL_SPEED, 1699 INT_SETTING(0, list_accel_wait, LANG_LISTACCEL_ACCEL_SPEED,
1700 3, "list_accel_wait", UNIT_SEC, 1, 10, 1, 1700 3, "list_accel_wait", UNIT_SEC, 1, 10, 1,
diff --git a/manual/configure_rockbox/display_options.tex b/manual/configure_rockbox/display_options.tex
index a6bd439661..430d361c57 100644
--- a/manual/configure_rockbox/display_options.tex
+++ b/manual/configure_rockbox/display_options.tex
@@ -181,6 +181,20 @@
181 When set to \setting{Yes} scrolling vertically on pages that surpass the 181 When set to \setting{Yes} scrolling vertically on pages that surpass the
182 screen size will page up/down instead of simply changing lines. This can be 182 screen size will page up/down instead of simply changing lines. This can be
183 useful on slow displays. 183 useful on slow displays.
184 \nopt{scrollwheel}{
185 \item[List Acceleration Start Delay.]
186 This setting enables the acceleration of scroll speed in lists when
187 holding \ButtonScrollUp{} or \ButtonScrollDown{}. When set to
188 \setting{Off} the acceleration is disabled. When any other value is set
189 the acceleration will start to accelerate after holding
190 \ButtonScrollUp{} or \ButtonScrollDown{} for the chosen time (in
191 seconds).
192 \item[List Acceleration Speed.]
193 This setting controls how fast the scroll speed accelerates. The scroll
194 speed will increase every N seconds. For example, selecting
195 \setting{Speed up every 3s} will increase the scroll speed every 3
196 seconds while \ButtonScrollUp{} or \ButtonScrollDown{} is held.
197 }
184 \end{description} 198 \end{description}
185% 199%
186 \opt{lcd_bitmap}{ 200 \opt{lcd_bitmap}{