Hello ! In a previous mail, our friend Dr. T.C. Zhao said :
-=)> > I would ask you for a sample code to set the GCs for transparent
-=)> > Pixmaps because fl_read_pixmapfile doesn't do it while It's OK for
-=)> > PixmapButtons
-=)>
-=)> As the document says, the parameter shape_mask is the clipping
-=)> mask that should be used for transparency. To set
-=)> the cliping mask in a GC, use XSetClipMask(display, gc, shape_mask)
-=)> then use this gc to show your pixmap.
-=)>
Yes, the documentation says that, but that is not the problem .
I know I have to set a shape_mask.
But how do you know the pixmapfile transparent color (if there's one), if
you do not already know it ?
This may not be long but I merely don't know.
Thanks.
-- /------\ /-------\ mail: bourci_f@epita.fr / /-----/ / / / http://www.epita.fr/~bourci_f / / / /______/ __ ___ / /==> _ / / \ / / / / / _/ tresorier du / / / | |/\ /~ | / / / / / / / /-/ club Atari de |_/ \_| | | \_ | |_/________/ |__/ |__/ / | l'EPITA _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/