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/settings.h | |
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/settings.h')
-rw-r--r-- | apps/settings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 056f40df6a..1343538b0b 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -686,6 +686,7 @@ struct user_settings | |||
686 | int screen_scroll_step; | 686 | int screen_scroll_step; |
687 | int show_path_in_browser; /* 0=off, 1=current directory, 2=full path */ | 687 | int show_path_in_browser; /* 0=off, 1=current directory, 2=full path */ |
688 | bool offset_out_of_view; | 688 | bool offset_out_of_view; |
689 | bool disable_mainmenu_scrolling; | ||
689 | unsigned char icon_file[MAX_FILENAME+1]; | 690 | unsigned char icon_file[MAX_FILENAME+1]; |
690 | unsigned char viewers_icon_file[MAX_FILENAME+1]; | 691 | unsigned char viewers_icon_file[MAX_FILENAME+1]; |
691 | unsigned char font_file[MAX_FILENAME+1]; /* last font */ | 692 | unsigned char font_file[MAX_FILENAME+1]; /* last font */ |