mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Addded option to hide icons in dir browser. (Patch #728377)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3731 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ffefc5d5e1
commit
d1a6fa113d
7 changed files with 67 additions and 18 deletions
|
@ -92,8 +92,11 @@ void put_cursorxy(int x, int y, bool on)
|
|||
#ifdef HAVE_LCD_BITMAP
|
||||
int fh, fw;
|
||||
int xpos, ypos;
|
||||
|
||||
/* check here instead of at every call (ugly, but cheap) */
|
||||
if (global_settings.invert_cursor)
|
||||
return;
|
||||
|
||||
lcd_getstringsize("A", &fw, &fh);
|
||||
xpos = x*6;
|
||||
ypos = y*fh + lcd_getymargin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue