From 3216d32a0538e4b75ae9e82dadc555011181633f Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 1 Nov 2009 15:48:31 +0000 Subject: Move find_viewport() and find_image() to skin_parser.c where the reset of the linked-list handling sits. That enables removing duplicated code from checkwps. Also remove a few stubs in favor having the restart playback mechanism on albumart change #ifdef __PCTOOL__ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23465 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/backdrop.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/gui/backdrop.h') diff --git a/apps/gui/backdrop.h b/apps/gui/backdrop.h index 9281cc4045..b37071b5d4 100644 --- a/apps/gui/backdrop.h +++ b/apps/gui/backdrop.h @@ -36,10 +36,9 @@ bool backdrop_load(enum backdrop_type bdrop, const char*); void backdrop_unload(enum backdrop_type bdrop); void backdrop_show(enum backdrop_type bdrop); -#else /* LCD_DEPTH > 1 */ +#else /* LCD_DEPTH <= 1 || __PCTOOL__ */ -static inline -bool backdrop_load(enum backdrop_type bdrop, const char* filename) +static inline bool backdrop_load(enum backdrop_type bdrop, const char* filename) { (void)filename; (void)bdrop; return true; } -- cgit v1.2.3