yassine wrote: >>> You can find a simple test case here : >>> http://yostane.idoo.com/files/fltk_icon_test.zip
> It is re-uploaded correctly now, sorry for the problem :p. Thanks, saw it, compiled and ran it, seeing the same effects that I saw with my test prog. > So there is no "simple" way to insert png icons on menus? I'm afraid, yes, unless someone else has an idea... > The same problem with tabs...etc Which widgets do you have in mind with "...etc" ? I'd like to investigate this, if you can provide the widget classes. Normal widgets can use image() and deimage() to draw images in their labels. This ought to cover most cases. Unfortunately, Fl_Tabs doesn't draw images in the tabs (the labels of its children), and it might also be questionable if this would be useful, but ... I did a small proof of concept, and it worked by adding a few lines of code in Fl_Tabs::draw() or draw_tabs() - I don't remember exactly. I *think* that we could add this feature, but that needs more investigation and clean _semantics_ (where to put the image, usage of alignment flags, additional label text etc.). But it seems to be doable :-) Any ideas about pro's and con's about adding images in the Fl_Tabs tabs area? Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

