MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / GetCombinedRootWindow

Function GetCombinedRootWindow

plugins/Cardinal/src/DearImGui/imgui.cpp:6910–6921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6908}
6909
6910static ImGuiWindow* GetCombinedRootWindow(ImGuiWindow* window, bool popup_hierarchy)
6911{
6912 ImGuiWindow* last_window = NULL;
6913 while (last_window != window)
6914 {
6915 last_window = window;
6916 window = window->RootWindow;
6917 if (popup_hierarchy)
6918 window = window->RootWindowPopupTree;
6919 }
6920 return window;
6921}
6922
6923bool ImGui::IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy)
6924{

Callers 3

IsWindowChildOfMethod · 0.85
IsWindowHoveredMethod · 0.85
IsWindowFocusedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected