1
0
Fork 0
forked from len0rd/rockbox

use the new splash() api

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4203 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2004-01-08 12:00:04 +00:00
parent cd8847b883
commit 0582b91872

View file

@ -341,7 +341,7 @@ bool radio_screen(void)
case BUTTON_PLAY: case BUTTON_PLAY:
if(!screen_freeze) if(!screen_freeze)
{ {
splash(0, 0, true, "Screen frozen"); splash(0, true, "Screen frozen");
lcd_update(); lcd_update();
screen_freeze = true; screen_freeze = true;
} }
@ -456,7 +456,7 @@ bool radio_screen(void)
if(mpeg_status() & MPEG_STATUS_ERROR) if(mpeg_status() & MPEG_STATUS_ERROR)
{ {
status_set_playmode(STATUS_STOP); status_set_playmode(STATUS_STOP);
splash(0, 0, true, str(LANG_DISK_FULL)); splash(0, true, str(LANG_DISK_FULL));
status_draw(true); status_draw(true);
lcd_update(); lcd_update();
mpeg_error_clear(); mpeg_error_clear();
@ -531,7 +531,7 @@ void radio_save_presets(void)
} }
else else
{ {
splash(HZ*2, 0, true, str(LANG_FM_PRESET_SAVE_FAILED)); splash(HZ*2, true, str(LANG_FM_PRESET_SAVE_FAILED));
} }
} }
@ -621,7 +621,7 @@ bool radio_preset_select(void)
} }
else else
{ {
splash(HZ*2, 0, true, str(LANG_FM_NO_PRESETS)); splash(HZ*2, true, str(LANG_FM_NO_PRESETS));
} }
} }
@ -647,7 +647,7 @@ static bool radio_add_preset(void)
} }
else else
{ {
splash(HZ*2, 0, true, str(LANG_FM_NO_FREE_PRESETS)); splash(HZ*2, true, str(LANG_FM_NO_FREE_PRESETS));
} }
return true; return true;
} }