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

Method positionOfSlot

source/windowing/StarItemGridWidget.cpp:102–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102Vec2I ItemGridWidget::positionOfSlot(size_t slotNumber) {
103 return m_slots.at(slotNumber)->position() + position();
104}
105
106bool ItemGridWidget::sendEvent(InputEvent const& event) {
107 if (m_visible) {

Callers

nothing calls this directly

Calls 2

positionMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected