A function like:

void BmpGlueSetTransparency (BitmapPtr resP, Boolean set)
{
        BitmapFlagsType flags;
        BitmapPtr nullP = NULL;

        flags.hasTransparency = set;
        DmWrite(resP, (UInt32)&nullP->flags, &flags,
sizeof(BitmapFlagsType));
}

There is a way to set the transparency color, but once it is set there
is no way to turn it off (that I have been able to find).

trv
-- 
Trevor Menagh      | Software Engineer
[EMAIL PROTECTED]  | iambic, Inc.
(408) 367-1600 x20 | Software for handhelds
www.trevreport.org | www.iambic.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to