From 1cf2ec38b1d3fbbe62fab1daf39f617bb64516a9 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Wed, 25 Apr 2007 22:08:00 +0000 Subject: Change some ifdefs for the recent backdrop changes (fixes the yellow builds) and move the backdrop files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13265 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/backdrop.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 apps/gui/backdrop.h (limited to 'apps/gui/backdrop.h') diff --git a/apps/gui/backdrop.h b/apps/gui/backdrop.h new file mode 100644 index 0000000000..c930a87433 --- /dev/null +++ b/apps/gui/backdrop.h @@ -0,0 +1,46 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2006 Dave Chapman + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#ifndef _BACKDROP_H +#define _BACKDROP_H + +#if LCD_DEPTH > 1 + +#include "lcd.h" +#include "bmp.h" + +bool load_main_backdrop(char* filename); +bool load_wps_backdrop(char* filename); + +void unload_main_backdrop(void); +void unload_wps_backdrop(void); + +void show_main_backdrop(void); +void show_wps_backdrop(void); + +#endif /* LCD_DEPTH > 1 */ + +#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 +bool load_remote_wps_backdrop(char* filename); +void unload_remote_wps_backdrop(void); +void show_remote_wps_backdrop(void); +void show_remote_main_backdrop(void); /* only clears the wps backdrop */ +#endif + +#endif /* _BACKDROP_H */ -- cgit