summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 05fdd0a5d3..9a39b184c9 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -411,6 +411,14 @@ bool f3_screen(void)
411 global_settings.statusbar ? str(LANG_ON) : str(LANG_OFF)); 411 global_settings.statusbar ? str(LANG_ON) : str(LANG_OFF));
412 lcd_bitmap(bitmap_icons_7x8[Icon_FastForward], 412 lcd_bitmap(bitmap_icons_7x8[Icon_FastForward],
413 LCD_WIDTH/2 + 8, LCD_HEIGHT/2 - 4, 7, 8, true); 413 LCD_WIDTH/2 + 8, LCD_HEIGHT/2 - 4, 7, 8, true);
414
415 /* Invert */
416 lcd_putsxy((LCD_WIDTH-w)/2, LCD_HEIGHT - h*2, str(LANG_INVERT));
417 lcd_putsxy((LCD_WIDTH-w)/2, LCD_HEIGHT - h,
418 global_settings.invert ? str(LANG_ON) : str(LANG_OFF));
419 lcd_bitmap(bitmap_icons_7x8[Icon_DownArrow],
420 LCD_WIDTH/2 - 3, LCD_HEIGHT - h*3, 7, 8, true);
421
414 lcd_update(); 422 lcd_update();
415 423
416 switch (button_get(true)) { 424 switch (button_get(true)) {
@@ -426,6 +434,13 @@ bool f3_screen(void)
426 used = true; 434 used = true;
427 break; 435 break;
428 436
437 case BUTTON_DOWN:
438 case BUTTON_F3 | BUTTON_DOWN:
439 global_settings.invert = !global_settings.invert;
440 lcd_set_invert_display(global_settings.invert);
441 used = true;
442 break;
443
429 case BUTTON_F3 | BUTTON_REL: 444 case BUTTON_F3 | BUTTON_REL:
430 if ( used ) 445 if ( used )
431 exit = true; 446 exit = true;