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

Method position

source/windowing/StarWidget.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50Vec2I Widget::position() const {
51 return m_position + m_drawingOffset;
52}
53
54Vec2I Widget::relativePosition() const {
55 return m_position;

Callers 9

sendEventMethod · 0.45
positionOfSlotMethod · 0.45
constructImplMethod · 0.45
spinnerHandlerMethod · 0.45
updateMethod · 0.45
bringPaneAdjacentMethod · 0.45
inDragAreaMethod · 0.45
cursorRelativeToPaneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected