PDA

View Full Version : GLUT - PREVENT WINDOW RESIZING!



robert_s
12-07-2001, 11:01 AM
Hi all!
Does anyone know how to disable window resizing in glut?
ie. the user shouldn't be able to stretch or shrink the window by dragging window edges.
is there any glut function for that? coze I couldn't find!
Please give me an example if you know! Thanks!

DFrey
12-07-2001, 11:56 AM
See here: http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/004953.html

robert_s
12-07-2001, 01:21 PM
ok thx DFrey!! but I need to get it working on Linux. I tried glutReshapeWindow(..) as others suggest which works fine! it goes back to prevoius size after eg. stretching the window but.. I want to completely disable resizing. There should be some method to do it. Just like in windows!
Any ideas?