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

Method SetNavCursorVisibleAfterMove

include/imgui/imgui.cpp:13124–13136  ·  view source on GitHub ↗

(was called NavRestoreHighlightAfterMove() before 1.91.4)

Source from the content-addressed store, hash-verified

13122
13123// (was called NavRestoreHighlightAfterMove() before 1.91.4)
13124void ImGui::SetNavCursorVisibleAfterMove()
13125{
13126 ImGuiContext& g = *GImGui;
13127 if (g.NavWindow && (g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs))
13128 g.NavCursorVisible = false;
13129 else if (g.NavInputSource == ImGuiInputSource_Keyboard && (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) == 0)
13130 g.NavCursorVisible = false;
13131 else if (g.NavInputSource == ImGuiInputSource_Gamepad && (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) == 0)
13132 g.NavCursorVisible = false;
13133 else if (g.IO.ConfigNavCursorVisibleAuto)
13134 g.NavCursorVisible = true;
13135 g.NavHighlightItemUnderNav = g.NavMousePosDirty = true;
13136}
13137
13138void ImGui::SetNavWindow(ImGuiWindow* window)
13139{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected