MCPcopy 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
89Vec2U GuiContext::windowInterfaceSize() const {
90 return Vec2U::ceil(Vec2F(windowSize()) / interfaceScale());
91}
92
93int GuiContext::interfaceScale() const {
94 return m_interfaceScale;

Callers 4

windowSizeMethod · 0.80
updateMethod · 0.80
fetchCanvasMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected