summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-11-13 00:45:21 +0000
committerJens Arnold <amiconn@rockbox.org>2006-11-13 00:45:21 +0000
commit0297873f6ac3a9dc0844dc3da9d432e4253d555d (patch)
treecebede6c396a335cc6ccef974e20327f2c2a46dc /apps/tree.c
parent8c3f0681b2347ff51680d61f9226c587a9cfdcee (diff)
downloadrockbox-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/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 3 insertions, 3 deletions
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