MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / StartSystemEventLoop

Method StartSystemEventLoop

olcPixelGameEngine.h:6901–6910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6899 }
6900
6901 virtual olc::rcode StartSystemEventLoop() override
6902 {
6903 MSG msg;
6904 while (GetMessage(&msg, NULL, 0, 0) > 0)
6905 {
6906 TranslateMessage(&msg);
6907 DispatchMessage(&msg);
6908 }
6909 return olc::OK;
6910 }
6911
6912 virtual olc::rcode HandleSystemEvent() override { return olc::rcode::FAIL; }
6913

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected