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

Method OnEventKeyPressed

SDK/src/NDK/Canvas.cpp:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 void Canvas::OnEventKeyPressed(const Nz::EventHandler* /*eventHandler*/, const Nz::WindowEvent::KeyEvent& event)
145 {
146 if (m_keyboardOwner != InvalidCanvasIndex)
147 m_widgetBoxes[m_hoveredWidget].widget->OnKeyPressed(event);
148 }
149
150 void Canvas::OnEventKeyReleased(const Nz::EventHandler* /*eventHandler*/, const Nz::WindowEvent::KeyEvent& event)
151 {

Callers

nothing calls this directly

Calls 1

OnKeyPressedMethod · 0.45

Tested by

no test coverage detected