Skip to content

Commit 6bd8b09

Browse files
authored
Merge pull request #362 from lukasx999/master
added more cursor functions to window class
2 parents 6865344 + 9ea795d commit 6bd8b09

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

include/Window.hpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,21 @@ class Window {
9191
*/
9292
static bool IsCursorOnScreen() { return ::IsCursorOnScreen(); }
9393

94+
/**
95+
* Check if cursor is not visible
96+
*/
97+
static bool IsCursorHidden() { return ::IsCursorHidden(); }
98+
99+
/**
100+
* Hides cursor
101+
*/
102+
static void HideCursor() { ::HideCursor(); }
103+
104+
/**
105+
* Shows cursor
106+
*/
107+
static void ShowCursor() { ::ShowCursor(); }
108+
94109
/**
95110
* Check if window is currently fullscreen
96111
*/

0 commit comments

Comments
 (0)