summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-11-21 16:30:38 +0000
committerAidan MacDonald <amachronic@protonmail.com>2021-12-11 01:13:22 +0000
commitdcac2c616f7e87ac3f444ecc3893107f7a91ef22 (patch)
tree23685350f1eae00285e2e5f9230cdbda1328bb66 /apps/settings.h
parenta3684e090ea637168c2542c7b4eaade756de3fe3 (diff)
downloadrockbox-dcac2c616f7e87ac3f444ecc3893107f7a91ef22.tar.gz
rockbox-dcac2c616f7e87ac3f444ecc3893107f7a91ef22.zip
Add setting for numeric list sort order
The sort order of numeric lists can now be changed with the new "List Order" setting. It defaults to ascending for most scrollwheel targets and descending for all others, matching the old hardcoded behavior. Change-Id: I4866f04ec5995158edf9e40badf7f661b3ddea81
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 4374cc720b..79b47f6a0f 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -531,6 +531,7 @@ struct user_settings
531 0=goto previous location */ 531 0=goto previous location */
532 bool scroll_paginated; /* 0=dont 1=do */ 532 bool scroll_paginated; /* 0=dont 1=do */
533 bool list_wraparound; /* wrap around to opposite end of list when scrolling */ 533 bool list_wraparound; /* wrap around to opposite end of list when scrolling */
534 int list_order; /* order for numeric lists (ascending or descending) */
534 int scroll_speed; /* long texts scrolling speed: 1-30 */ 535 int scroll_speed; /* long texts scrolling speed: 1-30 */
535 int bidir_limit; /* bidir scroll length limit */ 536 int bidir_limit; /* bidir scroll length limit */
536 int scroll_delay; /* delay (in 1/10s) before starting scroll */ 537 int scroll_delay; /* delay (in 1/10s) before starting scroll */