GLUT_CURSOR_INHERIT now works, also implemented another cursor
[freeglut] / progs / demos / CallbackMaker / CallbackMaker.c
index ff19b91..1b41b0e 100644 (file)
@@ -702,6 +702,8 @@ main(int argc, char *argv[])
 
   /* callbacks and menus for this window */
   SetWindowCallbacks( 0 );
+  glutSetCursor(GLUT_CURSOR_INHERIT);   /* Inherit cursor look from parent (this is default on window creation) - comment the below to see in action */
+  glutSetCursor(GLUT_CURSOR_CYCLE);
 
 
   printf ( "Please enter something to continue: " );