Greg Ercolano schrieb:
> On 04/12/12 17:53, David Topham wrote:
>       Still, I'll bet you can either zoom your screen or change
>       the display's resolution to make the application larger.
>       A Mac is best at this, since you can zoom in and out easily
>       with keyboard shortcuts.

He also could wait until tomorrow, when my new template is published.

It's defined like "template < T> f_basic_font_size: public T" and it 
should be used like:

fl_basic_font_size< Fl_Window > Window(400, 200);
Window.resizable(&Window);
new Fl_Box(100, 100, 100, 25, "Hello World");
Window.end();
Window.show();
return Fl::run();

When resizing this window the label- and textsizes follow the size of 
the window - looks really great (my boss was very fond of that ;o).

It works using a pointer to a "dt_format" class and I'm just figuring 
out, how to set groups with own fonts and fontsizes. The template also 
works using Fl_Widget and derived, so every part of a FLTK window can be 
enlarged with format informations. Also this is a good base to load and 
save window position and size. It's work in progress, but not far from 
finish.

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

Reply via email to