PDA

View Full Version : resize restriction?



screwtape
04-12-2001, 05:32 AM
Is there a glut function that prevents the user from resizing a window? I have a situation where I want the x and y mouse coordinate ranges to remain constant and I don't want the user to be able to resize the graphics window, I want the window height/length to remain constant.

Also, I know its outside of the glut functions, but is there a simple universal function that makes the mouse cursor invisible if its on top of the main graphics window? I'm thinking this might be a situation that depends on the OS environment; I'm working on an SGI running Xwindows, so if there is a SPECIFIC function that allows it, please let me know.

04-12-2001, 07:05 AM
A. I dont think so
B. glutSetCursor(GLUT_CURSOR_NONE);