> > Now, if you only call the measure function within the widgets draw = > method, you *probably* don't need to set up the face and size, since = > the draw method will do that when setting up the context for the widget. > > But measuring an arbitrary string, well, unless you declare what face = > and size you want, then there's nothing to measure... There's no default = > face... >
All the apps support multiple languages via a different language header file, those strings and labels vary, therefor the apps have to calculate placement of text and other widgets on the window/dialog to account for longer words/sentences that wrap extra/etc.. using whatever font has been chosen as the default widget font. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
