From 0297873f6ac3a9dc0844dc3da9d432e4253d555d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 13 Nov 2006 00:45:21 +0000 Subject: Backdrop support for greyscale targets. WPS backdrop is untested. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index 623046a4b0..fea7b21529 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -83,7 +83,7 @@ #include "widgets.h" #endif -#ifdef HAVE_LCD_COLOR +#if LCD_DEPTH > 1 #include "backdrop.h" #endif @@ -118,7 +118,7 @@ const struct filetype filetypes[] = { #ifdef HAVE_REMOTE_LCD { "rwps", TREE_ATTR_RWPS, Icon_Wps, VOICE_EXT_RWPS }, #endif -#ifdef HAVE_LCD_COLOR +#if LCD_DEPTH > 1 { "bmp", TREE_ATTR_BMP, Icon_Wps, VOICE_EXT_WPS }, #endif #ifdef CONFIG_TUNER @@ -966,7 +966,7 @@ static bool dirbrowse(void) #endif reload_dir = true; #endif -#ifdef HAVE_LCD_COLOR +#if LCD_DEPTH > 1 show_main_backdrop(); #endif #ifdef HAVE_TAGCACHE -- cgit v1.2.3