added IsCursorDisabled
This commit is contained in:
parent
de8575b16e
commit
11e5761a88
|
|
@ -1027,6 +1027,7 @@ RLAPI bool IsCursorHidden(void); // Check if cu
|
|||
RLAPI void EnableCursor(void); // Enables cursor (unlock cursor)
|
||||
RLAPI void DisableCursor(void); // Disables cursor (lock cursor)
|
||||
RLAPI bool IsCursorOnScreen(void); // Check if cursor is on the screen
|
||||
RLAPI bool IsCursorDisabled(void); // Check if cursor is disabled (locked)
|
||||
|
||||
// Drawing-related functions
|
||||
RLAPI void ClearBackground(Color color); // Set background color (framebuffer clear color)
|
||||
|
|
|
|||
|
|
@ -889,6 +889,12 @@ bool IsCursorOnScreen(void)
|
|||
return CORE.Input.Mouse.cursorOnScreen;
|
||||
}
|
||||
|
||||
// Check if cursor is disabled (locked)
|
||||
bool IsCursorDisabled(void)
|
||||
{
|
||||
return CORE.Input.Mouse.cursorLocked;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Definition: Screen Drawing
|
||||
//----------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user