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

Method SetNavCursorVisible

include/imgui/imgui.cpp:13113–13121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13111// Those two functions are merely a legacy artifact, so at minimum naming should be clarified.
13112
13113void ImGui::SetNavCursorVisible(bool visible)
13114{
13115 ImGuiContext& g = *GImGui;
13116 if (g.NavWindow && (g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs))
13117 visible = false;
13118 else if (g.IO.ConfigNavCursorVisibleAlways)
13119 visible = true;
13120 g.NavCursorVisible = visible;
13121}
13122
13123// (was called NavRestoreHighlightAfterMove() before 1.91.4)
13124void ImGui::SetNavCursorVisibleAfterMove()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected