summaryrefslogtreecommitdiff
path: root/apps/screen_access.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r--apps/screen_access.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index bc5fdf3f55..e40943f003 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -46,6 +46,11 @@ enum screen_type {
46#define MAX_LINES_ON_SCREEN 2 46#define MAX_LINES_ON_SCREEN 2
47#endif 47#endif
48 48
49typedef void screen_bitmap_part_func(const void *src, int src_x, int src_y,
50 int stride, int x, int y, int width, int height);
51typedef void screen_bitmap_func(const void *src, int x, int y, int width,
52 int height);
53
49struct screen 54struct screen
50{ 55{
51 int width, height; 56 int width, height;
@@ -79,13 +84,13 @@ struct screen
79 int x, int y, int width, int height); 84 int x, int y, int width, int height);
80 void (*mono_bitmap_part)(const unsigned char *src, int src_x, int src_y, 85 void (*mono_bitmap_part)(const unsigned char *src, int src_x, int src_y,
81 int stride, int x, int y, int width, int height); 86 int stride, int x, int y, int width, int height);
82 void (*bitmap)(const fb_data *src, 87 void (*bitmap)(const void *src,
83 int x, int y, int width, int height); 88 int x, int y, int width, int height);
84 void (*bitmap_part)(const fb_data *src, int src_x, int src_y, 89 void (*bitmap_part)(const void *src, int src_x, int src_y,
85 int stride, int x, int y, int width, int height); 90 int stride, int x, int y, int width, int height);
86 void (*transparent_bitmap)(const fb_data *src, 91 void (*transparent_bitmap)(const void *src,
87 int x, int y, int width, int height); 92 int x, int y, int width, int height);
88 void (*transparent_bitmap_part)(const fb_data *src, int src_x, int src_y, 93 void (*transparent_bitmap_part)(const void *src, int src_x, int src_y,
89 int stride, int x, int y, int width, int height); 94 int stride, int x, int y, int width, int height);
90 void (*set_drawmode)(int mode); 95 void (*set_drawmode)(int mode);
91#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1 96#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1