diff options
author | Paul Sauro <olsroparadise@proton.me> | 2024-08-28 17:44:16 +0200 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2024-08-28 20:24:44 -0400 |
commit | f69d9c8a9508871c93396a4261bcc41a8a3cddc7 (patch) | |
tree | 8c8968007ea27e847e39edfd1f4459bc255bc3fe /apps/menus/display_menu.c | |
parent | f6b9e923dc6b2601e9e6190fd887d5b5277b2b59 (diff) | |
download | rockbox-f69d9c8a9508871c93396a4261bcc41a8a3cddc7.tar.gz rockbox-f69d9c8a9508871c93396a4261bcc41a8a3cddc7.zip |
Settings: Add a new option to prevent text scrollings in the home screen
This option is especially useful for theme creators that want to create themes with lockscreens. When text is scrolling, it is breaking the lockscreen so setting this option to true prevent this. Text will continue to scroll normally in all other contexts.
Change-Id: I194f6837217881d50f567a775b81d0b422caf35c
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r-- | apps/menus/display_menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c index c5c5e6d908..2ce566a888 100644 --- a/apps/menus/display_menu.c +++ b/apps/menus/display_menu.c | |||
@@ -331,6 +331,7 @@ MENUITEM_SETTING(list_accel_start_delay, | |||
331 | MENUITEM_SETTING(list_accel_wait, &global_settings.list_accel_wait, NULL); | 331 | MENUITEM_SETTING(list_accel_wait, &global_settings.list_accel_wait, NULL); |
332 | #endif /* HAVE_WHEEL_ACCELERATION */ | 332 | #endif /* HAVE_WHEEL_ACCELERATION */ |
333 | MENUITEM_SETTING(offset_out_of_view, &global_settings.offset_out_of_view, NULL); | 333 | MENUITEM_SETTING(offset_out_of_view, &global_settings.offset_out_of_view, NULL); |
334 | MENUITEM_SETTING(disable_mainmenu_scrolling, &global_settings.disable_mainmenu_scrolling, NULL); | ||
334 | MENUITEM_SETTING(screen_scroll_step, &global_settings.screen_scroll_step, NULL); | 335 | MENUITEM_SETTING(screen_scroll_step, &global_settings.screen_scroll_step, NULL); |
335 | MENUITEM_SETTING(scroll_paginated, &global_settings.scroll_paginated, NULL); | 336 | MENUITEM_SETTING(scroll_paginated, &global_settings.scroll_paginated, NULL); |
336 | MENUITEM_SETTING(list_wraparound, &global_settings.list_wraparound, NULL); | 337 | MENUITEM_SETTING(list_wraparound, &global_settings.list_wraparound, NULL); |
@@ -343,7 +344,9 @@ MAKE_MENU(scroll_settings_menu, ID2P(LANG_SCROLL_MENU), 0, Icon_NOICON, | |||
343 | #ifdef HAVE_REMOTE_LCD | 344 | #ifdef HAVE_REMOTE_LCD |
344 | &remote_scroll_sets, | 345 | &remote_scroll_sets, |
345 | #endif | 346 | #endif |
346 | &offset_out_of_view, &screen_scroll_step, | 347 | &offset_out_of_view, |
348 | &disable_mainmenu_scrolling, | ||
349 | &screen_scroll_step, | ||
347 | &scroll_paginated, | 350 | &scroll_paginated, |
348 | &list_wraparound, | 351 | &list_wraparound, |
349 | &list_order, | 352 | &list_order, |