diff options
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 2de6d93c5c..e70ed6767b 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -300,7 +300,19 @@ static bool invert_cursor(void) | |||
300 | STR(LANG_INVERT_CURSOR_POINTER), | 300 | STR(LANG_INVERT_CURSOR_POINTER), |
301 | NULL); | 301 | NULL); |
302 | } | 302 | } |
303 | 303 | ||
304 | #ifdef HAVE_LCD_COLOR | ||
305 | /** | ||
306 | * Menu to clear the backdrop image | ||
307 | */ | ||
308 | static bool clear_main_backdrop(void) | ||
309 | { | ||
310 | global_settings.backdrop_file[0]=0; | ||
311 | lcd_set_backdrop(NULL); | ||
312 | return true; | ||
313 | } | ||
314 | #endif | ||
315 | |||
304 | /** | 316 | /** |
305 | * Menu to configure the battery display on status bar | 317 | * Menu to configure the battery display on status bar |
306 | */ | 318 | */ |
@@ -1563,6 +1575,9 @@ static bool lcd_settings_menu(void) | |||
1563 | { ID2P(LANG_FLIP_DISPLAY), flip_display }, | 1575 | { ID2P(LANG_FLIP_DISPLAY), flip_display }, |
1564 | { ID2P(LANG_INVERT_CURSOR), invert_cursor }, | 1576 | { ID2P(LANG_INVERT_CURSOR), invert_cursor }, |
1565 | #endif | 1577 | #endif |
1578 | #ifdef HAVE_LCD_COLOR | ||
1579 | { ID2P(LANG_CLEAR_BACKDROP), clear_main_backdrop }, | ||
1580 | #endif | ||
1566 | }; | 1581 | }; |
1567 | 1582 | ||
1568 | m=menu_init( items, sizeof(items) / sizeof(*items), NULL, | 1583 | m=menu_init( items, sizeof(items) / sizeof(*items), NULL, |