| 44 | } |
| 45 | |
| 46 | void AndroidWindow::SetClientBounds(const Rectangle& clientArea) |
| 47 | { |
| 48 | if (Float2::NearEqual(_clientSize, clientArea.Size)) |
| 49 | return; |
| 50 | |
| 51 | const int32 width = static_cast<int32>(clientArea.GetWidth()); |
| 52 | const int32 height = static_cast<int32>(clientArea.GetHeight()); |
| 53 | _clientSize = clientArea.Size; |
| 54 | OnResize(width, height); |
| 55 | } |
| 56 | |
| 57 | #endif |