diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/screen_access.c | 1 | ||||
-rw-r--r-- | apps/screen_access.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c index 23625ae89c..dd8b16e3fd 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c | |||
@@ -268,6 +268,7 @@ struct screen screens[NB_SCREENS] = | |||
268 | .set_framebuffer = (void*)lcd_set_framebuffer, | 268 | .set_framebuffer = (void*)lcd_set_framebuffer, |
269 | #if defined(HAVE_LCD_COLOR) | 269 | #if defined(HAVE_LCD_COLOR) |
270 | .gradient_fillrect = lcd_gradient_fillrect, | 270 | .gradient_fillrect = lcd_gradient_fillrect, |
271 | .gradient_fillrect_part = lcd_gradient_fillrect_part, | ||
271 | #endif | 272 | #endif |
272 | #endif | 273 | #endif |
273 | }, | 274 | }, |
diff --git a/apps/screen_access.h b/apps/screen_access.h index 210ad2e990..d5bcd7e095 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h | |||
@@ -169,6 +169,8 @@ struct screen | |||
169 | #if defined(HAVE_LCD_COLOR) | 169 | #if defined(HAVE_LCD_COLOR) |
170 | void (*gradient_fillrect)(int x, int y, int width, int height, | 170 | void (*gradient_fillrect)(int x, int y, int width, int height, |
171 | unsigned start, unsigned end); | 171 | unsigned start, unsigned end); |
172 | void (*gradient_fillrect_part)(int x, int y, int width, int height, | ||
173 | unsigned start, unsigned end, int src_height, int row_skip); | ||
172 | #endif | 174 | #endif |
173 | #endif | 175 | #endif |
174 | #if defined(HAVE_LCD_BITMAP) | 176 | #if defined(HAVE_LCD_BITMAP) |