forked from len0rd/rockbox
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
This commit is contained in:
parent
c1b8df05e1
commit
bdbdb97f19
38 changed files with 145 additions and 418 deletions
|
|
@ -51,11 +51,8 @@ struct screen screens[NB_SCREENS] =
|
|||
.has_disk_led=true,
|
||||
#endif
|
||||
.set_viewport=&lcd_set_viewport,
|
||||
.setmargins=&lcd_setmargins,
|
||||
.getwidth=&lcd_getwidth,
|
||||
.getheight=&lcd_getheight,
|
||||
.getymargin=&lcd_getymargin,
|
||||
.getxmargin=&lcd_getxmargin,
|
||||
.getstringsize=&lcd_getstringsize,
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
.setfont=&lcd_setfont,
|
||||
|
|
@ -142,11 +139,8 @@ struct screen screens[NB_SCREENS] =
|
|||
.pixel_format=LCD_REMOTE_PIXELFORMAT,
|
||||
.has_disk_led=false,
|
||||
.set_viewport=&lcd_remote_set_viewport,
|
||||
.setmargins=&lcd_remote_setmargins,
|
||||
.getwidth=&lcd_remote_getwidth,
|
||||
.getheight=&lcd_remote_getheight,
|
||||
.getymargin=&lcd_remote_getymargin,
|
||||
.getxmargin=&lcd_remote_getxmargin,
|
||||
.getstringsize=&lcd_remote_getstringsize,
|
||||
#if 1 /* all remote LCDs are bitmapped so far */
|
||||
.setfont=&lcd_remote_setfont,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue