Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
102
Vec2I ItemGridWidget::positionOfSlot(size_t slotNumber) {
103
return m_slots.at(slotNumber)->position() + position();
104
}
105
106
bool ItemGridWidget::sendEvent(InputEvent const& event) {
107
if (m_visible) {
Callers
nothing calls this directly
Calls
2
position
Method · 0.45
at
Method · 0.45
Tested by
no test coverage detected