Tomas Bym wrote: > Hello, > I am having difficulties with my code. I have a window derived from > Fl_Gl_Window. I want to have the tile window, that can split up to 4 GL > window. By default, I have only one window to be displayed, and I have a > function for splitting the view to for view. The problem is that the views > split, but only the first (which was drawn in constructor) is displayed. > Other three view are grey. In my GL window I have a right click event, taht > works even in the grey areas, so I supposed, that the windows are there only > not shown.
Maybe that's it, and you wrote it already: "not shown". I'm not sure, but I think that you must show() your Fl_Gl_Windows once to create them internally. This might be different than in your constructor, because the initial show() of the main window does this for you (at least that's something I seem to remember from reading FLTK code...). If that doesn't do it, try redraw() to get the GL windows drawn. Other than that, I don't know much about GL windows, but since you have at least one working window, I assume that you know all this initialization stuff that has to be done. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

