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

Function GetCombinedRootWindow

tutorials/common/imgui/imgui.cpp:7302–7313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7300}
7301
7302static ImGuiWindow* GetCombinedRootWindow(ImGuiWindow* window, bool popup_hierarchy)
7303{
7304 ImGuiWindow* last_window = NULL;
7305 while (last_window != window)
7306 {
7307 last_window = window;
7308 window = window->RootWindow;
7309 if (popup_hierarchy)
7310 window = window->RootWindowPopupTree;
7311 }
7312 return window;
7313}
7314
7315bool ImGui::IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy)
7316{

Callers 3

IsWindowChildOfMethod · 0.85
IsWindowHoveredMethod · 0.85
IsWindowFocusedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected