| 687 | } |
| 688 | |
| 689 | void SDLWindow::SetClientBounds(const Rectangle& clientArea) |
| 690 | { |
| 691 | Int2 newPos = Int2(clientArea.GetTopLeft()); |
| 692 | int newW = static_cast<int>(clientArea.GetWidth()); |
| 693 | int newH = static_cast<int>(clientArea.GetHeight()); |
| 694 | |
| 695 | SDL_SetWindowSize(_window, newW, newH); |
| 696 | SetSDLWindowScreenPosition(this, newPos); |
| 697 | } |
| 698 | |
| 699 | void GetRelativeWindowOffset(WindowType type, SDLWindow* parentWindow, Int2& positionOffset) |
| 700 | { |
nothing calls this directly
no test coverage detected