MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImGuiTableColumnSettings

Class ImGuiTableColumnSettings

KBotExt/imgui/imgui_internal.h:2730–2751  ·  view source on GitHub ↗

sizeof() ~ 12

Source from the content-addressed store, hash-verified

2728
2729// sizeof() ~ 12
2730struct ImGuiTableColumnSettings
2731{
2732 float WidthOrWeight;
2733 ImGuiID UserID;
2734 ImGuiTableColumnIdx Index;
2735 ImGuiTableColumnIdx DisplayOrder;
2736 ImGuiTableColumnIdx SortOrder;
2737 ImU8 SortDirection : 2;
2738 ImU8 IsEnabled : 1; // "Visible" in ini file
2739 ImU8 IsStretch : 1;
2740
2741 ImGuiTableColumnSettings()
2742 {
2743 WidthOrWeight = 0.0f;
2744 UserID = 0;
2745 Index = -1;
2746 DisplayOrder = SortOrder = -1;
2747 SortDirection = ImGuiSortDirection_None;
2748 IsEnabled = 1;
2749 IsStretch = 0;
2750 }
2751};
2752
2753// This is designed to be stored in a single ImChunkStream (1 header followed by N ImGuiTableColumnSettings, etc.)
2754struct ImGuiTableSettings

Callers 1

TableSettingsInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected