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 || __PCTOOL__ */
41 static inline bool backdrop_load(enum backdrop_type bdrop
, const char* filename
)
43 (void)filename
; (void)bdrop
; return true;
46 static inline void backdrop_unload(enum backdrop_type bdrop
)
50 static inline void backdrop_show(enum backdrop_type bdrop
)
57 #if defined(HAVE_REMOTE_LCD)
58 /* no main backdrop, stubs! */
59 #if LCD_REMOTE_DEPTH > 1
60 bool remote_backdrop_load(enum backdrop_type bdrop
,const char* filename
);
61 void remote_backdrop_unload(enum backdrop_type bdrop
);
62 void remote_backdrop_show(enum backdrop_type bdrop
);
65 bool remote_backdrop_load(enum backdrop_type bdrop
,const char* filename
)
67 (void)filename
; (void)bdrop
; return true;
70 static inline void remote_backdrop_unload(enum backdrop_type bdrop
)
75 static inline void remote_backdrop_show(enum backdrop_type bdrop
)
82 #endif /* _BACKDROP_H */