| 543 | } |
| 544 | |
| 545 | Float2 WindowsWindow::ClientToScreen(const Float2& clientPos) const |
| 546 | { |
| 547 | ASSERT(HasHWND()); |
| 548 | |
| 549 | if (_minimized) |
| 550 | { |
| 551 | // Return cached position when window is not on screen |
| 552 | return _minimizedScreenPosition + clientPos; |
| 553 | } |
| 554 | |
| 555 | POINT p; |
| 556 | p.x = static_cast<LONG>(clientPos.X); |
| 557 | p.y = static_cast<LONG>(clientPos.Y); |
| 558 | ::ClientToScreen(_handle, &p); |
| 559 | return Float2(static_cast<float>(p.x), static_cast<float>(p.y)); |
| 560 | } |
| 561 | |
| 562 | void WindowsWindow::FlashWindow() |
| 563 | { |
nothing calls this directly
no test coverage detected