1
0
Fork 0
forked from len0rd/rockbox

Fix WPS backdrop drawing, as instructed by JdGordon.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24571 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alex Parker 2010-02-08 22:34:04 +00:00
parent 1cc4bd8f86
commit 3e4e67b408

View file

@ -605,9 +605,6 @@ static void gwps_enter_wps(void)
draw = true; draw = true;
#endif #endif
display->stop_scroll(); display->stop_scroll();
#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
display->backdrop_show(gwps->data->backdrop);
#endif
viewportmanager_theme_enable(i, draw, NULL); viewportmanager_theme_enable(i, draw, NULL);
/* Update the values in the first (default) viewport - in case the user /* Update the values in the first (default) viewport - in case the user
@ -621,6 +618,9 @@ static void gwps_enter_wps(void)
} }
#endif #endif
/* make the backdrop actually take effect */ /* make the backdrop actually take effect */
#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
display->backdrop_show(gwps->data->backdrop);
#endif
display->clear_display(); display->clear_display();
skin_update(gwps, WPS_REFRESH_ALL); skin_update(gwps, WPS_REFRESH_ALL);
} }