diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/option_select.c | 2 | ||||
-rw-r--r-- | apps/gui/quickscreen.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c index b4b1b716bb..5dec9f7216 100644 --- a/apps/gui/option_select.c +++ b/apps/gui/option_select.c @@ -211,6 +211,7 @@ static int option_talk(int selected_item, void * data) return 0; } +#ifdef HAVE_QUICKSCREEN /* only the quickscreen uses this so far */ void option_select_next_val(struct settings_list *setting) { int val = 0; @@ -246,6 +247,7 @@ void option_select_next_val(struct settings_list *setting) } *value = val; } +#endif static int selection_to_val(struct settings_list *setting, int selection) { diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index f0eafb7299..f98c926e91 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c @@ -268,6 +268,8 @@ bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_enter) gui_syncstatusbar_draw(&statusbars, true); FOR_NB_SCREENS(i) { + screens[i].set_viewport(NULL); + screens[i].scroll_stop(NULL); vp[i].x = 0; vp[i].width = screens[i].width; vp[i].y = STATUSBAR_HEIGHT; @@ -275,8 +277,8 @@ bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_enter) #ifdef HAVE_LCD_COLOR if (screens[i].is_color) { - vp[i].fg_pattern = screens[i].get_foreground(); - vp[i].bg_pattern = screens[i].get_background(); + vp[i].fg_pattern = global_settings.fg_color; + vp[i].bg_pattern = global_settings.bg_color; } #endif vp[i].xmargin = 0; |