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 /firmware/export/lcd.h | |
| parent | 9b4b4d0bf2366ebbbb3cbb14eeb457da9f2658eb (diff) | |
| download | rockbox-d9e5b67b71cf246c11da8a9083af21752ac7bd15.zip rockbox-d9e5b67b71cf246c11da8a9083af21752ac7bd15.tar.gz rockbox-d9e5b67b71cf246c11da8a9083af21752ac7bd15.tar.bz2 rockbox-d9e5b67b71cf246c11da8a9083af21752ac7bd15.tar.xz | |
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 'firmware/export/lcd.h')
| -rw-r--r-- | firmware/export/lcd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index f4c40fb..55a51b3 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -265,6 +265,10 @@ extern void lcd_set_background(unsigned background); extern unsigned lcd_get_background(void); extern void lcd_set_drawinfo(int mode, unsigned foreground, unsigned background); +#ifdef HAVE_LCD_COLOR +void lcd_set_backdrop(fb_data* backdrop); +fb_data* lcd_get_backdrop(void); +#endif extern void lcd_mono_bitmap_part(const unsigned char *src, int src_x, int src_y, int stride, int x, int y, int width, int height); |