diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-12-20 23:34:28 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-07 11:36:00 +0100 |
commit | 77836e57362f91cd037ea9c97a8fda00187d2070 (patch) | |
tree | 8e1bb3d5cb4cdb17a62070685a4f9b56cd6927e7 /apps/screen_access.c | |
parent | 6630958533d02d66dca8cc79897fda2cb744c076 (diff) | |
download | rockbox-77836e57362f91cd037ea9c97a8fda00187d2070.tar.gz rockbox-77836e57362f91cd037ea9c97a8fda00187d2070.zip |
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
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r-- | apps/screen_access.c | 1 |
1 files changed, 1 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 | }, |