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

Method setInterfaceScale

source/windowing/StarGuiContext.cpp:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void GuiContext::setInterfaceScale(int interfaceScale) {
98 m_interfaceScale = interfaceScale;
99}
100
101Maybe<Vec2I> GuiContext::mousePosition(InputEvent const& event, int pixelRatio) const {
102 auto getInterfacePosition = [pixelRatio](Vec2F pos) {

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected