Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ windowInterfaceSize
Method
windowInterfaceSize
source/windowing/StarGuiContext.cpp:89–91 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
}
88
89
Vec2U GuiContext::windowInterfaceSize() const {
90
return Vec2U::ceil(Vec2F(windowSize()) / interfaceScale());
91
}
92
93
int GuiContext::interfaceScale() const {
94
return m_interfaceScale;
Callers
4
windowSize
Method · 0.80
update
Method · 0.80
fetchCanvas
Method · 0.80
render
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected