From 4fa2ee7570ed749252bc9f3b9b348fba2cc92a49 Mon Sep 17 00:00:00 2001 From: Frank 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 0f5f5fd722..f6ba83e683 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 }