diff options
| author | ChrisDill <[email protected]> | 2020-05-26 10:59:25 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-26 11:59:25 +0200 |
| commit | aff47d156474afc5f0e7e0d8b5ce61c013d470b3 (patch) | |
| tree | 273417e0e9903edbaa9cdec264e54cc99e5033b0 /src/raylib.h | |
| parent | ae334e9a6eae5e991c04d6baef890485095773e4 (diff) | |
| download | raylib-aff47d156474afc5f0e7e0d8b5ce61c013d470b3.tar.gz raylib-aff47d156474afc5f0e7e0d8b5ce61c013d470b3.zip | |
Added bool IsCursorOnScreen(void). (#1262)
- The Mouse struct already stores cursorOnScreen. This function simply exposes it to the usage code.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 490755e9..9d9fd8c5 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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) |
