From 9ea795df58a32e6cdd5621bf58283496235005dc Mon Sep 17 00:00:00 2001 From: lukasx999 <116069013+lukasx999@users.noreply.github.com> Date: Mon, 2 Jun 2025 17:05:43 +0200 Subject: [PATCH] added more cursor functions to window class --- include/Window.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/Window.hpp b/include/Window.hpp index 1ec89203..20c5138d 100644 --- a/include/Window.hpp +++ b/include/Window.hpp @@ -91,6 +91,21 @@ class Window { */ static bool IsCursorOnScreen() { return ::IsCursorOnScreen(); } + /** + * Check if cursor is not visible + */ + static bool IsCursorHidden() { return ::IsCursorHidden(); } + + /** + * Hides cursor + */ + static void HideCursor() { ::HideCursor(); } + + /** + * Shows cursor + */ + static void ShowCursor() { ::ShowCursor(); } + /** * Check if window is currently fullscreen */