summaryrefslogtreecommitdiff
path: root/apps/plugins/test_fps.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-06-23 13:20:35 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-06-23 13:20:35 +0000
commitbdbdb97f19655a635a2d37f81f9fe1e31f9162b2 (patch)
treeea5672478b70e550910bc179a7644afa70c0d057 /apps/plugins/test_fps.c
parentc1b8df05e1def3096ff6d2ea55f23b2e72936fce (diff)
downloadrockbox-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/test_fps.c')
-rw-r--r--apps/plugins/test_fps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index 0852e0a9fb..d5b34faeb9 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -57,14 +57,12 @@ static void log_init(void)
57{ 57{
58 int h; 58 int h;
59 59
60 rb->lcd_setmargins(0, 0);
61 rb->lcd_getstringsize("A", NULL, &h); 60 rb->lcd_getstringsize("A", NULL, &h);
62 max_line = LCD_HEIGHT / h; 61 max_line = LCD_HEIGHT / h;
63 line = 0; 62 line = 0;
64 rb->lcd_clear_display(); 63 rb->lcd_clear_display();
65 rb->lcd_update(); 64 rb->lcd_update();
66#ifdef HAVE_REMOTE_LCD 65#ifdef HAVE_REMOTE_LCD
67 rb->lcd_remote_setmargins(0, 0);
68 rb->lcd_remote_getstringsize("A", NULL, &h); 66 rb->lcd_remote_getstringsize("A", NULL, &h);
69 remote_max_line = LCD_REMOTE_HEIGHT / h; 67 remote_max_line = LCD_REMOTE_HEIGHT / h;
70 remote_line = 0; 68 remote_line = 0;