1
0
Fork 0
forked from len0rd/rockbox

made the jackpot plugin use the new common sprite functions, cosmetic change to the clock plugin's code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14182 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Kevin Ferrare 2007-08-04 15:13:28 +00:00
parent 14d276121a
commit 1d91334428
2 changed files with 13 additions and 24 deletions

View file

@ -174,16 +174,17 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter){
break;
default:
redraw=false;
if(rb->default_event_handler_ex(button, cleanup, NULL)
== SYS_USB_CONNECTED)
return PLUGIN_USB_CONNECTED;
if(time.second != last_second){
last_second=time.second;
redraw=true;
}else
redraw=false;
break;
}
if(time.second != last_second){
last_second=time.second;
redraw=true;
}
if(redraw){
clock_draw_set_colors();
FOR_NB_SCREENS(i)