Transparent Pixmap color

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Transparent Pixmap color

Submitted by Anonymous on Mon, 04/30/2001 - 15:23. Developers
My application now cores running under MOTIF 2.1 because a pixmap I`m using for an icon has a transparent background (color none). If I change the color to anything else it works. This worked fine running MOTIF 1.x.

ICS_support

I heard something funky about this being a bug in that version of XPM (was there a previous thread on this subject)?

You should be able to work around this by replacing none with the color equivalent to the background pixel in the color symbol table as you apply the pixmap to the resource on the widget.