diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-11-13 00:45:21 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-11-13 00:45:21 +0000 |
commit | 0297873f6ac3a9dc0844dc3da9d432e4253d555d (patch) | |
tree | cebede6c396a335cc6ccef974e20327f2c2a46dc /apps/settings_menu.c | |
parent | 8c3f0681b2347ff51680d61f9226c587a9cfdcee (diff) | |
download | rockbox-0297873f6ac3a9dc0844dc3da9d432e4253d555d.tar.gz rockbox-0297873f6ac3a9dc0844dc3da9d432e4253d555d.zip |
Backdrop support for greyscale targets. WPS backdrop is untested.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 0cbe5344fb..83f2452613 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -81,7 +81,7 @@ void dac_line_in(bool enable); #include "dsp.h" #endif -#ifdef HAVE_LCD_COLOR +#if LCD_DEPTH > 1 #include "backdrop.h" #endif @@ -393,7 +393,7 @@ static bool invert_cursor(void) return rc; } -#ifdef HAVE_LCD_COLOR +#if LCD_DEPTH > 1 /** * Menu to clear the backdrop image */ @@ -404,7 +404,9 @@ static bool clear_main_backdrop(void) show_main_backdrop(); return false; } +#endif +#ifdef HAVE_LCD_COLOR /** * Menu for fore/back colors */ @@ -1969,8 +1971,10 @@ static bool lcd_settings_menu(void) #endif { ID2P(LANG_INVERT_CURSOR), invert_cursor }, #endif -#ifdef HAVE_LCD_COLOR +#if LCD_DEPTH > 1 { ID2P(LANG_CLEAR_BACKDROP), clear_main_backdrop }, +#endif +#ifdef HAVE_LCD_COLOR { ID2P(LANG_BACKGROUND_COLOR), set_bg_color }, { ID2P(LANG_FOREGROUND_COLOR), set_fg_color }, { ID2P(LANG_RESET_COLORS), reset_color }, |