> Is there any way to have a Fl_Button with a image in it and a text on > this image? The text should be changeable, so I can't put the > text onto the picture directly... :-(
Not supported directly, but if you make a button subclass and set the image as normal, you can over-ride the draw method and draw your text over the image once the base-class has drawn the image. > It seems to me, that FLTK 1.1.9 doesn't support this. Anybody > ever done this? There was some discussion of this in the list a while back, and I think there are a few widget sets around that include this ability, but really I think it is not so hard for you to do yourself. -- Ian 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

