forked from len0rd/rockbox
make sure skins always draw with their backdrop, otherwise the backdrop only changes on a full redraw which usually ends up being in the wrong order
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24435 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e457ccfea5
commit
bb86299b81
1 changed files with 5 additions and 4 deletions
|
@ -1006,16 +1006,17 @@ static bool skin_redraw(struct gui_wps *gwps, unsigned refresh_mode)
|
|||
|
||||
#endif
|
||||
|
||||
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)
|
||||
display->backdrop_show(data->backdrop);
|
||||
#endif
|
||||
|
||||
|
||||
/* reset to first subline if refresh all flag is set */
|
||||
if (refresh_mode == WPS_REFRESH_ALL)
|
||||
{
|
||||
struct skin_line *line;
|
||||
struct skin_viewport *skin_viewport = find_viewport(VP_DEFAULT_LABEL, data);
|
||||
|
||||
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)
|
||||
display->backdrop_show(data->backdrop);
|
||||
#endif
|
||||
|
||||
if (!(skin_viewport->hidden_flags & VP_NEVER_VISIBLE))
|
||||
{
|
||||
display->set_viewport(&skin_viewport->vp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue