summaryrefslogtreecommitdiff
path: root/apps/gui/backdrop.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/backdrop.h')
-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 */