| 934 | } |
| 935 | |
| 936 | void SDLWindow::SetMousePosition(const Float2& position) const |
| 937 | { |
| 938 | if (!_settings.AllowInput || !_focused) |
| 939 | return; |
| 940 | |
| 941 | SDL_WarpMouseInWindow(_window, position.X, position.Y); |
| 942 | |
| 943 | Float2 screenPosition = ClientToScreen(position); |
| 944 | Input::Mouse->OnMouseMoved(screenPosition); |
| 945 | } |
| 946 | |
| 947 | void SDLWindow::SetCursor(CursorType type) |
| 948 | { |
nothing calls this directly
no test coverage detected