forked from len0rd/rockbox
Added reference to the small screensaver app I added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@387 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8307cfd1c1
commit
caa446f4bb
1 changed files with 7 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ int cursor = 0;
|
||||||
void menu_init(void)
|
void menu_init(void)
|
||||||
{
|
{
|
||||||
lcd_puts(6, 0, "Rockabox", 0);
|
lcd_puts(6, 0, "Rockabox", 0);
|
||||||
lcd_puts(6, 8, "Boxrock", 0);
|
lcd_puts(6, 8, "Screen Saver", 0);
|
||||||
|
#define LINE_SS 1
|
||||||
lcd_puts(6, 16, "Browse", 0);
|
lcd_puts(6, 16, "Browse", 0);
|
||||||
#define LINE_BROWSE 2
|
#define LINE_BROWSE 2
|
||||||
lcd_puts(6, 24, "Tetris", 0);
|
lcd_puts(6, 24, "Tetris", 0);
|
||||||
|
|
@ -88,6 +89,11 @@ void app_main(void)
|
||||||
lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
|
lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
|
||||||
menu_init();
|
menu_init();
|
||||||
break;
|
break;
|
||||||
|
case (LINE_SS * LINE_HEIGHT):
|
||||||
|
screensaver();
|
||||||
|
lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
|
||||||
|
menu_init();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue