SDL: Implement lockMouse() in the 2D graphics managers (#2517)

This commit is contained in:
Cameron Cawley 2020-10-13 20:31:10 +01:00 committed by GitHub
parent 59ba9cb715
commit 26cd7d44e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 13 deletions

View file

@ -51,6 +51,11 @@ public:
*/
void toggleMouseGrab();
/**
* Lock or unlock the mouse cursor within the window.
*/
bool lockMouse(bool lock);
/**
* Check whether the application has mouse focus.
*/