You can also try a small fl_html_label library with html-like formatting and
use <font color="xxx" size="xxx" face="xxx"> tag within the label string, like:
my_button->labeltype(FL_HTML_LABEL);
my_button->label("<font color=\"red\" face=\"helvetica\">Hello</font> <font
size=\"18\" color=\"blue\" face=\"courier\"> WORLD!</font> ");
You can find it at
http://rfltk.svn.sourceforge.net/viewvc/rfltk/fl_html_label/
R.
On 09/11/2010 16:11, [email protected] wrote:
> What I'd like to do is make an Fl_Button with a 2 character
> label, rendering the first character in one font and the
> second in another. Possible?
>
> TIA,
> Stan
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk