summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sliding_puzzle.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-02-28 14:56:40 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-02-28 14:56:40 +0000
commit4fa2ee7570ed749252bc9f3b9b348fba2cc92a49 (patch)
tree038c375ebcfc1f02fbfdbbbb8f254addb9e20221 /apps/plugins/sliding_puzzle.c
parent8cea3dc7793a760be13b9071e8d2d9e592b8723b (diff)
downloadrockbox-4fa2ee7570ed749252bc9f3b9b348fba2cc92a49.tar.gz
rockbox-4fa2ee7570ed749252bc9f3b9b348fba2cc92a49.tar.bz2
rockbox-4fa2ee7570ed749252bc9f3b9b348fba2cc92a49.zip
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
Diffstat (limited to 'apps/plugins/sliding_puzzle.c')
-rw-r--r--apps/plugins/sliding_puzzle.c2
1 files changed, 2 insertions, 0 deletions
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
}