From 766d4ddc1b3f53015d1b62132be7ba120ed8066a Mon Sep 17 00:00:00 2001 From: Iliyas Jorio Date: Mon, 22 Feb 2021 01:02:41 +0100 Subject: [PATCH] Implement ShowCursor --- src/Pomme.cpp | 5 +++++ src/Pomme.h | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Pomme.cpp b/src/Pomme.cpp index 41783f3..7168bf4 100644 --- a/src/Pomme.cpp +++ b/src/Pomme.cpp @@ -58,6 +58,11 @@ void HideCursor() SDL_ShowCursor(0); } +void ShowCursor() +{ + SDL_ShowCursor(1); +} + //----------------------------------------------------------------------------- // Our own init diff --git a/src/Pomme.h b/src/Pomme.h index c2ce743..ccd5837 100644 --- a/src/Pomme.h +++ b/src/Pomme.h @@ -382,9 +382,11 @@ UInt32 TickCount(); //----------------------------------------------------------------------------- // Mouse cursor -void HideCursor(); +void InitCursor(void); -void InitCursor(); +void HideCursor(void); + +void ShowCursor(void); //----------------------------------------------------------------------------- // Sound Manager