From d6b0c973127377760350ec92f3f1a33af0566835 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Wed, 15 Nov 2006 06:14:27 +0000 Subject: 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 --- apps/plugins/solitaire.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'apps/plugins/solitaire.c') diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index d72cea9a96..fe72d823b5 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; -- cgit v1.2.3