summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-04-25 22:08:00 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-04-25 22:08:00 +0000
commit1cf2ec38b1d3fbbe62fab1daf39f617bb64516a9 (patch)
tree7cf670647d6b2f71be80854322daf80620e50247 /apps/menus/display_menu.c
parent9db669e1af5443f654f92a6ee7257c365ec0f52a (diff)
downloadrockbox-1cf2ec38b1d3fbbe62fab1daf39f617bb64516a9.tar.gz
rockbox-1cf2ec38b1d3fbbe62fab1daf39f617bb64516a9.tar.bz2
rockbox-1cf2ec38b1d3fbbe62fab1daf39f617bb64516a9.zip
Change some ifdefs for the recent backdrop changes (fixes the yellow builds) and move the backdrop files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13265 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index 9f6b2be624..18506e7304 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -29,7 +29,6 @@
#include "tree.h"
#include "list.h"
#ifdef HAVE_LCD_BITMAP
-#include "backdrop.h"
#include "peakmeter.h"
#endif
#include "talk.h"
@@ -37,6 +36,10 @@
#include "lcd.h"
#include "lcd-remote.h"
+#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
+#include "backdrop.h"
+#endif
+
#ifdef HAVE_BACKLIGHT
int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)