MacArthur, Ian (SELEX) (UK) schrieb:
> But, I think you'd maybe also have to seek out all the various
> "textsize", "textsize_", "labelsize", "labelsize_", etc. members to make
> it really work?

By the way, I think "textsize" and "textfont" really should be virtual 
methods of Fl_Widget:

I realized the setting of textsize, labelsize, textfont and labelfont 
for dialog windows out of a configuration file and for every widget it 
is necessary to check, whether it is a widget containing text methods. 
Okay, because of base classes there are only 7 dynamic casts necessary 
plus an eigth cast for a virtual interface all of my widgets are using 
to set textsize/-font. But I think these methods are important enough to 
be a basic method, even if it is empty for some widgets. Maybe this is 
done in FLTK 2?

"textsize_" and "labelsize_" methods I never saw when doing this - these 
are private things somewhere inside the code?

Ed
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to