MCPcopy Create free account
hub / github.com/SFML/SFML / getMousePosition

Function getMousePosition

src/SFML/Window/DRM/InputImpl.cpp:617–621  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

615
616////////////////////////////////////////////////////////////
617Vector2i getMousePosition()
618{
619 const std::lock_guard lock(inputMutex);
620 return mousePos;
621}
622
623
624////////////////////////////////////////////////////////////

Callers 1

getPositionFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected