+void Screen::SetMouseCursor(Screen::MouseCursors cursor)
+{
+ SDL_SystemCursor system_cursor_id = SDL_SYSTEM_CURSOR_ARROW;
+ switch (cursor)
+ {
+ case CursorArrow: system_cursor_id = SDL_SYSTEM_CURSOR_ARROW; break;
+ case CursorWait: system_cursor_id = SDL_SYSTEM_CURSOR_WAIT; break;
+ case CursorWaitArrow: system_cursor_id = SDL_SYSTEM_CURSOR_WAITARROW; break;
+ case CursorMove: system_cursor_id = SDL_SYSTEM_CURSOR_SIZEALL; break;
+ case CursorHand: system_cursor_id = SDL_SYSTEM_CURSOR_HAND; break;
+ default: break;
+ }
+ SDL_Cursor *system_cursor = SDL_CreateSystemCursor(system_cursor_id);
+ SDL_SetCursor(system_cursor);
+ //TODO: Check if we need to free the system cursors.
+}
+