| 853 | } |
| 854 | |
| 855 | void MacWindow::SetIsMouseOver(bool value) |
| 856 | { |
| 857 | if (_isMouseOver == value) |
| 858 | return; |
| 859 | _isMouseOver = value; |
| 860 | CursorType cursor = _cursor; |
| 861 | if (value) |
| 862 | { |
| 863 | // Refresh cursor typet |
| 864 | SetCursor(CursorType::Default); |
| 865 | SetCursor(cursor); |
| 866 | } |
| 867 | else |
| 868 | { |
| 869 | Input::Mouse->OnMouseLeave(this); |
| 870 | SetCursor(CursorType::Default); |
| 871 | _cursor = cursor; |
| 872 | } |
| 873 | } |
| 874 | |
| 875 | void* MacWindow::GetNativePtr() const |
| 876 | { |
no test coverage detected