Is there a recommended approach to drawing FLTK widgets inside or on 
top of an OpenGL window?

I see a few ways to approach this. The simplest way to get quick 
results seems to be to subclass widgets to provide OpenGL draw() 
methods and write an OpenGL window draw method that draws its children. 
A more general but also more complex approach would be write an OpenGL 
output driver (has anyone else written such a thing already?), or 
somehow draw widgets to an image which is then drawn in OpenGL (could 
an existing driver easily be modified to do this?). Are there other 
options, or anything in particular to watch out for when doing one of 
these?

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to