summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 7088cee950..ad812076a9 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -71,6 +71,7 @@
71#include "select.h" 71#include "select.h"
72#include "statusbar.h" 72#include "statusbar.h"
73#include "splash.h" 73#include "splash.h"
74#include "list.h"
74 75
75#if CONFIG_CODEC == MAS3507D 76#if CONFIG_CODEC == MAS3507D
76void dac_line_in(bool enable); 77void dac_line_in(bool enable);
@@ -492,6 +493,15 @@ static const struct bit_entry hd_bits[] =
492 {4, S_O(brightness), 9, "brightness", NULL }, 493 {4, S_O(brightness), 9, "brightness", NULL },
493#endif 494#endif
494 495
496#ifdef HAVE_LCD_BITMAP
497 {1, S_O(offset_out_of_view), false, "Screen Scrolls Out Of View", off_on },
498#if LCD_WIDTH > 127
499 {8, S_O(screen_scroll_step), 16, "screen scroll step", NULL }, /* 1...160 */
500#else
501 {7, S_O(screen_scroll_step), 16, "screen scroll step", NULL }, /* 1...112 */
502#endif
503#endif /* HAVE_LCD_BITMAP */
504
495 /* If values are just added to the end, no need to bump the version. */ 505 /* If values are just added to the end, no need to bump the version. */
496 /* new stuff to be added at the end */ 506 /* new stuff to be added at the end */
497 507
@@ -957,6 +967,8 @@ void settings_apply(void)
957 font_reset(); 967 font_reset();
958 968
959 lcd_scroll_step(global_settings.scroll_step); 969 lcd_scroll_step(global_settings.scroll_step);
970 gui_list_screen_scroll_step(global_settings.screen_scroll_step);
971 gui_list_screen_scroll_out_of_view(global_settings.offset_out_of_view);
960#else 972#else
961 lcd_jump_scroll(global_settings.jump_scroll); 973 lcd_jump_scroll(global_settings.jump_scroll);
962 lcd_jump_scroll_delay(global_settings.jump_scroll_delay * (HZ/10)); 974 lcd_jump_scroll_delay(global_settings.jump_scroll_delay * (HZ/10));