glutSetCursor(3GLUT) | GLUT | glutSetCursor(3GLUT) |
glutSetCursor - changes the cursor image of the current window.
#include <GLUT/glut.h>
void glutSetCursor(int cursor);
glutSetCursor changes the cursor image of the current window. Each call requests the window system change the cursor appropriately. The cursor image when a window is created is GLUT_CURSOR_INHERIT. The exact cursor images used are implementation dependent. The intent is for the image to convey the meaning of the cursor name. For a top-level window, GLUT_CURSOR_INHERIT uses the default window system cursor.
GLUT for X uses SGI's _SGI_CROSSHAIR_CURSOR convention to access a full-screen cross-hair cursor if possible.
glutCreateWindow, glutCreateSubWindow
Mark J. Kilgard (mjk@nvidia.com)
3.7 | GLUT |