MCPcopy Create free account
hub / github.com/RenderKit/embree / GetCursorScreenPos

Method GetCursorScreenPos

tutorials/common/imgui/imgui.cpp:9105–9109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9103}
9104
9105ImVec2 ImGui::GetCursorScreenPos()
9106{
9107 ImGuiWindow* window = GetCurrentWindowRead();
9108 return window->DC.CursorPos;
9109}
9110
9111// 2022/08/05: Setting cursor position also extend boundaries (via modifying CursorMaxPos) used to compute window size, group size etc.
9112// I believe this was is a judicious choice but it's probably being relied upon (it has been the case since 1.31 and 1.50)

Callers

nothing calls this directly

Calls 1

GetCurrentWindowReadFunction · 0.85

Tested by

no test coverage detected