MCPcopy Create free account
hub / github.com/RequestFX/ImGUI-Advanced-Cheat-Menu / GetCursorPos

Method GetCursorPos

dependencies/imgui-sfml/include/imgui.cpp:8423–8427  ·  view source on GitHub ↗

User generally sees positions in window coordinates. Internally we store CursorPos in absolute screen coordinates because it is more convenient. Conversion happens as we pass the value to user, but it makes our naming convention confusing because GetCursorPos() == (DC.CursorPos - window.Pos). May want to rename 'DC.CursorPos'.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

GetCurrentWindowReadFunction · 0.85

Tested by

no test coverage detected