diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-11-08 21:34:46 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-11-08 21:34:46 +0000 |
| commit | 13209604c1512658e729d0bd9f1c54cf3e53568d (patch) | |
| tree | 2787f9036b5c40cf79cd324f3d215bb9d48dd34a /apps/screen_access.c | |
| parent | 6223ad266e556f5b8d749d5f4fe08e27385be66f (diff) | |
| download | rockbox-13209604c1512658e729d0bd9f1c54cf3e53568d.zip rockbox-13209604c1512658e729d0bd9f1c54cf3e53568d.tar.gz rockbox-13209604c1512658e729d0bd9f1c54cf3e53568d.tar.bz2 rockbox-13209604c1512658e729d0bd9f1c54cf3e53568d.tar.xz | |
Add new lcd_bmp and lcd_bmp_part APIs.
This new APIs wrap around lcd_[mono|transparent]_bitmap/_part calls and
handle all kinds bitmaps. The intended use is to draw bitmaps that
come from read_bmp_fd/_file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30936 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
| -rw-r--r-- | apps/screen_access.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c index 19df13d..b7dc90b 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c @@ -197,6 +197,8 @@ struct screen screens[NB_SCREENS] = .transparent_bitmap=(screen_bitmap_func*)&lcd_bitmap_transparent, .transparent_bitmap_part=(screen_bitmap_part_func*)&lcd_bitmap_transparent_part, #endif + .bmp = &lcd_bmp, + .bmp_part = &lcd_bmp_part, #if LCD_DEPTH > 1 #if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1 .color_to_native=&lcd_color_to_native, @@ -296,6 +298,8 @@ struct screen screens[NB_SCREENS] = .transparent_bitmap_part=(screen_bitmap_part_func*)&lcd_remote_bitmap_part, /* No colour remotes yet */ #endif + .bmp = &lcd_remote_bmp, + .bmp_part = &lcd_remote_bmp_part, #if LCD_REMOTE_DEPTH > 1 #if defined(HAVE_LCD_COLOR) .color_to_native=&lcd_remote_color_to_native, |