summaryrefslogtreecommitdiff
path: root/apps/screen_access.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/screen_access.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/screen_access.c')
-rw-r--r--apps/screen_access.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index acb376e92a..8dcd091e81 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -51,11 +51,8 @@ struct screen screens[NB_SCREENS] =
51 .has_disk_led=true, 51 .has_disk_led=true,
52#endif 52#endif
53 .set_viewport=&lcd_set_viewport, 53 .set_viewport=&lcd_set_viewport,
54 .setmargins=&lcd_setmargins,
55 .getwidth=&lcd_getwidth, 54 .getwidth=&lcd_getwidth,
56 .getheight=&lcd_getheight, 55 .getheight=&lcd_getheight,
57 .getymargin=&lcd_getymargin,
58 .getxmargin=&lcd_getxmargin,
59 .getstringsize=&lcd_getstringsize, 56 .getstringsize=&lcd_getstringsize,
60#ifdef HAVE_LCD_BITMAP 57#ifdef HAVE_LCD_BITMAP
61 .setfont=&lcd_setfont, 58 .setfont=&lcd_setfont,
@@ -142,11 +139,8 @@ struct screen screens[NB_SCREENS] =
142 .pixel_format=LCD_REMOTE_PIXELFORMAT, 139 .pixel_format=LCD_REMOTE_PIXELFORMAT,
143 .has_disk_led=false, 140 .has_disk_led=false,
144 .set_viewport=&lcd_remote_set_viewport, 141 .set_viewport=&lcd_remote_set_viewport,
145 .setmargins=&lcd_remote_setmargins,
146 .getwidth=&lcd_remote_getwidth, 142 .getwidth=&lcd_remote_getwidth,
147 .getheight=&lcd_remote_getheight, 143 .getheight=&lcd_remote_getheight,
148 .getymargin=&lcd_remote_getymargin,
149 .getxmargin=&lcd_remote_getxmargin,
150 .getstringsize=&lcd_remote_getstringsize, 144 .getstringsize=&lcd_remote_getstringsize,
151#if 1 /* all remote LCDs are bitmapped so far */ 145#if 1 /* all remote LCDs are bitmapped so far */
152 .setfont=&lcd_remote_setfont, 146 .setfont=&lcd_remote_setfont,