| 477 | } |
| 478 | |
| 479 | void Engine::FocusGameViewport() |
| 480 | { |
| 481 | #if USE_EDITOR |
| 482 | Editor::Managed->FocusGameViewport(); |
| 483 | #else |
| 484 | if (MainWindow) |
| 485 | { |
| 486 | MainWindow->BringToFront(); |
| 487 | MainWindow->Focus(); |
| 488 | } |
| 489 | #endif |
| 490 | } |
| 491 | |
| 492 | bool Engine::HasGameViewportFocus() |
| 493 | { |
nothing calls this directly
no test coverage detected