sizeof() ~ 12
| 2649 | |
| 2650 | // sizeof() ~ 12 |
| 2651 | struct 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.) |
| 2675 | struct ImGuiTableSettings |