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

Method removeFocus

source/windowing/StarPane.cpp:177–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void Pane::removeFocus(Widget const* focus) {
178 if (m_focusWidget.get() == focus)
179 m_focusWidget.reset();
180}
181
182void Pane::removeFocus() {
183 m_focusWidget.reset();

Callers 1

blurMethod · 0.80

Calls 2

getMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected