forked from len0rd/rockbox
lcd_puts() now clears to end-of-line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2252 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dad31ea86b
commit
3b97474978
2 changed files with 23 additions and 16 deletions
|
|
@ -81,9 +81,9 @@ struct menu {
|
|||
#endif /* HAVE_LCD_BITMAP */
|
||||
|
||||
#ifdef HAVE_NEW_CHARCELL_LCD
|
||||
#define CURSOR_CHAR "\x7e"
|
||||
#define CURSOR_CHAR 0x7e
|
||||
#else
|
||||
#define CURSOR_CHAR "\x89"
|
||||
#define CURSOR_CHAR 0x89
|
||||
#endif
|
||||
|
||||
static struct menu menus[MAX_MENUS];
|
||||
|
|
@ -112,7 +112,7 @@ void put_cursorxy(int x, int y, bool on)
|
|||
unsigned char cursor[] = { 0x7f, 0x3e, 0x1c, 0x08 };
|
||||
lcd_bitmap ( cursor, x*6, 12+y*16, 4, 8, true);
|
||||
#else
|
||||
lcd_puts(x, y, CURSOR_CHAR);
|
||||
lcd_putc(x, y, CURSOR_CHAR);
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
|
@ -123,7 +123,7 @@ void put_cursorxy(int x, int y, bool on)
|
|||
/* player simulator in action */
|
||||
lcd_clearrect (x*6, 12+y*16, 4, 8);
|
||||
#else
|
||||
lcd_puts(x, y, " ");
|
||||
lcd_putc(x, y, ' ');
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue