summaryrefslogtreecommitdiff
path: root/apps/screen_access.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-11-08 21:34:46 +0000
committerThomas Martitz <kugel@rockbox.org>2011-11-08 21:34:46 +0000
commit13209604c1512658e729d0bd9f1c54cf3e53568d (patch)
tree2787f9036b5c40cf79cd324f3d215bb9d48dd34a /apps/screen_access.h
parent6223ad266e556f5b8d749d5f4fe08e27385be66f (diff)
downloadrockbox-13209604c1512658e729d0bd9f1c54cf3e53568d.tar.gz
rockbox-13209604c1512658e729d0bd9f1c54cf3e53568d.zip
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.h')
-rw-r--r--apps/screen_access.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index 04cc6f4f90..a9d1408898 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -97,6 +97,9 @@ struct screen
97 int x, int y, int width, int height); 97 int x, int y, int width, int height);
98 void (*transparent_bitmap_part)(const void *src, int src_x, int src_y, 98 void (*transparent_bitmap_part)(const void *src, int src_x, int src_y,
99 int stride, int x, int y, int width, int height); 99 int stride, int x, int y, int width, int height);
100 void (*bmp)(const struct bitmap *bm, int x, int y);
101 void (*bmp_part)(const struct bitmap* bm, int src_x, int src_y,
102 int x, int y, int width, int height);
100 void (*set_drawmode)(int mode); 103 void (*set_drawmode)(int mode);
101#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1 104#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1
102 unsigned (*color_to_native)(unsigned color); 105 unsigned (*color_to_native)(unsigned color);