forked from len0rd/rockbox
Minor quickscreen and pitchscreen fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19924 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e8da447729
commit
dd13730112
2 changed files with 3 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ static void quickscreen_fix_viewports(struct gui_quickscreen *qs,
|
|||
/* center the icons VP first */
|
||||
vp_icons[screen] = *parent;
|
||||
vp_icons[screen].width = CENTER_ICONAREA_WIDTH; /* abosulte smallest allowed */
|
||||
vp_icons[screen].x = (parent->width-parent->x-CENTER_ICONAREA_WIDTH)/2;
|
||||
vp_icons[screen].x = parent->x + (parent->width / 2 - CENTER_ICONAREA_WIDTH / 2);
|
||||
|
||||
vps[screen][QUICKSCREEN_BOTTOM] = *parent;
|
||||
if (nb_lines <= MIN_LINES) /* make the bottom item use 1 line */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue