
7.2. Native programming 273
Another platform encapsulating library the GLFW can be an alternative to
using th e GLUT/FreeGLUT. It has the slight advantage that it is available for
OSX platforms as well as Windows. Currently it does not support menus but
this may change.
In all the abstraction libraries the programming metaphor is for the developer
to provide callback handler functions for such things as: a change of screen
resolution, a re-drawing of the OpenGL enabled display window and h an d lin g
mouse and keyboard events. A simple cross platform example package for the
fixed function pipeline usin g the GLUT/FreeGLUT libraries can be obtained
from ...