summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-11-26 18:26:31 +0000
committerJens Arnold <amiconn@rockbox.org>2006-11-26 18:26:31 +0000
commit8ef3c8a342d41c2aa5e5d8370fd4e89d4d8d937e (patch)
tree2e89865cb2d487008c91897e12d870e17d6cb5dc
parent6adbbc0f2f971bacd57ad4240034a8656abff3d2 (diff)
downloadrockbox-8ef3c8a342d41c2aa5e5d8370fd4e89d4d8d937e.tar.gz
rockbox-8ef3c8a342d41c2aa5e5d8370fd4e89d4d8d937e.zip
Starfield should be white on black on colour targets, and disable backdrops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11605 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/starfield.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/starfield.c b/apps/plugins/starfield.c
index b236a21c21..93e4cac6ab 100644
--- a/apps/plugins/starfield.c
+++ b/apps/plugins/starfield.c
@@ -222,6 +222,14 @@ int plugin_main(void)
rb->lcd_getstringsize("A", &font_w, &font_h);
starfield_init(&starfield);
starfield_add_stars(&starfield, INIT_STARS);
+
+#if LCD_DEPTH > 1
+ rb->lcd_set_backdrop(NULL);
+#endif
+#ifdef HAVE_LCD_COLOR
+ rb->lcd_set_background(LCD_BLACK);
+ rb->lcd_set_foreground(LCD_WHITE);
+#endif
while (true)
{