Edzard Egberts schrieb:
> 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();
I should test examples before posting - I forgot the format!
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
#include "f_font_size.h"
using namespace f_font_size;
int main()
{
dt_font_size FS; // Format
f_basic_font_size< Fl_Window > Window(400, 200);
Window.resizable(&Window);
Window.pFormat(&FS); // Format activates resize!
new Fl_Box(100, 100, 100, 25, "Hello World");
Window.end();
Window.show();
return Fl::run();
}
Tomorrow I will start my own thread. ;o)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk