diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-01-29 08:13:40 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-01-29 08:13:40 +0000 |
commit | 349bf08ed1b31611b6d03694ca044cc296592f66 (patch) | |
tree | ae355ba99e366345bc8b5966cd6ee46337dcb299 /apps | |
parent | eee5423fe10f247f74d69404924edf3a0d54e8cd (diff) | |
download | rockbox-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.h | 13 |
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 | |||
38 | bool backdrop_load(const char *filename, char* backdrop_buffer); | 31 | bool backdrop_load(const char *filename, char* backdrop_buffer); |
39 | void backdrop_show(char* backdrop_buffer); | 32 | void 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)) | ||
46 | bool remote_backdrop_load(const char *filename, char* backdrop_buffer); | 41 | bool remote_backdrop_load(const char *filename, char* backdrop_buffer); |
47 | void remote_backdrop_show(char* backdrop_buffer); | 42 | void 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 */ |