Debug Tools: Metrics: Added "Show groups rectangles" in tools.

This commit is contained in:
ocornut
2023-10-02 15:01:42 +02:00
parent 701a047ac0
commit a61438740d
3 changed files with 9 additions and 3 deletions

View File

@ -1953,6 +1953,7 @@ struct ImGuiContext
ImGuiNextItemData NextItemData; // Storage for SetNextItem** functions
ImGuiLastItemData LastItemData; // Storage for last submitted item (setup by ItemAdd)
ImGuiNextWindowData NextWindowData; // Storage for SetNextWindow** functions
bool DebugShowGroupRects;
// Shared stacks
ImVector<ImGuiColorMod> ColorStack; // Stack for PushStyleColor()/PopStyleColor() - inherited by Begin()
@ -2225,6 +2226,7 @@ struct ImGuiContext
CurrentFocusScopeId = 0;
CurrentItemFlags = ImGuiItemFlags_None;
DebugShowGroupRects = false;
BeginMenuCount = 0;
NavWindow = NULL;