forked from len0rd/rockbox
The mute status display function now uses splash() too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5024 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9d5de4ac71
commit
b9062aef7c
1 changed files with 7 additions and 9 deletions
16
apps/wps.c
16
apps/wps.c
|
@ -137,22 +137,20 @@ void display_keylock_text(bool locked)
|
||||||
|
|
||||||
void display_mute_text(bool muted)
|
void display_mute_text(bool muted)
|
||||||
{
|
{
|
||||||
lcd_clear_display();
|
char *s;
|
||||||
|
lcd_stop_scroll();
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
if (muted)
|
if (muted)
|
||||||
lcd_puts(0, 0, str(LANG_MUTE_ON_PLAYER));
|
s = str(LANG_MUTE_ON_PLAYER);
|
||||||
else
|
else
|
||||||
lcd_puts(0, 0, str(LANG_MUTE_OFF_PLAYER));
|
s = str(LANG_MUTE_OFF_PLAYER);
|
||||||
#else
|
#else
|
||||||
if (muted)
|
if (muted)
|
||||||
lcd_puts(2, 3, str(LANG_MUTE_ON_RECORDER));
|
s = str(LANG_MUTE_ON_RECORDER);
|
||||||
else
|
else
|
||||||
lcd_puts(2, 3, str(LANG_MUTE_OFF_RECORDER));
|
s = str(LANG_MUTE_OFF_RECORDER);
|
||||||
lcd_update();
|
|
||||||
#endif
|
#endif
|
||||||
|
splash(HZ, true, s);
|
||||||
sleep(HZ);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool browse_id3(void)
|
bool browse_id3(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue