MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / ProcessEvents

Method ProcessEvents

src/Nazara/Platform/Win32/WindowImpl.cpp:282–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 }
281
282 void WindowImpl::ProcessEvents(bool block)
283 {
284 if (m_ownsWindow)
285 {
286 if (block)
287 WaitMessage();
288
289 MSG message;
290 while (PeekMessageW(&message, nullptr, 0, 0, PM_REMOVE))
291 {
292 TranslateMessage(&message);
293 DispatchMessageW(&message);
294 }
295 }
296 }
297
298 void WindowImpl::SetCursor(const Cursor& cursor)
299 {

Callers 1

WindowThreadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected