summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-16bit.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-03 22:39:08 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-03 22:39:08 +0000
commit6b5dff4c7be02d159b7c267372f63155cc31dbb8 (patch)
treed38d1f11c4b79c5ac83f885e1aae5fa4073eb837 /firmware/drivers/lcd-16bit.c
parent26851eaaa984ceecd9f9b50b082c0835f990c726 (diff)
downloadrockbox-6b5dff4c7be02d159b7c267372f63155cc31dbb8.tar.gz
rockbox-6b5dff4c7be02d159b7c267372f63155cc31dbb8.zip
lcd-16bit: move lcd_bitmap and lcd_bitmap_transparent to common code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31131 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-rw-r--r--firmware/drivers/lcd-16bit.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c
index 60dfc7bcf2..f7d3cf22d4 100644
--- a/firmware/drivers/lcd-16bit.c
+++ b/firmware/drivers/lcd-16bit.c
@@ -437,12 +437,6 @@ void ICODE_ATTR lcd_bitmap_part(const fb_data *src, int src_x, int src_y,
437 while (--height > 0); 437 while (--height > 0);
438} 438}
439 439
440/* Draw a full native bitmap */
441void lcd_bitmap(const fb_data *src, int x, int y, int width, int height)
442{
443 lcd_bitmap_part(src, 0, 0, width, x, y, width, height);
444}
445
446/* Draw a partial native bitmap with transparency and foreground colors */ 440/* Draw a partial native bitmap with transparency and foreground colors */
447void ICODE_ATTR lcd_bitmap_transparent_part(const fb_data *src, int src_x, 441void ICODE_ATTR lcd_bitmap_transparent_part(const fb_data *src, int src_x,
448 int src_y, int stride, int x, 442 int src_y, int stride, int x,
@@ -561,10 +555,3 @@ void ICODE_ATTR lcd_bitmap_transparent_part(const fb_data *src, int src_x,
561 while (--height > 0); 555 while (--height > 0);
562#endif 556#endif
563} 557}
564
565/* Draw a full native bitmap with transparent and foreground colors */
566void lcd_bitmap_transparent(const fb_data *src, int x, int y,
567 int width, int height)
568{
569 lcd_bitmap_transparent_part(src, 0, 0, width, x, y, width, height);
570}