forked from len0rd/rockbox
quiet the masses...
stop the wps scrolling happening in the quickscreen green delta for non quickscreen targets nfi why colours arnt working... hopefully bug in firmware/? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16222 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c3e73a5f9e
commit
7ca3ccd2a4
2 changed files with 6 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue