MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / OnWindowClosed

Method OnWindowClosed

ZEngine/src/SDL2Window/OpenGLWindow.cpp:221–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 }
220
221 bool OpenGLWindow::OnWindowClosed(WindowClosedEvent& event)
222 {
223 Event::EngineClosedEvent e(event.GetName().c_str());
224 Event::EventDispatcher event_dispatcher(e);
225 event_dispatcher.Dispatch<Event::EngineClosedEvent>(std::bind(&Engine::OnEngineClosed, m_engine, std::placeholders::_1));
226
227 return true;
228 }
229
230 bool OpenGLWindow::OnWindowResized(WindowResizedEvent& event)
231 {

Callers

nothing calls this directly

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected