Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ maxScrollPosition
Method
maxScrollPosition
source/windowing/StarScrollArea.cpp:404–406 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
402
}
403
404
Vec2I ScrollArea::maxScrollPosition() const {
405
return Vec2I().piecewiseMax(contentSize() - size());
406
}
407
408
void ScrollArea::drawChildren() {
409
RectI innerDrawingArea = m_drawingArea;
Callers
2
scrollRatio
Method · 0.80
offsetFromThumbPosition
Method · 0.80
Calls
2
size
Function · 0.85
piecewiseMax
Method · 0.80
Tested by
no test coverage detected