SDL: Implement lockMouse() in the 2D graphics managers (#2517)
This commit is contained in:
parent
59ba9cb715
commit
26cd7d44e2
5 changed files with 26 additions and 13 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue