>> You don't need to call fl_font() before setting titles and labels, so >> why is it needed before fl_draw()? Can't the same font be used?
Oh, and with titles, FLTK isn't used; the window manager handles titles. With labels, widgets have a default font, so when the label is drawn, the widget's default font is used. But when using direct-drawing functions, there's no concept of a 'default font', since font initialization is potentially very slow. One could argue fl_draw() should call fl_font() if no font was set, to avoid problems. Probably should be discussed, though I think this has come up before.. can't recall the reason it wasn't changed. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
