Stuff from work:
Removed reference to unused GL/glu.h header file, which is missing on
some Linux systems.
Fl_Gl_Window has a new method to allow you to get and set the context:
void Fl_Gl_Window::context(void*, int destroy = 0)
void* Fl_Gl_Window::context() const;
Return or set a pointer to the GLContext that this window is
using. This is a system-dependent structure, but it is portable to
copy the context from one window to another. You can also set it to
NULL, which will force FLTK to recreate the context the next time
make_current() is called, this is useful for getting around bugs in
OpenGL implementations.
If destroy_flag is true the context will be destroyed by fltk when
the window is destroyed, or when the mode() is changed, or the next
time context(x) is called.
Some cleanup of Fl_Gl_Choice to move most of the system dependent
#ifdefs into Fl_Gl_Choice.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
test/README - 20 Oct 1998
-------------------------
This directory contains tests and demos of FL. In most cases you can
learn a lot about how to program FL by looking at the source code.
Type "make" to compile them all.
The program "demo" is a graphical interface to run all the demos. (you
may recognize this as a rewrite of an XForms program).
Some of the more interesting programs:
fractals: A GLUT program with FL controls added to it
glpuzzle: A GLUT program with no modifications
fullscreen: Demo of how to make your window toggle to fill screen
list_visuals: necessary to debug X visual stuff
mandelbrot: A true application, using panels built in Fluid
menubar: Demo of how FL's menus work
shiny: Demo of drawing FL's controls using OpenGL
forms: An XForms program to demonstrate emulation
colbrowser: Another XForms program that is actually useful