Is there something like the opposite of an fl_clip(),
eg. an 'fl_mask()'?

There's a thread on fltk.general asking about making a
"Microsoft" style widget label, where the label overlays
the border box, eg:

   +-- label ----------------------+
   |                               |
   |                               |
   +-------------------------------+

Seems like one could create a mask just before drawing
the border box so it leaves a 'hole' where the label() is.

This way the background could be a gradient or an image
and still look right.

I don't think this could be done with fl_clip()..
it's almost like one needs the opposite of a clip.

Curious if there's a right way to do this in FLTK 1.x.x?
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to