glutLayerGet (3) - Linux Manuals

glutLayerGet: Allows you to get some overlay state/option variables.

NAME

glutLayerGet - Allows you to get some overlay state/option variables.

LIBRARY

OpenGLUT - overlays

SYNOPSIS

In openglut.h Ft int Fn glutLayerGet GLenum eWhat

PARAMETERS

Bf Em
 eWhat Ef
    Enumerated parameter ID.

DESCRIPTION

Returns some useful information about layers. Or, it would be useful if layers were implemented... Bf Sy
 eWhat Ef
 may be given any of the following values:


  Bf Sy
 GLUT_HAS_OVERLAY Ef
 


  Bf Sy
 GLUT_LAYER_IN_USE Ef
 


  Bf Sy
 GLUT_NORMAL_DAMAGED Ef
 
0 unless the window system has told us that the normal layer is damaged (glutPostRedisplay() does not affect this).


  Bf Sy
 GLUT_OVERLAY_DAMAGED Ef
 

 -1 if no layer in use.


  Bf Sy
 GLUT_OVERLAY_POSSIBLE Ef
 


  Bf Sy
 GLUT_TRANSPARENT_INDEX Ef
 

 -1 if no layer in use.

All information relates to the Bf Li
 current window Ef
  and any overlay that it may have.