summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-08 09:38:03 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-08 09:38:03 +0000
commit7e6f124d4e155c4a9672c9797a324305f047466a (patch)
treeeebabf83ca85e88e183500a465d3901e4e3f25c0 /apps/gui/wps.c
parent499a0e6bed2b9e56df8b008957a549761d054dca (diff)
downloadrockbox-7e6f124d4e155c4a9672c9797a324305f047466a.zip
rockbox-7e6f124d4e155c4a9672c9797a324305f047466a.tar.gz
rockbox-7e6f124d4e155c4a9672c9797a324305f047466a.tar.bz2
rockbox-7e6f124d4e155c4a9672c9797a324305f047466a.tar.xz
revert r24478 and make the backdrop behaviour the same as it used to be (so when in the wps the sbs' backdrop will be fully disabled). Also changes the API back to having to manually set the current backdrop.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24565 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r--apps/gui/wps.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index ca74c45..f461c02 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -565,6 +565,7 @@ static void gwps_leave_wps(void)
FOR_NB_SCREENS(i)
{
gui_wps[i].display->stop_scroll();
+ gui_wps[i].display->backdrop_show(sb_get_backdrop(i));
#ifdef HAVE_LCD_BITMAP
bool draw = false;
@@ -601,9 +602,10 @@ static void gwps_enter_wps(void)
else if (statusbar_position(i) != STATUSBAR_OFF)
draw = true;
#endif
+ display->stop_scroll();
+ display->backdrop_show(gwps->data->backdrop);
viewportmanager_theme_enable(i, draw, NULL);
- display->stop_scroll();
/* Update the values in the first (default) viewport - in case the user
has modified the statusbar or colour settings */
#if LCD_DEPTH > 1