| 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 | { |
nothing calls this directly
no test coverage detected