ImGuiTabItemFlags_NoCloseButton=1<<20// Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout)
ImGuiTabItemFlags_NoCloseButton=1<<20// Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout)
};
};
// Storage for one active tab item (sizeof() 26~32 bytes)
// Storage for one active tab item (sizeof() 28~32 bytes)
structImGuiTabItem
structImGuiTabItem
{
{
ImGuiIDID;
ImGuiIDID;
ImGuiTabItemFlagsFlags;
ImGuiTabItemFlagsFlags;
intLastFrameVisible;
intLastFrameVisible;
intLastFrameSelected;// This allows us to infer an ordered list of the last activated tabs with little maintenance
intLastFrameSelected;// This allows us to infer an ordered list of the last activated tabs with little maintenance
intNameOffset;// When Window==NULL, offset to name within parent ImGuiTabBar::TabsNames
floatOffset;// Position relative to beginning of tab
floatOffset;// Position relative to beginning of tab
floatWidth;// Width currently displayed
floatWidth;// Width currently displayed
floatContentWidth;// Width of actual contents, stored during BeginTabItem() call
floatContentWidth;// Width of actual contents, stored during BeginTabItem() call
ImS16NameOffset;// When Window==NULL, offset to name within parent ImGuiTabBar::TabsNames
boolWantClose;// Marked as closed by SetTabItemClosed()