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

Function IsWindowInvalid

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

Source from the content-addressed store, hash-verified

30#endif
31
32inline bool IsWindowInvalid(Window* win)
33{
34 WindowsManager::WindowsLocker.Lock();
35 const bool hasWindow = WindowsManager::Windows.Contains(win);
36 WindowsManager::WindowsLocker.Unlock();
37 return !hasWindow || !win;
38}
39
40KeyboardKeys GetKey(NSEvent* event)
41{

Callers 2

GetDragDropDataFunction · 0.70
MacWindow.cppFile · 0.70

Calls 3

LockMethod · 0.80
UnlockMethod · 0.80
ContainsMethod · 0.45

Tested by

no test coverage detected