Tables: create a separate background draw channel for rows below the frozen line.

This commit is contained in:
ocornut
2020-10-30 20:30:53 +01:00
parent fae362fd0b
commit 557253e776
3 changed files with 32 additions and 17 deletions

View File

@ -2022,6 +2022,7 @@ struct ImGuiTable
ImS8 LeftMostStretchedColumnDisplayOrder; // Display order of left-most stretched column.
ImS8 ContextPopupColumn; // Column right-clicked on, of -1 if opening context menu from a neutral/empty spot
ImS8 DummyDrawChannel; // Redirect non-visible columns here.
ImS8 BgDrawChannelUnfrozen; // Index within DrawSplitter.Channels[]
ImS8 FreezeRowsRequest; // Requested frozen rows count
ImS8 FreezeRowsCount; // Actual frozen row count (== FreezeRowsRequest, or == 0 when no scrolling offset)
ImS8 FreezeColumnsRequest; // Requested frozen columns count