MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / GetCombinedRootWindow

Function GetCombinedRootWindow

extern/imgui/imgui.cpp:7916–7929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7914}
7915
7916static ImGuiWindow* GetCombinedRootWindow(ImGuiWindow* window, bool popup_hierarchy, bool dock_hierarchy)
7917{
7918 ImGuiWindow* last_window = NULL;
7919 while (last_window != window)
7920 {
7921 last_window = window;
7922 window = window->RootWindow;
7923 if (popup_hierarchy)
7924 window = window->RootWindowPopupTree;
7925 if (dock_hierarchy)
7926 window = window->RootWindowDockTree;
7927 }
7928 return window;
7929}
7930
7931bool ImGui::IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy, bool dock_hierarchy)
7932{

Callers 3

IsWindowChildOfMethod · 0.85
IsWindowHoveredMethod · 0.85
IsWindowFocusedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected