Added bool IsCursorOnScreen(void). (#1262)
- The Mouse struct already stores cursorOnScreen. This function simply exposes it to the usage code.
This commit is contained in:
parent
ae334e9a6e
commit
aff47d1564
2 changed files with 7 additions and 0 deletions
|
@ -903,6 +903,7 @@ RLAPI void HideCursor(void); // Hides curso
|
|||
RLAPI bool IsCursorHidden(void); // Check if cursor is not visible
|
||||
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 current screen.
|
||||
|
||||
// Drawing-related functions
|
||||
RLAPI void ClearBackground(Color color); // Set background color (framebuffer clear color)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue