Collaboration diagram for Overlays:
Functions | |
void | glutEstablishOverlay (void) |
void | glutHideOverlay (void) |
int | glutLayerGet (GLenum eWhat) |
void | glutPostOverlayRedisplay (void) |
void | glutPostWindowOverlayRedisplay (int ID) |
void | glutRemoveOverlay (void) |
void | glutShowOverlay (void) |
void | glutUseLayer (GLenum layer) |
Old GLUT only supported indexed color for overlays. freeglut ignores all overlay requests. OpenGLEAN has inherited freeglut's and OpenGLUT's treatment. The current leaning is to remove the stub support for overlays. After 5 years of work in freeglut, and nearly a year for OpenGLUT, at this writing, neither ancestor of OpenGLEAN has bothered to implement overlays; while they might be nice to have, there is no code ready to go, and OpenGLEAN's first order of business is to trim away deadwood.
|
Creates an overlay. Creates an overlay associated with the current window.
|
|
Make an overlay invisible. Causes a visible overlay to become invisible. Applies to the current window.
|
|
Allows you to get some overlay state/option variables.
All information relates to the current window and any overlay that it may have. It is a fatal error to call this function without properly initializing OpenGLEAN via glutInit(). A -1 is returned if the parameter to glutLayerGet() is unknown; in certain other cases noted above, a -1 is also returned if no layer is in use. The fatal error can probably be dropped, though the code is a little sloppy about FALSE, -1, and valid return values. Here, -1 seems to be the preferred way to indicate TRUE, though it is also the default value.
|
|
Posts a redispaly against the layer for the current window. For the current window, tells OpenGLEAN that you wish to have your OverlayDisplay callback invoked.
|
|
Posts a redisplay to the indicated window's layer.
|
|
Removes an overlay. Removes the overlay associated with the current window.
|
|
Make an overlay visible. Causes a previously-hidden overlay to become apparent. Applies to the current window.
|
|
Allows you to switch between normal and layer mode.
layer can take on the following values, indicating the layer mode to use:
|
Supported in part by SourceForge.net.
Generated on Fri Sep 16 20:15:37 2005 for OpenGLEAN by
doxygen 1.4.3
The OpenGLEAN project is hosted by
olib.org and
SourceForge.