A plain data class for ImGui tab items in a vendored ImGui port. Holds the tab's ID, flags, label, layout widths and ordering fields plus visibility and close-want state.
// Vendored from zeljkovranjes/sbox-imgui; see LICENSE and PROVENANCE.md in this folder.
using Sandbox;
#pragma warning disable CS0649 // Upstream reserves fields for optional widgets and features.
namespace SboxSuperuser.Engine.Vendor.ImGui;
internal class ImGuiTabItem
{
public int ID;
public ImGuiTabItemFlags Flags;
public int LastFrameVisible = -1;
public int LastFrameSelected = -1;
public float Offset;
public float Width;
public float ContentWidth;
public float RequestedWidth = -1f;
public int BeginOrder = -1;
public int IndexDuringLayout = -1;
public bool WantClose;
public string Label;
}