On 03/18/14 13:58, Ian MacArthur wrote:
> Fl_Fontsize FL_NORMAL_SIZE = 14; (Fl_Widget.cxx)
Thanks Ian, ya, was wondering if we had that
but was too lazy to look.
That should at least affect things like the default font size
of pulldown menus and labels and such if you don't change them.
I recall we discussed a bit the idea of adding a global
'font size offset' value that would normally be zero,
and if it were say +2, it would add two sizes to all fonts,
and if it were -2, subtract two sizes from all fonts..
something that could be applied below the actual fl_draw()
text string functions so that it affects 'everything'.
I don't think that'd be hard to add, and even though it might
have unexpected results for simple apps, perhaps having this
would allow the creation of higher level widgets to be designed
in the future that can intelligently size themselves with font sizes
taken into account.