diff options
author | Dave Chapman <dave@dchapman.com> | 2006-02-02 20:42:56 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-02-02 20:42:56 +0000 |
commit | d9e5b67b71cf246c11da8a9083af21752ac7bd15 (patch) | |
tree | 99ac1903b7b0a7197483fa64add73e6062d169af /apps/settings.h | |
parent | 9b4b4d0bf2366ebbbb3cbb14eeb457da9f2658eb (diff) | |
download | rockbox-d9e5b67b71cf246c11da8a9083af21752ac7bd15.tar.gz rockbox-d9e5b67b71cf246c11da8a9083af21752ac7bd15.zip |
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
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
37 | #define WPS_DIR ROCKBOX_DIR "/wps" | 37 | #define WPS_DIR ROCKBOX_DIR "/wps" |
38 | #define THEME_DIR ROCKBOX_DIR "/themes" | 38 | #define THEME_DIR ROCKBOX_DIR "/themes" |
39 | #define PLUGIN_DIR ROCKBOX_DIR"/rocks" | 39 | #define PLUGIN_DIR ROCKBOX_DIR"/rocks" |
40 | #define BACKDROP_DIR ROCKBOX_DIR"/backdrops" | ||
40 | #define REC_BASE_DIR "/recordings" | 41 | #define REC_BASE_DIR "/recordings" |
41 | 42 | ||
42 | #define MAX_FILENAME 20 | 43 | #define MAX_FILENAME 20 |
@@ -407,6 +408,9 @@ struct user_settings | |||
407 | int brightness; /* iriver h300: backlight PWM value: 2..15 | 408 | int brightness; /* iriver h300: backlight PWM value: 2..15 |
408 | (0 and 1 are black) */ | 409 | (0 and 1 are black) */ |
409 | #endif | 410 | #endif |
411 | #ifdef HAVE_LCD_COLOR | ||
412 | unsigned char backdrop_file[MAX_FILENAME+1]; /* backdrop bitmap file */ | ||
413 | #endif | ||
410 | }; | 414 | }; |
411 | 415 | ||
412 | enum optiontype { INT, BOOL }; | 416 | enum optiontype { INT, BOOL }; |