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

Method ClientToScreen

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

Source from the content-addressed store, hash-verified

1058}
1059
1060Float2 MacWindow::ClientToScreen(const Float2& clientPos) const
1061{
1062 NSWindow* window = (NSWindow*)_window;
1063 if (!window)
1064 return clientPos;
1065 Float2 titleSize = GetWindowTitleSize(this);
1066 return GetPosition() + titleSize + clientPos;
1067}
1068
1069void MacWindow::FlashWindow()
1070{

Callers 1

MacWindow.cppFile · 0.45

Calls 2

GetWindowTitleSizeFunction · 0.85
GetPositionFunction · 0.50

Tested by

no test coverage detected