So I have been practising with fltk and most of it is straight forward. I was just hoping to get some clarifications.
I am still a bit weak with C/C++ in this snippet: Fl_Window *window = new Fl_Window(340,180); is "window" actually a child struct that is initialized by the FL_Window struct and then partially propagated with values be the new FL_Window call? In this case is Fl_Window referring to both a struct and a method ? There are lots of "includes" in fltk programs: #include <FL/Fl.H> #include <FL/Fl_Window.H> #include <FL/Fl_Box.H> Is this so that we only have to pay for what we use? Is the libfltk.a archive a small piece of glue code to tie together the functionality of the various includes. It's 2 mb, so i am guessing there isn't so much in there. When we do this: Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!"); Are we again creating a struct? does the geometry manager actually fill in values in it's parent struct or is it living a separate life but tied together via libfltk.a ? Sorry for the dumb questions.... -Patrick _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

