FXGLUT /*--------------------------------------------------------------------------- Author : William Baxter Created : 8/10/2003 Description : Routines to ease GLUT->FOX migration This implements a good chunk of the GLUT API in terms of FOX. Currently this lacks the more exotic GLUT features like overlays, subwindows, menus, geometric primitives, and fonts. For the latter you continue to use GLUT. Those features are independent of GLUT's job as windowing system. Because it is possible to include both glut.h and fxglut.h, all the functions here are prefixed with fx to avoid naming clashes. If you've got a pretty ordinary simple glut app with a few callbacks set up, it should be pretty easy to convert over to fxglut. Just replace the word "glut" everywhere with "fxglut" (and "GLUT" with "FXGLUT"). Add fox and fxglut to libs to link with, and it should just work. When you're ready to add FOX-specific stuff to your app, you can get pointers to the FOX stuff used by the FXGLUT implementation under the covers with these functions: FXApp* fxglutGetApp(); FXWindow* fxglutGetFXWindow(int id); --------------------------------------------------------------------------*/