diff options
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r-- | apps/screen_access.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h index 79ad79c153..81c7cb2a85 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h | |||
@@ -58,7 +58,11 @@ struct screen | |||
58 | bool has_disk_led; | 58 | bool has_disk_led; |
59 | #endif | 59 | #endif |
60 | void (*set_drawmode)(int mode); | 60 | void (*set_drawmode)(int mode); |
61 | void (*set_viewport)(struct viewport* vp); | 61 | struct viewport* (*init_viewport)(struct viewport* vp); |
62 | struct viewport* (*set_viewport)(struct viewport* vp); | ||
63 | struct viewport* (*set_viewport_ex)(struct viewport* vp, int flags); | ||
64 | void (*viewport_set_buffer)(struct viewport *vp, struct frame_buffer_t *buffer); | ||
65 | struct viewport** current_viewport; | ||
62 | int (*getwidth)(void); | 66 | int (*getwidth)(void); |
63 | int (*getheight)(void); | 67 | int (*getheight)(void); |
64 | int (*getstringsize)(const unsigned char *str, int *w, int *h); | 68 | int (*getstringsize)(const unsigned char *str, int *w, int *h); |
@@ -126,7 +130,6 @@ struct screen | |||
126 | bool (*backdrop_load)(const char *filename, char* backdrop_buffer); | 130 | bool (*backdrop_load)(const char *filename, char* backdrop_buffer); |
127 | void (*backdrop_show)(char* backdrop_buffer); | 131 | void (*backdrop_show)(char* backdrop_buffer); |
128 | #endif | 132 | #endif |
129 | void (*set_framebuffer)(void *framebuffer); | ||
130 | #if defined(HAVE_LCD_COLOR) | 133 | #if defined(HAVE_LCD_COLOR) |
131 | void (*gradient_fillrect)(int x, int y, int width, int height, | 134 | void (*gradient_fillrect)(int x, int y, int width, int height, |
132 | unsigned start, unsigned end); | 135 | unsigned start, unsigned end); |