MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / GetCombinedRootWindow

Function GetCombinedRootWindow

KBotExt/imgui/imgui.cpp:7226–7237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7224}
7225
7226static ImGuiWindow* GetCombinedRootWindow(ImGuiWindow* window, bool popup_hierarchy)
7227{
7228 ImGuiWindow* last_window = NULL;
7229 while (last_window != window)
7230 {
7231 last_window = window;
7232 window = window->RootWindow;
7233 if (popup_hierarchy)
7234 window = window->RootWindowPopupTree;
7235 }
7236 return window;
7237}
7238
7239bool ImGui::IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy)
7240{

Callers 3

IsWindowChildOfMethod · 0.85
IsWindowHoveredMethod · 0.85
IsWindowFocusedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected