MCPcopy Create free account
hub / github.com/Raais/ImStudio / FindWindowDisplayIndex

Method FindWindowDisplayIndex

src/third-party/imgui/imgui.cpp:6720–6724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6718}
6719
6720int ImGui::FindWindowDisplayIndex(ImGuiWindow* window)
6721{
6722 ImGuiContext& g = *GImGui;
6723 return g.Windows.index_from_ptr(g.Windows.find(window));
6724}
6725
6726// Moving window to front of display and set focus (which happens to be back of our sorted list)
6727void ImGui::FocusWindow(ImGuiWindow* window)

Callers

nothing calls this directly

Calls 1

index_from_ptrMethod · 0.80

Tested by

no test coverage detected