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:
parent
8cea3dc779
commit
4fa2ee7570
1 changed files with 2 additions and 0 deletions
|
@ -433,6 +433,8 @@ static void draw_spot(int p, int x, int y)
|
|||
int old_fg = rb->lcd_get_foreground();
|
||||
rb->lcd_set_foreground(LCD_BLACK);
|
||||
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);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue