MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetIsMouseOver

Method SetIsMouseOver

Source/Engine/Platform/Mac/MacWindow.cpp:855–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855void 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
875void* MacWindow::GetNativePtr() const
876{

Callers 1

MacWindow.cppFile · 0.80

Calls 2

SetCursorFunction · 0.85
OnMouseLeaveMethod · 0.45

Tested by

no test coverage detected