LCD bitmap driver code consolidation from FS#4817:
commit81b13107f98287d2d63260be433a9393e3cfa224
authorunhelpful <unhelpful@a1c6a512-1295-4272-9138-f99709370657>
Thu, 13 Aug 2009 08:02:29 +0000 (13 08:02 +0000)
committerunhelpful <unhelpful@a1c6a512-1295-4272-9138-f99709370657>
Thu, 13 Aug 2009 08:02:29 +0000 (13 08:02 +0000)
tree4b61a8bce979386d83ba09bc74e20fe8d159bea0
parent2b17efe692747dd792fd5cdd59585c8476e63ba5
LCD bitmap driver code consolidation from FS#4817:
Move text-drawing code into firmware-drivers/lcd-bitmap-common.c, included by the various driver files.
Add new static function LCDFN(putsxyofs_style) to draw styled text, and use it in both LCDFN(puts_style_offset) and LCDFN(scroll_fn).
Merge lcd_gradient_rect functions, with new function containing simplified code for drawing one line of a multi-line gradient.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22289 a1c6a512-1295-4272-9138-f99709370657
firmware/drivers/lcd-16bit.c
firmware/drivers/lcd-1bit-vert.c
firmware/drivers/lcd-2bit-horz.c
firmware/drivers/lcd-2bit-vert.c
firmware/drivers/lcd-2bit-vi.c
firmware/drivers/lcd-bitmap-common.c [new file with mode: 0644]