intStackSizesBackup[5];// store size of various stacks for asserting
floatColumnsStartX;// Indentation / start position from left of window (increased by TreePush/TreePop, etc.)
floatColumnsOffsetX;// Offset to the current column (if ColumnsCurrent > 0). FIXME: This and the above should be a stack to allow use cases like Tree->Column->Tree. Need revamp columns API.
// NOT checking: DC.ItemWidth, DC.AllowKeyboardFocus, DC.TextWrapPos (per window) to allow user to conveniently push once and not pop (they are cleared on Begin)
ImGuiState&g=*GImGui;
int*p_backup=&window->DC.StackSizesBackup[0];
{intcurrent=(int)window->IDStack.size();if(write)*p_backup=current;elseIM_ASSERT(*p_backup==current);p_backup++;}// User forgot PopID()
{intcurrent=(int)window->DC.GroupStack.size();if(write)*p_backup=current;elseIM_ASSERT(*p_backup==current);p_backup++;}// User forgot EndGroup()
{intcurrent=(int)g.ColorModifiers.size();if(write)*p_backup=current;elseIM_ASSERT(*p_backup==current);p_backup++;}// User forgot PopStyleColor()
{intcurrent=(int)g.StyleModifiers.size();if(write)*p_backup=current;elseIM_ASSERT(*p_backup==current);p_backup++;}// User forgot PopStyleVar()
{intcurrent=(int)g.FontStack.size();if(write)*p_backup=current;elseIM_ASSERT(*p_backup==current);p_backup++;}// User forgot PopFont()