static bool LockCursorToCanvas( Widget canvas, int margin )

Summary

Locks the cursor to a specific widget. If we go outside it, this function will wrap the cursor around nicely.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.