Lines Matching defs:cursor
48 * DESCRIPTION: set a new mouse cursor for current window
50 void glutSetCursor(int cursor) {
52 gState.currentWindow->cursor = cursor;
53 __glutSetCursor(cursor);
60 * DESCRIPTION: the actual cursor changing routine
62 void __glutSetCursor(int cursor) {
63 int realcursor = cursor;
64 if (cursor < 0 || cursor > GLUT_CURSOR_BOTTOM_LEFT_CORNER) {
65 switch(cursor) {
67 return; // don't change cursor
69 // this hides the cursor until the user moves the mouse
77 __glutWarning("unknown cursor\n");