> It occurred to me to have a Widget that put a box around > itself. In the program below, if the line marked #2 > is enabled, it works as I expected, but if line #1 is > used instead, the button is invisible. Can anyone offer > any insight?
Widgets are rendered (more or less) in the order you declare them. A box with the type FL_UP_BOX is opaque. Spotted the problem yet? Basically, you have drawn an opaque box on top of your button - so your button is there, you just can't see it. Either draw the button on top of the box (i.e. after the box, as in your #2 case) or set the box type to something that is not opaque - some sort of FL_*_FRAME might be more what you want. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

