summaryrefslogtreecommitdiff
path: root/apps/gui/backdrop.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-27 06:47:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-27 06:47:56 +0000
commit2565389402662a5f29c0c00eb1db3d80b1f37478 (patch)
tree730e8276753414fc1984a3edbdad7529e058f558 /apps/gui/backdrop.h
parent27b8b73b86ecf648a15e9793cd8893ca49734cfb (diff)
downloadrockbox-2565389402662a5f29c0c00eb1db3d80b1f37478.tar.gz
rockbox-2565389402662a5f29c0c00eb1db3d80b1f37478.zip
futile attempt to keep the ondioSP rombox working. This will almost certainly be the last release with it. (The backdrop API is chaning very soon after release so this is no big deal)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24340 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/backdrop.h')
-rw-r--r--apps/gui/backdrop.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/apps/gui/backdrop.h b/apps/gui/backdrop.h
index 4083464cee..f770797aa8 100644
--- a/apps/gui/backdrop.h
+++ b/apps/gui/backdrop.h
@@ -37,23 +37,6 @@ void backdrop_unload(enum backdrop_type bdrop);
37void backdrop_show(enum backdrop_type bdrop); 37void backdrop_show(enum backdrop_type bdrop);
38void backdrop_hide(void); 38void backdrop_hide(void);
39 39
40#else /* LCD_DEPTH <= 1 || __PCTOOL__ */
41
42static inline bool backdrop_load(enum backdrop_type bdrop, const char* filename)
43{
44 (void)filename; (void)bdrop; return true;
45}
46
47static inline void backdrop_unload(enum backdrop_type bdrop)
48{
49 (void)bdrop;
50}
51static inline void backdrop_show(enum backdrop_type bdrop)
52{
53 (void)bdrop;
54}
55
56static inline void backdrop_hide(void) {}
57#endif 40#endif
58 41
59#if defined(HAVE_REMOTE_LCD) 42#if defined(HAVE_REMOTE_LCD)
@@ -63,23 +46,6 @@ bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename);
63void remote_backdrop_unload(enum backdrop_type bdrop); 46void remote_backdrop_unload(enum backdrop_type bdrop);
64void remote_backdrop_show(enum backdrop_type bdrop); 47void remote_backdrop_show(enum backdrop_type bdrop);
65void remote_backdrop_hide(void); 48void remote_backdrop_hide(void);
66#else
67static inline
68bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename)
69{
70 (void)filename; (void)bdrop; return true;
71}
72
73static inline void remote_backdrop_unload(enum backdrop_type bdrop)
74{
75 (void)bdrop;
76}
77
78static inline void remote_backdrop_show(enum backdrop_type bdrop)
79{
80 (void)bdrop;
81}
82static inline void remote_backdrop_hide(void) {}
83#endif 49#endif
84#endif 50#endif
85 51