diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2006-11-15 06:14:27 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2006-11-15 06:14:27 +0000 |
commit | d6b0c973127377760350ec92f3f1a33af0566835 (patch) | |
tree | 1052a2407af8e44e2e2b3f8327b2270e9dc655b8 /apps/plugins/solitaire.c | |
parent | 9b0ef15c0de787b41b378be88bd01001c1ba3d2d (diff) | |
download | rockbox-d6b0c973127377760350ec92f3f1a33af0566835.tar.gz rockbox-d6b0c973127377760350ec92f3f1a33af0566835.zip |
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.c | 18 |
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 | ||