MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / SetCursorPosY

Method SetCursorPosY

include/imgui/imgui.cpp:11548–11554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11546}
11547
11548void ImGui::SetCursorPosY(float y)
11549{
11550 ImGuiWindow* window = GetCurrentWindow();
11551 window->DC.CursorPos.y = window->Pos.y - window->Scroll.y + y;
11552 //window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y);
11553 window->DC.IsSetPos = true;
11554}
11555
11556ImVec2 ImGui::GetCursorStartPos()
11557{

Callers

nothing calls this directly

Calls 1

GetCurrentWindowFunction · 0.85

Tested by

no test coverage detected