diff options
Diffstat (limited to 'apps/gui/backdrop.h')
-rw-r--r-- | apps/gui/backdrop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/backdrop.h b/apps/gui/backdrop.h index b37071b5d4..4083464cee 100644 --- a/apps/gui/backdrop.h +++ b/apps/gui/backdrop.h | |||
@@ -35,6 +35,7 @@ enum backdrop_type { | |||
35 | bool backdrop_load(enum backdrop_type bdrop, const char*); | 35 | bool backdrop_load(enum backdrop_type bdrop, const char*); |
36 | void backdrop_unload(enum backdrop_type bdrop); | 36 | void backdrop_unload(enum backdrop_type bdrop); |
37 | void backdrop_show(enum backdrop_type bdrop); | 37 | void backdrop_show(enum backdrop_type bdrop); |
38 | void backdrop_hide(void); | ||
38 | 39 | ||
39 | #else /* LCD_DEPTH <= 1 || __PCTOOL__ */ | 40 | #else /* LCD_DEPTH <= 1 || __PCTOOL__ */ |
40 | 41 | ||
@@ -52,6 +53,7 @@ static inline void backdrop_show(enum backdrop_type bdrop) | |||
52 | (void)bdrop; | 53 | (void)bdrop; |
53 | } | 54 | } |
54 | 55 | ||
56 | static inline void backdrop_hide(void) {} | ||
55 | #endif | 57 | #endif |
56 | 58 | ||
57 | #if defined(HAVE_REMOTE_LCD) | 59 | #if defined(HAVE_REMOTE_LCD) |
@@ -60,6 +62,7 @@ static inline void backdrop_show(enum backdrop_type bdrop) | |||
60 | bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename); | 62 | bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename); |
61 | void remote_backdrop_unload(enum backdrop_type bdrop); | 63 | void remote_backdrop_unload(enum backdrop_type bdrop); |
62 | void remote_backdrop_show(enum backdrop_type bdrop); | 64 | void remote_backdrop_show(enum backdrop_type bdrop); |
65 | void remote_backdrop_hide(void); | ||
63 | #else | 66 | #else |
64 | static inline | 67 | static inline |
65 | bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename) | 68 | bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename) |
@@ -76,6 +79,7 @@ static inline void remote_backdrop_show(enum backdrop_type bdrop) | |||
76 | { | 79 | { |
77 | (void)bdrop; | 80 | (void)bdrop; |
78 | } | 81 | } |
82 | static inline void remote_backdrop_hide(void) {} | ||
79 | #endif | 83 | #endif |
80 | #endif | 84 | #endif |
81 | 85 | ||