Tables: Separating inner/outer borders flags per axis so it is possible to remove outer vertical borders to mimic old columns.

VInner or VOuter only don't have correct padding/spacing.
This commit is contained in:
omar
2019-12-30 15:14:15 +01:00
committed by ocornut
parent 1db8d421cf
commit 17578e215a
4 changed files with 101 additions and 54 deletions

View File

@ -1903,8 +1903,8 @@ struct ImGuiTable
ImGuiTableRowFlags LastRowFlags : 16;
int RowBgColorCounter; // Counter for alternating background colors (can be fast-forwarded by e.g clipper)
ImU32 RowBgColor; // Request for current row background color
ImU32 BorderOuterColor;
ImU32 BorderInnerColor;
ImU32 BorderColorStrong;
ImU32 BorderColorLight;
float BorderX1;
float BorderX2;
float CellPaddingX1; // Padding from each borders