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

Method screenBoundRect

source/windowing/StarWidget.cpp:113–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113RectI Widget::screenBoundRect() const {
114 return relativeBoundRect().translated(screenPosition() - relativePosition());
115}
116
117void Widget::determineSizeFromChildren() {
118 Vec2I max;

Callers 3

createTooltipMethod · 0.45
sendEventMethod · 0.45
createTooltipMethod · 0.45

Calls 1

translatedMethod · 0.45

Tested by

no test coverage detected