summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-07-05 18:07:58 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-07-05 18:07:58 +0000
commitf1034e00f6196c810466da66a9a24bf2e5f61272 (patch)
tree2e49089d421a75030c3a8e30503907a7f20eb511 /apps/gui/gwps.c
parent802743a061e01150db544c8e072cd794731b18a7 (diff)
downloadrockbox-f1034e00f6196c810466da66a9a24bf2e5f61272.tar.gz
rockbox-f1034e00f6196c810466da66a9a24bf2e5f61272.zip
FS#10406 - split the statusbar setting into one for each display, and allow the bar to be at the top or bottom of the display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21665 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r--apps/gui/gwps.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index 0b41f88cdc..64b8939ee9 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -937,7 +937,14 @@ static void statusbar_toggle_handler(void *data)
937 } 937 }
938 else 938 else
939 { 939 {
940 vp->y = STATUSBAR_HEIGHT; 940 bool bar_at_top = true;
941#ifdef HAVE_REMOTE_LCD
942 if (i == SCREEN_REMOTE)
943 bar_at_top = global_settings.remote_statusbar != STATUSBAR_BOTTOM;
944 else
945#endif
946 bar_at_top = global_settings.statusbar != STATUSBAR_BOTTOM;
947 vp->y = bar_at_top?STATUSBAR_HEIGHT:0;
941 vp->height = screens[i].lcdheight - STATUSBAR_HEIGHT; 948 vp->height = screens[i].lcdheight - STATUSBAR_HEIGHT;
942 } 949 }
943 } 950 }