> Edzard suggested:
> 
> > What does "panel" mean in detail? You could create a 
> > "toolbox" (panel?) 
> > by using a non modal Fl_Window. This way the buttons will be 
> > in a second 
> > window, which stays always on top of the openGL window.
> 
> 
> Yes - I quite like that idea, that sounds like a workable 
> option, wrap the "panel" in it's own, non-modal (and maybe 
> borderless?) window so as to "protect" it from the vagaries 
> of the GL context treading on it... Yup, sounds workable!

FWIW, I tried this in a quick test: I created an animated GL scene, then
created a "panel" window that would pop up on top of the scene.

This "panel" was created as a non-modal, borderless, Fl_Window, with the
boxtype set as FL_NO_BOX (hence it was "transparent") and the widgets
within the panel were regular fltk buttons.

All the fltk widgets in the panel worked fine, and did not get stamped
on by the GL updates occuring underneath them.

So that does look like a potential solution, then, I think.

HTH, 
-- 
Ian




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

Reply via email to