forked from len0rd/rockbox
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
This commit is contained in:
parent
6adbbc0f2f
commit
8ef3c8a342
1 changed files with 8 additions and 0 deletions
|
|
@ -222,6 +222,14 @@ int plugin_main(void)
|
||||||
rb->lcd_getstringsize("A", &font_w, &font_h);
|
rb->lcd_getstringsize("A", &font_w, &font_h);
|
||||||
starfield_init(&starfield);
|
starfield_init(&starfield);
|
||||||
starfield_add_stars(&starfield, INIT_STARS);
|
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)
|
while (true)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue