forked from len0rd/rockbox
plugins: use lcd_putsf/lcd_putsxyf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8418a2c94a
commit
ab9fd1840b
52 changed files with 173 additions and 412 deletions
|
@ -160,15 +160,12 @@ bool tidy_remove_item(char *item, int attr)
|
|||
|
||||
void tidy_lcd_status(const char *name, int *removed)
|
||||
{
|
||||
char text[24]; /* "Cleaned up nnnnn items" */
|
||||
|
||||
/* display status text */
|
||||
rb->lcd_clear_display();
|
||||
rb->lcd_puts(0, 0, "Working ...");
|
||||
rb->lcd_puts(0, 1, name);
|
||||
rb->snprintf(text, 24, "Cleaned up %d items", *removed);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
rb->lcd_puts(0, 2, text);
|
||||
rb->lcd_putsf(0, 2, "Cleaned up %d items", *removed);
|
||||
#endif
|
||||
rb->lcd_update();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue