win32.c
changeset 2207 40c928fbde8a
parent 2195 8960c86bf103
child 2208 ed38ba85b7e1
--- a/win32.c	Wed Jul 27 10:11:45 2005 +0000
+++ b/win32.c	Wed Jul 27 19:22:38 2005 +0000
@@ -40,6 +40,17 @@
 #endif
 
 
+bool MyShowCursor(bool show)
+{
+	if (_wnd.cursor_visible == show) return show;
+
+	_wnd.cursor_visible = show;
+	ShowCursor(show);
+
+	return !show;
+}
+
+
 // Helper function needed by dynamically loading SDL
 bool LoadLibraryList(Function proc[], const char* dll)
 {