You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: imgui.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1216,6 +1216,8 @@ enum ImGuiTableFlags_
1216
1216
// Sorting
1217
1217
ImGuiTableFlags_SortMulti = 1 << 26, // Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1).
1218
1218
ImGuiTableFlags_SortTristate = 1 << 27, // Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0).
1219
+
// Miscellaneous
1220
+
ImGuiTableFlags_HighlightHoveredColumn = 1 << 28, // Highlight column headers when hovered (may evolve into a fuller highlight)
ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers)");
Copy file name to clipboardExpand all lines: imgui_internal.h
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2669,6 +2669,7 @@ struct ImGuiTableCellData
2669
2669
};
2670
2670
2671
2671
// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
2672
+
// sizeof() ~ 24 bytes
2672
2673
structImGuiTableInstanceData
2673
2674
{
2674
2675
ImGuiID TableInstanceID;
@@ -2754,6 +2755,7 @@ struct IMGUI_API ImGuiTable
2754
2755
ImGuiTableColumnIdx DeclColumnsCount; // Count calls to TableSetupColumn()
2755
2756
ImGuiTableColumnIdx HoveredColumnBody; // Index of column whose visible region is being hovered. Important: == ColumnsCount when hovering empty region after the right-most column!
2756
2757
ImGuiTableColumnIdx HoveredColumnBorder; // Index of column whose right-border is being hovered (for resizing).
2758
+
ImGuiTableColumnIdx HighlightColumnHeader; // Index of column which should be highlighted.
2757
2759
ImGuiTableColumnIdx AutoFitSingleColumn; // Index of single column requesting auto-fit.
2758
2760
ImGuiTableColumnIdx ResizedColumn; // Index of column being resized. Reset when InstanceCurrent==0.
2759
2761
ImGuiTableColumnIdx LastResizedColumn; // Index of column being resized from previous frame.
@@ -2786,6 +2788,8 @@ struct IMGUI_API ImGuiTable
2786
2788
bool IsResetDisplayOrderRequest;
2787
2789
bool IsUnfrozenRows; // Set when we got past the frozen row.
2788
2790
bool IsDefaultSizingPolicy; // Set if user didn't explicitly set a sizing policy in BeginTable()
2791
+
bool IsActiveIdAliveBeforeTable;
2792
+
bool IsActiveIdInTable;
2789
2793
bool HasScrollbarYCurr; // Whether ANY instance of this table had a vertical scrollbar during the current frame.
2790
2794
bool HasScrollbarYPrev; // Whether ANY instance of this table had a vertical scrollbar during the previous.
0 commit comments