summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-11-04 05:10:53 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-11-04 05:10:53 +0000
commita7d784b1d5912b68ca9d921961639fe948404811 (patch)
tree096d85a7f013a250c6affe29f8ab22ececfb34b2 /apps/gui/skin_engine
parent5ce8e2cb0d2361606f3646e9fa59a39393500ba8 (diff)
downloadrockbox-a7d784b1d5912b68ca9d921961639fe948404811.tar.gz
rockbox-a7d784b1d5912b68ca9d921961639fe948404811.zip
Fix viewport "UI area" to work based on what was agreed on last week in the mailing lists and IRC:
* viewport_set_defaults() will always set the viewport to the intersection of the user setting and any sbs set user viewport * viewport_set_fullscreen() will always set the viewport to the full display, take care to disable the statusbars if you use this! This patch is from FS#10709 and contains code which will be removed once the current inbuilt statusbar is finally removed. This *may* break themes which dont use the %we or %wd token.. follow up commit to fix this coming... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23507 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine')
-rw-r--r--apps/gui/skin_engine/skin_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c
index 51f86e5686..460101a17b 100644
--- a/apps/gui/skin_engine/skin_display.c
+++ b/apps/gui/skin_engine/skin_display.c
@@ -108,7 +108,7 @@ void skin_statusbar_changed(struct gui_wps *skin)
108 const int screen = display->screen_type; 108 const int screen = display->screen_type;
109 109
110 struct viewport *vp = &find_viewport(VP_DEFAULT_LABEL, data)->vp; 110 struct viewport *vp = &find_viewport(VP_DEFAULT_LABEL, data)->vp;
111 viewport_set_fullscreen(vp, screen); 111 viewport_set_defaults(vp, screen);
112 112
113 if (data->wps_sb_tag) 113 if (data->wps_sb_tag)
114 { /* fix up the default viewport */ 114 { /* fix up the default viewport */