> Most problematic thing is to keep cursor inside
> certain window. (Maybe this is implemented
> already, it isnt in old glut). Using glutWarpPointer
> is really annoying because f.e. while loading big
> files you can easily move mouse outside window
> (or subwindow which is my program case).
> Something like glutLockPointer(int x, int y)
> would be very handy.
The proposal here is that the mouse pointer can
be locked to a fixed position until something
time consuming happens and it can be unlocked.
void glutLockPointer(int x, int y);
We would need to check that this can be
reasonably implemented on various platforms
and that non-mouse controls (alt-tab etc)
are not affected.
Log in to post a comment.