Draw a white rectangle around the empty spot to make it easier to distinghuish with dark pictures

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24972 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2010-02-28 14:56:40 +00:00
parent 8cea3dc779
commit 4fa2ee7570

View file

@ -433,6 +433,8 @@ static void draw_spot(int p, int x, int y)
int old_fg = rb->lcd_get_foreground(); int old_fg = rb->lcd_get_foreground();
rb->lcd_set_foreground(LCD_BLACK); rb->lcd_set_foreground(LCD_BLACK);
rb->lcd_fillrect(x,y,SPOTS_WIDTH,SPOTS_HEIGHT); rb->lcd_fillrect(x,y,SPOTS_WIDTH,SPOTS_HEIGHT);
rb->lcd_set_foreground(LCD_WHITE);
rb->lcd_drawrect(x,y,SPOTS_WIDTH,SPOTS_HEIGHT);
rb->lcd_set_foreground(old_fg); rb->lcd_set_foreground(old_fg);
#endif #endif
} }