2009/5/28 Loic <[email protected]>: > > I am implementing a class inheriting from FL_Gl_Window, that will be the main > class/window of my project. >
I don't think you can derive from Fl_Gl_Window for anything other than a GL context. You can not have fltk widgets as children of a GL window in general because the drawing mechanisms are different. Matthias has some demo code for having widgets that are children of an Fl_GL_Window, I think, but in general it will not work. So, anyway... all the fltk widgets have to be children of a fltk window, with the GL window used only for GL rendering and so forth. I think this is discussed in the docs actually, although I can't see it right now. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

