Fixed display of TitleBgActive color on window before a Modal window + modal window availability for navigation (#323)

This commit is contained in:
ocornut
2016-07-24 13:56:31 +02:00
parent ba43310df1
commit 5cac4926c8
2 changed files with 3 additions and 3 deletions

View File

@ -708,7 +708,7 @@ struct IMGUI_API ImGuiWindow
float FontWindowScale; // Scale multiplier per-window
ImDrawList* DrawList;
ImGuiWindow* RootWindow; // If we are a child window, this is pointing to the first non-child parent window. Else point to ourself.
ImGuiWindow* RootNonPopupWindow; // If we are a child window, this is pointing to the first non-child non-popup parent window. Else point to ourself.
ImGuiWindow* RootNonPopupWindow; // Used to display TitleBgActive color and for selecting which window to use for NavWindowing
ImGuiWindow* ParentWindow; // Immediate parent in the window stack *regardless* of whether this window is a child window or not)
// Navigation / Focus