summaryrefslogtreecommitdiff
path: root/firmware/export/scroll_engine.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-03 07:03:48 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-03 07:03:48 +0000
commit0a16a99a696545fec80643cee6aae5d1b65869d7 (patch)
treee1d4de3259ebb61507ae99d02ccdd3d3d9906c7b /firmware/export/scroll_engine.h
parenteb30ca2a1e78aa2304365af3890f435e5dd57ad8 (diff)
downloadrockbox-0a16a99a696545fec80643cee6aae5d1b65869d7.zip
rockbox-0a16a99a696545fec80643cee6aae5d1b65869d7.tar.gz
rockbox-0a16a99a696545fec80643cee6aae5d1b65869d7.tar.bz2
rockbox-0a16a99a696545fec80643cee6aae5d1b65869d7.tar.xz
fix a bug where the backdrop from the sbs is displayed on scrolling lines in the wps when the %wd tag is not used.
I'm not crazy about this commit and maybe a better solution would be to outright disable the sbs backdrop when in any skinned screen. This then means backdrops go back to needing special handling (i.e they arnt "free") git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24478 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/scroll_engine.h')
-rw-r--r--firmware/export/scroll_engine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/scroll_engine.h b/firmware/export/scroll_engine.h
index 0fcb06a..838926a 100644
--- a/firmware/export/scroll_engine.h
+++ b/firmware/export/scroll_engine.h
@@ -55,6 +55,9 @@ struct scrollinfo
int offset;
int startx;
#ifdef HAVE_LCD_BITMAP
+#if LCD_DEPTH > 1 || (defined(HAVE_LCD_REMOTE) && LCD_REMOTE_DEPTH > 1)
+ char *backdrop;
+#endif
int width; /* length of line in pixels */
int style; /* line style */
#endif/* HAVE_LCD_BITMAP */