| 217 | } |
| 218 | |
| 219 | Vector2i Window::GetPosition() const |
| 220 | { |
| 221 | #if NAZARA_PLATFORM_SAFE |
| 222 | if (!m_impl) |
| 223 | { |
| 224 | NazaraError("Window not created"); |
| 225 | return Vector2i::Zero(); |
| 226 | } |
| 227 | #endif |
| 228 | |
| 229 | return m_impl->GetPosition(); |
| 230 | } |
| 231 | |
| 232 | Vector2ui Window::GetSize() const |
| 233 | { |