Maelstrom: Added accessor for the cursor position

https://github.com/libsdl-org/Maelstrom/commit/325773bec14dac41ae0e5aa32245efc973ccd84f

From 325773bec14dac41ae0e5aa32245efc973ccd84f Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 2 Aug 2012 11:04:15 -0700
Subject: [PATCH] Added accessor for the cursor position

---
 screenlib/SDL_FrameBuf.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/screenlib/SDL_FrameBuf.h b/screenlib/SDL_FrameBuf.h
index 16c92aa0..a0a4d779 100644
--- a/screenlib/SDL_FrameBuf.h
+++ b/screenlib/SDL_FrameBuf.h
@@ -206,6 +206,9 @@ class FrameBuf : public ErrorBase {
 	void HideCursor(void) {
 		SDL_ShowCursor(0);
 	}
+	void GetCursorPosition(int *x, int *y) {
+		SDL_GetMouseState(x, y);
+	}
 	void SetCaption(const char *caption, const char *icon = NULL) {
 		SDL_SetWindowTitle(window, caption);
 	}