summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/star.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index c844549c05..2cb380810f 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -920,19 +920,27 @@ static int star_menu(void)
920 case STAR_UP: 920 case STAR_UP:
921 if (menu_y > 0) { 921 if (menu_y > 0) {
922 move_y = -1; 922 move_y = -1;
923#if LCD_DEPTH > 1
923 int oldforeground = rb->lcd_get_foreground(); 924 int oldforeground = rb->lcd_get_foreground();
924 rb->lcd_set_foreground(LCD_BLACK); 925 rb->lcd_set_foreground(LCD_BLACK);
926#endif
925 rb->lcd_fillrect(0, menu_offset_y + char_height * menu_y - 2, 15, char_height + 3); 927 rb->lcd_fillrect(0, menu_offset_y + char_height * menu_y - 2, 15, char_height + 3);
928#if LCD_DEPTH > 1
926 rb->lcd_set_foreground(oldforeground); 929 rb->lcd_set_foreground(oldforeground);
930#endif
927 } 931 }
928 break; 932 break;
929 case STAR_DOWN: 933 case STAR_DOWN:
930 if (menu_y < 3) { 934 if (menu_y < 3) {
931 move_y = 1; 935 move_y = 1;
936#if LCD_DEPTH > 1
932 int oldforeground = rb->lcd_get_foreground(); 937 int oldforeground = rb->lcd_get_foreground();
933 rb->lcd_set_foreground(LCD_BLACK); 938 rb->lcd_set_foreground(LCD_BLACK);
939#endif
934 rb->lcd_fillrect(0, menu_offset_y + char_height * menu_y - 1, 15, char_height + 2); 940 rb->lcd_fillrect(0, menu_offset_y + char_height * menu_y - 1, 15, char_height + 2);
941#if LCD_DEPTH > 1
935 rb->lcd_set_foreground(oldforeground); 942 rb->lcd_set_foreground(oldforeground);
943#endif
936 } 944 }
937 break; 945 break;
938 946