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

Method resetCursor

source/frontend/StarInterfaceCursor.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void InterfaceCursor::resetCursor() {
14 auto& root = Root::singleton();
15 auto assets = root.assets();
16 setCursor(assets->json("/interface.config:defaultCursor").toString());
17}
18
19void InterfaceCursor::setCursor(String const& configFile) {
20 if (m_configFile == configFile)

Callers 1

updateCursorMethod · 0.80

Calls 4

singletonClass · 0.85
assetsMethod · 0.80
jsonMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected