summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-29 08:13:40 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-29 08:13:40 +0000
commit349bf08ed1b31611b6d03694ca044cc296592f66 (patch)
treeae355ba99e366345bc8b5966cd6ee46337dcb299 /apps
parenteee5423fe10f247f74d69404924edf3a0d54e8cd (diff)
downloadrockbox-349bf08ed1b31611b6d03694ca044cc296592f66.tar.gz
rockbox-349bf08ed1b31611b6d03694ca044cc296592f66.zip
fix reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24367 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/backdrop.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/gui/backdrop.h b/apps/gui/backdrop.h
index 735a884606..22cdceb28e 100644
--- a/apps/gui/backdrop.h
+++ b/apps/gui/backdrop.h
@@ -28,13 +28,6 @@
28#include "bmp.h" 28#include "bmp.h"
29 29
30#define LCD_BACKDROP_BYTES (LCD_FBHEIGHT*LCD_FBWIDTH*sizeof(fb_data)) 30#define LCD_BACKDROP_BYTES (LCD_FBHEIGHT*LCD_FBWIDTH*sizeof(fb_data))
31#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
32#define REMOTE_LCD_BACKDROP_BYTES \
33 (LCD_REMOTE_FBHEIGHT*LCD_REMOTE_FBWIDTH*sizeof(fb_remote_data))
34#else
35#define REMOTE_LCD_BACKDROP_BYTES 0
36#endif
37
38bool backdrop_load(const char *filename, char* backdrop_buffer); 31bool backdrop_load(const char *filename, char* backdrop_buffer);
39void backdrop_show(char* backdrop_buffer); 32void backdrop_show(char* backdrop_buffer);
40 33
@@ -42,9 +35,13 @@ void backdrop_show(char* backdrop_buffer);
42#define LCD_BACKDROP_BYTES 0 35#define LCD_BACKDROP_BYTES 0
43#endif 36#endif
44 37
45#if defined(HAVE_REMOTE_LCD) 38#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 && !defined(__PCTOOL__)
39#define REMOTE_LCD_BACKDROP_BYTES \
40 (LCD_REMOTE_FBHEIGHT*LCD_REMOTE_FBWIDTH*sizeof(fb_remote_data))
46bool remote_backdrop_load(const char *filename, char* backdrop_buffer); 41bool remote_backdrop_load(const char *filename, char* backdrop_buffer);
47void remote_backdrop_show(char* backdrop_buffer); 42void remote_backdrop_show(char* backdrop_buffer);
43#else
44#define REMOTE_LCD_BACKDROP_BYTES 0
48#endif 45#endif
49 46
50#endif /* _BACKDROP_H */ 47#endif /* _BACKDROP_H */