MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / handleInputEvent

Method handleInputEvent

source/frontend/StarErrorScreen.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool ErrorScreen::handleInputEvent(InputEvent const& event) {
49 if (auto mouseMove = event.ptr<MouseMoveEvent>())
50 m_cursorScreenPos = Vec2I(mouseMove->mousePosition);
51
52 return m_paneManager->sendInputEvent(event);
53}
54
55void ErrorScreen::update(float dt) {
56 m_paneManager->update(dt);

Callers

nothing calls this directly

Calls 1

sendInputEventMethod · 0.80

Tested by

no test coverage detected