forked from len0rd/rockbox
simulated player text lines are moved down 8 pixels to make room for icons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1079 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e1bea8954b
commit
c4be1ee9f9
1 changed files with 6 additions and 2 deletions
|
@ -60,16 +60,20 @@ void put_cursorxy(int x, int y, bool on)
|
||||||
lcd_bitmap ( bitmap_icons_6x8[Cursor],
|
lcd_bitmap ( bitmap_icons_6x8[Cursor],
|
||||||
x*6, y*8, 4, 8, true);
|
x*6, y*8, 4, 8, true);
|
||||||
#elif defined(SIMULATOR)
|
#elif defined(SIMULATOR)
|
||||||
|
/* player simulator */
|
||||||
unsigned char cursor[] = { 0x7f, 0x3e, 0x1c, 0x08 };
|
unsigned char cursor[] = { 0x7f, 0x3e, 0x1c, 0x08 };
|
||||||
lcd_bitmap ( cursor, x*6, y*8, 4, 8, true);
|
lcd_bitmap ( cursor, x*6, 8+y*8, 4, 8, true);
|
||||||
#else
|
#else
|
||||||
lcd_puts(x, y, CURSOR_CHAR);
|
lcd_puts(x, y, CURSOR_CHAR);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR)
|
#if defined(HAVE_LCD_BITMAP)
|
||||||
/* I use xy here since it needs to disregard the margins */
|
/* I use xy here since it needs to disregard the margins */
|
||||||
lcd_clearrect (x*6, y*8, 4, 8);
|
lcd_clearrect (x*6, y*8, 4, 8);
|
||||||
|
#elif defined(SIMULATOR)
|
||||||
|
/* player simulator in action */
|
||||||
|
lcd_clearrect (x*6, 8+y*8, 4, 8);
|
||||||
#else
|
#else
|
||||||
lcd_puts(x, y, " ");
|
lcd_puts(x, y, " ");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue