------------------------------------------------------------------------------
| 844 | |
| 845 | //------------------------------------------------------------------------------ |
| 846 | int vtkWin32RenderWindowInteractor::OnFocus(HWND, UINT) |
| 847 | { |
| 848 | if (!this->Enabled) |
| 849 | { |
| 850 | return 0; |
| 851 | } |
| 852 | |
| 853 | #ifdef VTK_USE_TDX |
| 854 | if (this->Device->GetInitialized() && !this->Device->GetIsListening()) |
| 855 | { |
| 856 | this->Device->StartListening(); |
| 857 | return 1; |
| 858 | } |
| 859 | #endif |
| 860 | |
| 861 | return 0; |
| 862 | } |
| 863 | |
| 864 | //------------------------------------------------------------------------------ |
| 865 | int vtkWin32RenderWindowInteractor::OnKillFocus(HWND, UINT) |
no test coverage detected