summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-08-01 13:36:37 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-08-01 13:36:37 +0000
commit754293aa6c0c68e1fb82bfd30c67f2fa48bc8ffe (patch)
treeea6c8d8c5df8b59e3c0408433d13f1ae7692ac07 /apps
parentf5808c1196f0b83ba18445ef61d518ee57ab3d37 (diff)
downloadrockbox-754293aa6c0c68e1fb82bfd30c67f2fa48bc8ffe.tar.gz
rockbox-754293aa6c0c68e1fb82bfd30c67f2fa48bc8ffe.tar.bz2
rockbox-754293aa6c0c68e1fb82bfd30c67f2fa48bc8ffe.zip
Accept FS#2821 - add some colour to the snow plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14118 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/snow.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/snow.c b/apps/plugins/snow.c
index c7ebb1864c..c815471e11 100644
--- a/apps/plugins/snow.c
+++ b/apps/plugins/snow.c
@@ -186,6 +186,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
return PLUGIN_OK;
}
#endif
+#ifdef HAVE_LCD_COLOR
+ rb->lcd_clear_display();
+ rb->lcd_set_foreground(LCD_WHITE);
+ rb->lcd_set_background(LCD_DEFAULT_BG);
+#endif
snow_init();
while (1) {
snow_move();