1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thomas Martitz 2013-12-20 23:34:28 +01:00
parent 6630958533
commit 77836e5736
4 changed files with 41 additions and 3 deletions

View file

@ -268,6 +268,7 @@ struct screen screens[NB_SCREENS] =
.set_framebuffer = (void*)lcd_set_framebuffer,
#if defined(HAVE_LCD_COLOR)
.gradient_fillrect = lcd_gradient_fillrect,
.gradient_fillrect_part = lcd_gradient_fillrect_part,
#endif
#endif
},