ImGuiColumnsFlags_NoResize=1<<1,// Disable resizing columns when clicking on the dividers
ImGuiColumnsFlags_NoPreserveWidths=1<<2,// Disable column width preservation when adjusting columns
ImGuiColumnsFlags_NoForceWithinWindow=1<<3,// Disable forcing columns to fit within window
ImGuiColumnsFlags_GrowParentContentsSize=1<<4,// (WIP) Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.
ImGuiColumnsFlags_GrowParentContentsSize=1<<4// (WIP) Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.
};
enumImGuiSelectableFlagsPrivate_
@ -403,19 +403,19 @@ struct ImGuiMouseCursorData
// Storage for current popup stack
structImGuiPopupRef
{
ImGuiIDPopupId;// Set on OpenPopup()
ImGuiWindow*Window;// Resolved on BeginPopup() - may stay unresolved if user never calls OpenPopup()
ImGuiWindow*ParentWindow;// Set on OpenPopup()
ImGuiIDParentMenuSet;// Set on OpenPopup()
ImVec2MousePosOnOpen;// Copy of mouse position at the time of opening popup
ImGuiIDPopupId;// Set on OpenPopup()
ImGuiWindow*Window;// Resolved on BeginPopup() - may stay unresolved if user never calls OpenPopup()
ImGuiWindow*ParentWindow;// Set on OpenPopup()
ImGuiIDParentMenuSet;// Set on OpenPopup()
ImVec2MousePosOnOpen;// Copy of mouse position at the time of opening popup
floatIndentX;// Indentation / start position from left of window (increased by TreePush/TreePop, etc.)
floatGroupOffsetX;
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.
ImGuiColumnsSet*ColumnsSet;
ImVector<ImGuiColumnsSet>ColumnsSets;
ImGuiColumnsSet*ColumnsSet;// Current columns set
ImGuiDrawContext()
{
@ -784,6 +783,7 @@ struct IMGUI_API ImGuiWindow
floatItemWidthDefault;
ImGuiSimpleColumnsMenuColumns;// Simplified columns storage for menu items