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

Method update

source/windowing/StarPane.cpp:194–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void Pane::update(float dt) {
195 if (m_visible) {
196 for (auto const& widget : m_members) {
197 widget->update(dt);
198 if ((m_focusWidget == widget) != widget->hasFocus()) {
199 m_focusWidget.reset();
200 widget->blur();
201 }
202 }
203 }
204}
205
206void Pane::tick(float) {
207 m_playingSounds.filter([](pair<String, AudioInstancePtr> const& p) {

Callers 1

layoutHandlerMethod · 0.45

Calls 3

hasFocusMethod · 0.45
resetMethod · 0.45
blurMethod · 0.45

Tested by

no test coverage detected