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

Method getAllPanes

source/windowing/StarPaneManager.cpp:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135List<PanePtr> PaneManager::getAllPanes() {
136 List<PanePtr> list;
137 for (auto const& layerPair : m_displayedPanes) {
138 for (auto const& panePair : layerPair.second) {
139 if (panePair.first != m_activeTooltip && panePair.first->active())
140 list.append(panePair.first);
141 }
142 }
143 return list;
144}
145
146void PaneManager::setBackgroundWidget(WidgetPtr bg) {
147 m_backgroundWidget = bg;

Callers 1

InventoryPaneMethod · 0.80

Calls 2

activeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected