MODIFYING WINDOW PROPERTIES
• You can control how the window is reshaped by defining a reshape function
and setting it as the reshape callback using
glutReshapeFunc( winReshapeFunc);
• You can modify the size and shape of the current window using
glutPositionWindow( xNewTopLeft, yNewTopLeft);
glutReshapeWindow( newWidth, newHeight);
• Change the window title with
glutSetWindowTitle( newTitle);
• Specify the cursor with
glutSetCursorShape( shape);
Use symbolic constants like GLUT_CURSOR_UP_DOWN to specify the shapes. (Exact
shapes available are system specific.)
0 comments:
Post a Comment