summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uisimulator/app.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/uisimulator/app.c b/uisimulator/app.c
index 6ba36e1..d640177 100644
--- a/uisimulator/app.c
+++ b/uisimulator/app.c
@@ -36,7 +36,8 @@ int cursor = 0;
void menu_init(void)
{
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);
#define LINE_BROWSE 2
lcd_puts(6, 24, "Tetris", 0);
@@ -88,6 +89,11 @@ void app_main(void)
lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
menu_init();
break;
+ case (LINE_SS * LINE_HEIGHT):
+ screensaver();
+ lcd_clearrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
+ menu_init();
+ break;
}
break;
}