MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / GetCombinedRootWindow

Function GetCombinedRootWindow

engine/3rdparty/imgui/imgui.cpp:7401–7414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7399}
7400
7401static ImGuiWindow* GetCombinedRootWindow(ImGuiWindow* window, bool popup_hierarchy, bool dock_hierarchy)
7402{
7403 ImGuiWindow* last_window = NULL;
7404 while (last_window != window)
7405 {
7406 last_window = window;
7407 window = window->RootWindow;
7408 if (popup_hierarchy)
7409 window = window->RootWindowPopupTree;
7410 if (dock_hierarchy)
7411 window = window->RootWindowDockTree;
7412 }
7413 return window;
7414}
7415
7416bool ImGui::IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy, bool dock_hierarchy)
7417{

Callers 3

IsWindowChildOfMethod · 0.85
IsWindowHoveredMethod · 0.85
IsWindowFocusedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected