# To subscribers of the xforms list from Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> :
>>>>> "Steve" == Steve Lamont <email@example.com> writes:
Steve> # To subscribers of the xforms list from Steve Lamont
Steve> <firstname.lastname@example.org> :
>> In the process of enhancing the toolbar of LyX, I found myself
>> unable to cope with the following problem: when some action becomes
>> impossible for some reason, I'd like to stipple the pixmap
>> additionally to disabling it (to give visual feedback). I guess
>> this can be done with the help of masks. What's a good way of
>> accomplishing this? Does somebody have example code?
Steve> A quick, "shoot from the hip" suggestion -- why not just load a
Steve> new stippled Pixmap? That's probably the most straightforward
Indeed. I'd rather generate them automatically, though...
Steve> Another quick thought -- if you're using Xpm Pixmaps, you might
Steve> try fiddling with the shapemask. You could use a stippled mask.
That's what I had in mind, but I absolutely do not understand these
things :) And since my pixmaps have transparent background, I have two
masks to merge.
Steve> These are just quick and dirty ideas. When I get a few minutes
Steve> to play around, I'll see if I can come up with more concrete
Thanks for trying, anyway :) I was hopig someone would jump in and say
"oh, yes, I already did it"...
I was already very pleased to see that xforms handles transparency for
To unsubscribe, send the message "unsubscribe" to
email@example.com or see
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Thu Jul 20 2000 - 08:07:42 EDT