summaryrefslogtreecommitdiff
path: root/apps/plugins/solitaire.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2006-11-15 06:14:27 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2006-11-15 06:14:27 +0000
commitd6b0c973127377760350ec92f3f1a33af0566835 (patch)
tree1052a2407af8e44e2e2b3f8327b2270e9dc655b8 /apps/plugins/solitaire.c
parent9b0ef15c0de787b41b378be88bd01001c1ba3d2d (diff)
downloadrockbox-d6b0c973127377760350ec92f3f1a33af0566835.zip
rockbox-d6b0c973127377760350ec92f3f1a33af0566835.tar.gz
rockbox-d6b0c973127377760350ec92f3f1a33af0566835.tar.bz2
rockbox-d6b0c973127377760350ec92f3f1a33af0566835.tar.xz
Don't need to remove the backdrop for all plugins - leave it up for some.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/solitaire.c')
-rw-r--r--apps/plugins/solitaire.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index d72cea9..fe72d82 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -362,17 +362,11 @@ static void draw_card_ext( int x, int y, bool selected, bool cursor )
if( selected )
{
-#if LCD_DEPTH > 1
- rb->lcd_set_foreground( FRAME_COLOR );
-#endif
rb->lcd_drawrect( x+1, y+1, CARD_WIDTH-2, CARD_HEIGHT-2 );
#ifdef LARGE_CARD
rb->lcd_drawrect( x+2, y+2, CARD_WIDTH-4, CARD_HEIGHT-4 );
#endif
}
-#if LCD_DEPTH > 1
- rb->lcd_set_foreground( LCD_BLACK );
-#endif
if( cursor )
{
@@ -575,11 +569,6 @@ int solitaire_menu(bool in_game)
struct menu_item items[5];
-#if LCD_DEPTH > 1
- rb->lcd_set_background(LCD_DEFAULT_BG);
- rb->lcd_set_foreground(LCD_DEFAULT_FG);
-#endif
-
if (in_game)
{
items[i++].desc = "Resume Game";
@@ -1098,15 +1087,8 @@ int solitaire( void )
while( true )
{
-#if LCD_DEPTH>1
- rb->lcd_set_background(BACKGROUND_COLOR);
-#endif
rb->lcd_clear_display();
-#if LCD_DEPTH > 1
- rb->lcd_set_foreground(LCD_BLACK);
-#endif
-
/* get the biggest column length so that display can be "optimized" */
biggest_col_length = 0;