1
0
Fork 0
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:
Rafaël Carré 2010-08-28 21:46:45 +00:00
parent 8418a2c94a
commit ab9fd1840b
52 changed files with 173 additions and 412 deletions

View file

@ -582,7 +582,6 @@ static int loopit(void)
int show=0;
int timeout=0;
char buffer[30];
rb->lcd_clear_display();
while(1)
@ -628,9 +627,8 @@ static int loopit(void)
show=NUM_LAST-1;
break;
}
rb->snprintf(buffer, 30, "%s: %d",
rb->lcd_putsxyf(0, LCD_HEIGHT - 8, "%s: %d",
values[show].what, values[show].num);
rb->lcd_putsxy(0, LCD_HEIGHT - 8, (unsigned char *)buffer);
timeout--;
}
for(i=0, yy=y, xx=x;