At 17:56 2003-2-17 -0500, you wrote:
I tried that with both a v2 and v3 bitmap, but no dice. The simulator gives me the error "HighDensityDisplayMgr.c, Line 469, BmrSetTransparentValue: invalid transparent color". I click ignore and the bitmap draws, but does not have the color transparent.OK, I just looked in the docs included in the 5.0 SDK R2 alpha drop, and it has been clarified. For 16-bit bitmaps, the value is a RGB565 value, i.e.
(It seems to work if I make black the transparent color and set all the fields to 0, but not for any other color).
(red (0..31) << 11) | (green (0..63) << 5) | (blue (0.31))
I'm glad they clarified this.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
