Hello all,

I have written a small program (see attached) that illustrates how to easily
and painlessly enable rendering an image to the left or right of the text
in a label for *all* widgets (with the exception of Fl_Menu_Item and
perhaps a few others?).

This is accomplished by creating a custom label type as described in the
docs:

FLTK 1.3.x manual see /Making Your Own Label Types/
<http://www.fltk.org/documentation.php/doc-1.3/common.html>

And

Greg E's /Disable Symbols/ example
<http://seriss.com/people/erco/fltk/#DisableSymbols>

I was hoping that someone could review my implementation and see if there
are any problems.

If the implementation is ok, I could write a short Article describing, in
more detail, how this was accomplished and how to integrate the
fl_image_labeltype files into other programs.

Thanks!

-- 
Alvin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to