| 330 | } |
| 331 | |
| 332 | Point2I PlatformWindowSDL::screenToClient( const Point2I& pos ) |
| 333 | { |
| 334 | Point2I position; |
| 335 | SDL_GetWindowPosition( mWindowHandle, &position.x, &position.y ); |
| 336 | return pos - position; |
| 337 | } |
| 338 | |
| 339 | void PlatformWindowSDL::centerWindow() |
| 340 | { |
no test coverage detected