| 443 | } |
| 444 | |
| 445 | void GameEventHandler::OnPostUpdate() |
| 446 | { |
| 447 | _currentHandler->OnEndFrame(); |
| 448 | |
| 449 | if (_backInvokedTimeLeft > 0) { |
| 450 | _backInvokedTimeLeft--; |
| 451 | if (_backInvokedTimeLeft <= 0) { |
| 452 | KeyboardEvent event{}; |
| 453 | event.sym = Keys::Back; |
| 454 | _currentHandler->OnKeyReleased(event); |
| 455 | } |
| 456 | } |
| 457 | } |
| 458 | |
| 459 | void GameEventHandler::OnResizeWindow(std::int32_t width, std::int32_t height) |
| 460 | { |
nothing calls this directly
no test coverage detected