Add IsCursorEnabled
This commit is contained in:
parent
13f9112d8c
commit
737f00ef81
|
|
@ -853,6 +853,12 @@ bool IsCursorHidden(void)
|
||||||
return CORE.Input.Mouse.cursorHidden;
|
return CORE.Input.Mouse.cursorHidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if cursor is enabled (unlocked)
|
||||||
|
bool IsCursorEnabled(void)
|
||||||
|
{
|
||||||
|
return !CORE.Input.Mouse.cursorLocked;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if cursor is on the current screen
|
// Check if cursor is on the current screen
|
||||||
bool IsCursorOnScreen(void)
|
bool IsCursorOnScreen(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user