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

Method FindWindowDisplayIndex

tutorials/common/imgui/imgui.cpp:7099–7103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7097}
7098
7099int ImGui::FindWindowDisplayIndex(ImGuiWindow* window)
7100{
7101 ImGuiContext& g = *GImGui;
7102 return g.Windows.index_from_ptr(g.Windows.find(window));
7103}
7104
7105// Moving window to front of display and set focus (which happens to be back of our sorted list)
7106void ImGui::FocusWindow(ImGuiWindow* window)

Callers

nothing calls this directly

Calls 2

index_from_ptrMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected