summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.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/gui/gwps-common.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/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 98f2c7e2ed..212f40f3c0 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -48,7 +48,7 @@
48#include "bmp.h" 48#include "bmp.h"
49#include "atoi.h" 49#include "atoi.h"
50#endif 50#endif
51#ifdef HAVE_LCD_COLOR 51#if LCD_DEPTH > 1
52#include "backdrop.h" 52#include "backdrop.h"
53#endif 53#endif
54#include "dsp.h" 54#include "dsp.h"
@@ -143,7 +143,7 @@ bool wps_data_preload_tags(struct wps_data *data, char *buf,
143 } 143 }
144 break; 144 break;
145 145
146#ifdef HAVE_LCD_COLOR 146#if LCD_DEPTH > 1
147 case 'X': 147 case 'X':
148 /* Backdrop image - must be the same size as the LCD */ 148 /* Backdrop image - must be the same size as the LCD */
149 { 149 {
@@ -2473,7 +2473,7 @@ bool gui_wps_display(void)
2473 if(i == 0) 2473 if(i == 0)
2474 { 2474 {
2475#ifdef HAVE_LCD_BITMAP 2475#ifdef HAVE_LCD_BITMAP
2476#ifdef HAVE_LCD_COLOR 2476#if LCD_DEPTH > 1
2477 unload_wps_backdrop(); 2477 unload_wps_backdrop();
2478#endif 2478#endif
2479 wps_data_load(gui_wps[i].data, 2479 wps_data_load(gui_wps[i].data,