MCPcopy Create free account
hub / github.com/RenderKit/embree / ImGuiTableColumnSettings

Class ImGuiTableColumnSettings

tutorials/common/imgui/imgui_internal.h:2651–2672  ·  view source on GitHub ↗

sizeof() ~ 12

Source from the content-addressed store, hash-verified

2649
2650// sizeof() ~ 12
2651struct ImGuiTableColumnSettings
2652{
2653 float WidthOrWeight;
2654 ImGuiID UserID;
2655 ImGuiTableColumnIdx Index;
2656 ImGuiTableColumnIdx DisplayOrder;
2657 ImGuiTableColumnIdx SortOrder;
2658 ImU8 SortDirection : 2;
2659 ImU8 IsEnabled : 1; // "Visible" in ini file
2660 ImU8 IsStretch : 1;
2661
2662 ImGuiTableColumnSettings()
2663 {
2664 WidthOrWeight = 0.0f;
2665 UserID = 0;
2666 Index = -1;
2667 DisplayOrder = SortOrder = -1;
2668 SortDirection = ImGuiSortDirection_None;
2669 IsEnabled = 1;
2670 IsStretch = 0;
2671 }
2672};
2673
2674// This is designed to be stored in a single ImChunkStream (1 header followed by N ImGuiTableColumnSettings, etc.)
2675struct ImGuiTableSettings

Callers 1

TableSettingsInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected