diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-06-23 13:20:35 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-06-23 13:20:35 +0000 |
commit | bdbdb97f19655a635a2d37f81f9fe1e31f9162b2 (patch) | |
tree | ea5672478b70e550910bc179a7644afa70c0d057 /apps/plugins/viewer.c | |
parent | c1b8df05e1def3096ff6d2ea55f23b2e72936fce (diff) | |
download | rockbox-bdbdb97f19655a635a2d37f81f9fe1e31f9162b2.tar.gz rockbox-bdbdb97f19655a635a2d37f81f9fe1e31f9162b2.zip |
FS#9051 - remove LCD margins... use viewports if you need them...
NOTE to WPS people....
%m has been removed, but (i think) because of the other %m tags it wont fail if you try loading a wps with %m|..|, it will just be ignored.
Also note that if the statusbar is enabled the default viewport is 8 pixels shorter than when its not, i.e (0,0) is really (0,8) if the statusbar is shown... I dont think this will be a major issue because almost no WPS show the bar and use bitmaps... text only WPS shouldnt be affected.
Please report problem screens in http://forums.rockbox.org/index.php?topic=17358.0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r-- | apps/plugins/viewer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index d596f43b83..507efac6df 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -1421,7 +1421,6 @@ static bool viewer_options_menu(void) | |||
1421 | result = menu_run(m); | 1421 | result = menu_run(m); |
1422 | menu_exit(m); | 1422 | menu_exit(m); |
1423 | #ifdef HAVE_LCD_BITMAP | 1423 | #ifdef HAVE_LCD_BITMAP |
1424 | rb->lcd_setmargins(0,0); | ||
1425 | 1424 | ||
1426 | /* Show-scrollbar mode for current view-width mode */ | 1425 | /* Show-scrollbar mode for current view-width mode */ |
1427 | init_need_scrollbar(); | 1426 | init_need_scrollbar(); |
@@ -1459,9 +1458,6 @@ static void viewer_menu(void) | |||
1459 | break; | 1458 | break; |
1460 | } | 1459 | } |
1461 | menu_exit(m); | 1460 | menu_exit(m); |
1462 | #ifdef HAVE_LCD_BITMAP | ||
1463 | rb->lcd_setmargins(0,0); | ||
1464 | #endif | ||
1465 | viewer_draw(col); | 1461 | viewer_draw(col); |
1466 | } | 1462 | } |
1467 | 1463 | ||