1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2006 Dave Chapman
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
30 #if LCD_DEPTH > 1 && !defined(__PCTOOL__)
35 bool backdrop_load(enum backdrop_type bdrop
, const char*);
36 void backdrop_unload(enum backdrop_type bdrop
);
37 void backdrop_show(enum backdrop_type bdrop
);
39 #else /* LCD_DEPTH > 1 */
42 bool backdrop_load(enum backdrop_type bdrop
, const char* filename
)
44 (void)filename
; (void)bdrop
; return true;
47 static inline void backdrop_unload(enum backdrop_type bdrop
)
51 static inline void backdrop_show(enum backdrop_type bdrop
)
58 #if defined(HAVE_REMOTE_LCD)
59 /* no main backdrop, stubs! */
60 #if LCD_REMOTE_DEPTH > 1
61 bool remote_backdrop_load(enum backdrop_type bdrop
,const char* filename
);
62 void remote_backdrop_unload(enum backdrop_type bdrop
);
63 void remote_backdrop_show(enum backdrop_type bdrop
);
66 bool remote_backdrop_load(enum backdrop_type bdrop
,const char* filename
)
68 (void)filename
; (void)bdrop
; return true;
71 static inline void remote_backdrop_unload(enum backdrop_type bdrop
)
76 static inline void remote_backdrop_show(enum backdrop_type bdrop
)
83 #endif /* _BACKDROP_H */