From 0a16a99a696545fec80643cee6aae5d1b65869d7 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 3 Feb 2010 07:03:48 +0000 Subject: 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 --- firmware/export/scroll_engine.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/scroll_engine.h') diff --git a/firmware/export/scroll_engine.h b/firmware/export/scroll_engine.h index 0fcb06af81..838926af57 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 */ -- cgit v1.2.3