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

Method sendEvent

source/windowing/StarWidget.cpp:190–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190bool Widget::sendEvent(InputEvent const& event) {
191 if (!m_visible)
192 return false;
193
194 for (auto child : reverseIterate(m_members)) {
195 if (child->sendEvent(event))
196 return true;
197 }
198
199 return false;
200}
201
202void Widget::mouseOver() {}
203

Callers

nothing calls this directly

Calls 1

reverseIterateFunction · 0.85

Tested by

no test coverage detected