glClearColor(0.7f, 0.7f, 0.7f, 1.0);
- /* callbacks and menus for this window */
+ /* callbacks, settings and menus for this window */
SetWindowCallbacks( 0 );
+ glutSetCursor(GLUT_CURSOR_CROSSHAIR); /* Cursors are per window */
glutSetMenu(subMenuA);
glutAttachMenu( GLUT_RIGHT_BUTTON );
/* 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: " );