But I think it can be used only with Fl::set_font() afterwards.
OK, but is that a bad thing necessarily?
Of course not generally, but it may not always be possible or
useful in a certain context.
For example if you are in the draw method of a string with
escape codes like Fl_Browser has, and
But I think it can be used only with Fl::set_font() afterwards.
OK, but is that a bad thing necessarily?
Of course not generally, but it may not always be possible or
useful in a certain context.
For example if you are in the draw method of a string with
escape codes like
There is some code in FLTK e.g. in the browser widget, that uses
the method of OR'ing the constants FL_BOLD, FL_ITALIC,.. to the
current Fl_Font (which is just an index into the font table) to
get the font index of the bold, italic,.. font of the current font
family.
In Enumerations.H the