On 29 Apr 2008, at 18:08, Michael Sweet wrote: >> >> Yes, I think that sounds like the most useful option, so if you had >> multiple glut windows within your fltk app, each could have it's own >> unique idle function. >> >> But what I'm not getting (and I hope I'm just being stupid here) >> is how >> glutIdleFunc() is meant to determine the correct glut window? > > IIRC, there is a "current" window in GLUT that we can use.
Doh! I was being stupid - of course, that is how *all* the glut emulation functions are called... extern FL_EXPORT Fl_Glut_Window *glut_window; // the current window -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

