FLTK 2 questions: Should a Window with NO_BOX draw a background? I don't 
want it to, if it didn't I'd have a transparent window. And the reason I 
want that is because I have a group of buttons (with transparent images) 
"floating" over a rendered image.
The source comments *seem* to indicate functionality of this sort but it 
doesn't work for me.
What I have mostly works but one of the buttons (the last one added to 
the group) occasionally sets its box to gray75? which kills the 
transparency of the button image. Note that only happens when the group 
is NO_BOX (and I don't know how to create a borderless group or I would 
use a box) but you can see this happen in a boxed group (the button 
background flashes and is redrawn as the button is pressed).
A picture is here (there shouldn't be gray around the bottom left button):
http://cid-5a59f386d0ff0324.skydrive.live.com/self.aspx/Images/bogusbutton.gif


Can you set the background color of a window? Widget::color() and 
fltk::set_background() don't seem to do it and I don't see anything 
looking at the source.

Thanks, Craig
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to