On 10/15/11 09:37, Ian MacArthur wrote: > > On 15 Oct 2011, at 17:32, Greg Ercolano wrote: >> We should provide a better way. >> eg. Fl::default_font() and Fl::default_fontsize() >> and change the hardcoded FL_HELVETICA in Fl_Widget. > > Yup - that'll be one for fltk3. > > Will break some of my code, mind you! > > Meh! Backwards compatibility is over-rated anyway. Just ask Apple...
Actually, I don't think it'd have to break anything. Leave the old global variable in place and create methods to access it the 'new' way so that it can be documented. If there's any docs for the old technique, mark it deprecated in favor of the new methods. It's a win-win! Could be 1.3.x I think. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk