From d9e5b67b71cf246c11da8a9083af21752ac7bd15 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 2 Feb 2006 20:42:56 +0000 Subject: Patch #1421422 - Backdrop image patch started by Linus, finished by me. Adds ability to set backdrop images for file browser and menus (store full-screen bitmaps in /.rockbox/backdrops/) and also the ability to set a full-screen background image in a WPS using the %X|filename.bmp| WPS tag. Currently only implemented for targets with colour LCDs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8536 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index ebd3ec35b0..bb58336202 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -37,6 +37,7 @@ #define WPS_DIR ROCKBOX_DIR "/wps" #define THEME_DIR ROCKBOX_DIR "/themes" #define PLUGIN_DIR ROCKBOX_DIR"/rocks" +#define BACKDROP_DIR ROCKBOX_DIR"/backdrops" #define REC_BASE_DIR "/recordings" #define MAX_FILENAME 20 @@ -407,6 +408,9 @@ struct user_settings int brightness; /* iriver h300: backlight PWM value: 2..15 (0 and 1 are black) */ #endif +#ifdef HAVE_LCD_COLOR + unsigned char backdrop_file[MAX_FILENAME+1]; /* backdrop bitmap file */ +#endif }; enum optiontype { INT, BOOL }; -- cgit v1.2.3