FS#5627 - H100 grayscale bitmap fix
Attached to Project:
Rockbox
Opened by Andreas Mattsson (AM) - Sunday, 02 July 2006, 19:02 GMT
Last edited by Alex Parker (BigBambi) - Saturday, 05 June 2010, 16:44 GMT
Opened by Andreas Mattsson (AM) - Sunday, 02 July 2006, 19:02 GMT
Last edited by Alex Parker (BigBambi) - Saturday, 05 June 2010, 16:44 GMT
|
DetailsUpdates the iriver H100 LCD-driver so as to make the handling of 4-gray bitmaps analogous to its monochrome bitmap-handling. This means the white pixels of an image are no longer drawn on top of other images.
Useful for WPS as it allows you to place grayscale bitmaps behind other bitmaps and properly display text on top of grayscale bitmaps. This was previously not possible. Changes were made to the lcd_bitmap_part function in lcd-h100.c and the function setblock was removed as it no longer was used. I'd like it if this was included in CVS. |
This task depends upon
I would prefer if the grayscale drivers implemented the same mask color approach as the color targets. However, this is definitely a step in the right direction. Could you please submit a new patch without the MSDOS newlines and the TAB characters?
Did a find-and-replace for tab characters and ran dos2unix for the 2 source files. Here are the new patches.