forked from len0rd/rockbox
*** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@402 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
38cb040f07
commit
6675042641
2 changed files with 1 additions and 3 deletions
|
|
@ -102,11 +102,9 @@ void app_main(void)
|
||||||
case BUTTON_DOWN:
|
case BUTTON_DOWN:
|
||||||
if(cursor == menu_bottom ){
|
if(cursor == menu_bottom ){
|
||||||
/* wrap around to menu top */
|
/* wrap around to menu top */
|
||||||
printf("from (%d) to (%d)\n", cursor, menu_top);
|
|
||||||
cursor = put_cursor(cursor, menu_top);
|
cursor = put_cursor(cursor, menu_top);
|
||||||
} else {
|
} else {
|
||||||
/* move down */
|
/* move down */
|
||||||
printf("from (%d) to (%d)\n", cursor, cursor+1);
|
|
||||||
cursor = put_cursor(cursor, cursor+1);
|
cursor = put_cursor(cursor, cursor+1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ void ss_loop(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
lcd_clear_display();
|
lcd_clear_display();
|
||||||
drawrect(x-offset, y-offset, x2+offset, y2+offset);
|
lcd_drawrect(x-offset, y-offset, x2+offset, y2+offset);
|
||||||
lcd_update();
|
lcd_update();
|
||||||
|
|
||||||
i+=factor;
|
i+=factor;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue