summaryrefslogtreecommitdiff
path: root/apps/plugins/solitaire.c
diff options
context:
space:
mode:
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 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 )
362 362
363 if( selected ) 363 if( selected )
364 { 364 {
365#if LCD_DEPTH > 1
366 rb->lcd_set_foreground( FRAME_COLOR );
367#endif
368 rb->lcd_drawrect( x+1, y+1, CARD_WIDTH-2, CARD_HEIGHT-2 ); 365 rb->lcd_drawrect( x+1, y+1, CARD_WIDTH-2, CARD_HEIGHT-2 );
369#ifdef LARGE_CARD 366#ifdef LARGE_CARD
370 rb->lcd_drawrect( x+2, y+2, CARD_WIDTH-4, CARD_HEIGHT-4 ); 367 rb->lcd_drawrect( x+2, y+2, CARD_WIDTH-4, CARD_HEIGHT-4 );
371#endif 368#endif
372 } 369 }
373#if LCD_DEPTH > 1
374 rb->lcd_set_foreground( LCD_BLACK );
375#endif
376 370
377 if( cursor ) 371 if( cursor )
378 { 372 {
@@ -575,11 +569,6 @@ int solitaire_menu(bool in_game)
575 569
576 struct menu_item items[5]; 570 struct menu_item items[5];
577 571
578#if LCD_DEPTH > 1
579 rb->lcd_set_background(LCD_DEFAULT_BG);
580 rb->lcd_set_foreground(LCD_DEFAULT_FG);
581#endif
582
583 if (in_game) 572 if (in_game)
584 { 573 {
585 items[i++].desc = "Resume Game"; 574 items[i++].desc = "Resume Game";
@@ -1098,15 +1087,8 @@ int solitaire( void )
1098 1087
1099 while( true ) 1088 while( true )
1100 { 1089 {
1101#if LCD_DEPTH>1
1102 rb->lcd_set_background(BACKGROUND_COLOR);
1103#endif
1104 rb->lcd_clear_display(); 1090 rb->lcd_clear_display();
1105 1091
1106#if LCD_DEPTH > 1
1107 rb->lcd_set_foreground(LCD_BLACK);
1108#endif
1109
1110 /* get the biggest column length so that display can be "optimized" */ 1092 /* get the biggest column length so that display can be "optimized" */
1111 biggest_col_length = 0; 1093 biggest_col_length = 0;
1112 1094