From 77836e57362f91cd037ea9c97a8fda00187d2070 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 20 Dec 2013 23:34:28 +0100 Subject: lcd-16bit: Introduce lcd_gradient_fillrect_part(). It is similar to lcd_gradient_fillrect(), except that it only draws a part of the complete gradient. This can be used to draw only the bottom half of a full gradient. Change-Id: Ib47cc5237f6966e35ba07988bddbb00fd97adf96 --- apps/screen_access.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/screen_access.h') 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 #if defined(HAVE_LCD_COLOR) void (*gradient_fillrect)(int x, int y, int width, int height, unsigned start, unsigned end); + void (*gradient_fillrect_part)(int x, int y, int width, int height, + unsigned start, unsigned end, int src_height, int row_skip); #endif #endif #if defined(HAVE_LCD_BITMAP) -- cgit v1.2.3