> 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.

I want to also add an application level global flag for the framework settings 
in general.  I'd put it in Fl, but haven't looked if it already has one, if it 
didn't, add it, if it did, just add the new flag that I think would be very 
useful, a setting that says to always copy labels.  This would add hardly any 
code size to the frame work (just a change in Fl_Widget).
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to