MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / setCursorImage

Method setCursorImage

src/Abyss/AbyssEngine.cpp:363–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363void AbyssEngine::setCursorImage(const std::string_view cursorName) { _cursorImage = _cursors[cursorName.data()].get(); }
364
365void AbyssEngine::setCursorLocked(const bool locked) { SDL_SetRelativeMouseMode(locked ? SDL_TRUE : SDL_FALSE); }
366

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected