From f2ce46f35d30b6004f0db837eac3de2e5caabfee Mon Sep 17 00:00:00 2001 From: gevaerts Date: Sun, 28 Feb 2010 14:56:40 +0000 Subject: [PATCH] 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 --- apps/plugins/sliding_puzzle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/plugins/sliding_puzzle.c b/apps/plugins/sliding_puzzle.c index 0f5f5fd72..f6ba83e68 100644 --- a/apps/plugins/sliding_puzzle.c +++ b/apps/plugins/sliding_puzzle.c @@ -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 } -- 2.11.4.GIT