[RFE] Mouse in Window!

Started by kappa, September 26, 2006, 01:36:53

Previous topic - Next topic

kappa

just wondering if it would be a good idea to add a method in the lwjgl Mouse class that would let you know if a mouse is in a lwjgl window/canvas or has left it, something like

Mouse.isOnCanvas() <-- returns boolean

it would make working in windowed mode much easier/nicer, since you could check if mouse is still there and stop events from happening if it has left the window and you wouldn't need to grab it always, which is usually anonying in windowed mode, what do you ppl think?

MarneusCalgarXP

I haven't yet worked with mouse in LWJGL, but yes, I think it would be a good idea to have such a method, if it's not already present..
Dark Skull Software
http://www.darkskull.net