f80097ca96 
								
							
								 
							
						 
						
							
							
								
								Tables: Fix applying WorkRect in non-scrolling tables. Fix inverted BackgroundClipRect being passed to ImDrawCmd.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								557253e776 
								
							
								 
							
						 
						
							
							
								
								Tables: create a separate background draw channel for rows below the frozen line.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								fae362fd0b 
								
							
								 
							
						 
						
							
							
								
								Tables: fixed auto-fitting columns not marking settings as dirty + fixed CellBg fill not narrow clipping on ScrollX + freeze.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								9918b2f147 
								
							
								 
							
						 
						
							
							
								
								Tables: Shuffled ordering of draw channels merge group so vertically unfrozen ones come, allowing us to split background channels in two.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								d3222086f0 
								
							
								 
							
						 
						
							
							
								
								Tables: Moved TableSetupScrollFreeze(), TableUpdateDrawChannels() lower in more adequate spots.  
							
							... 
							
							
 
							
							+ rename IsFreezeRowsPassed to IsUnfrozen. 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								d9ca3939e1 
								
							
								 
							
						 
						
							
							
								
								Tables: Tidy up comments. Replaced some Columns by Tables in demo. Removed ImGuiTableFlags_Scroll (combining ScrollX/ScrollY) because each axis inccur different requirements/constraints.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								51abdd53e3 
								
							
								 
							
						 
						
							
							
								
								Tables: renamed somehow-duplicate ContentWidth members (implicitly == Max - Min), renamed StartX to ContentMinX for consistency.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								1731ae5a09 
								
							
								 
							
						 
						
							
							
								
								Tables: Reworked padding/spacing/width.  
							
							... 
							
							
 
							
							All widths are stored without padding.
Decorelate padding from presence of border.
Added ImGuiTableFlags_Pad/NoPad flags.
Added demo.
Merge StartXHeaders and StartXRows into StartX.
Distinguish CellSpacingX1 and CellSpacingX2 for clarity and to avoid loss of width on non-even spacing values. 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								75c5f534e8 
								
							
								 
							
						 
						
							
							
								
								Tables: Avoid allocating into ColumnsName for empty strings, changed TableGetColumnName() to return "" on missing name, generally more friendly.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								f4800db178 
								
							
								 
							
						 
						
							
							
								
								Tables: Extracted parts of BeginTable() into TableFixFlags() and TableBeginInitMemory().  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								ac5b1648e6 
								
							
								 
							
						 
						
							
							
								
								Tables: Various internal renaming + merge StartXHeaders/StartXRows into StartX.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								77e561aaf3 
								
							
								 
							
						 
						
							
							
								
								Tables: Made demo options consistently compact, replaced constants with font-based sizes, added comments on memory allocations.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								02b27b75a4 
								
							
								 
							
						 
						
							
							
								
								Tables: Added ImGuiTableFlags_NoBordersInBody, ImGuiTableFlags_NoBordersInBodyUntilResize, removed ImGuiTableFlags_BordersFullHeightV.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								172704c079 
								
							
								 
							
						 
						
							
							
								
								Tables: Add demo code. Remove dead code + seemingly duplicate border in TableDrawBorders().  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								2ee20fdb7c 
								
							
								 
							
						 
						
							
							
								
								Tables: Frozen rows/columns in nav menu layer, fixed conflict between column id and holding child id.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								e66b28693a 
								
							
								 
							
						 
						
							
							
								
								Tables: Added ImGuiTableFlags_ContextMenuInBody flag.  
							
							... 
							
							
 
							
							Worked to get TableOpenContextMenu() in public API but kept it internal. 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								6182973bde 
								
							
								 
							
						 
						
							
							
								
								Tables: (Breaking) Rename TableNextCell() to TableNextColumn(), made TableNextRow() NOT enter into first column.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								b1ebf964f5 
								
							
								 
							
						 
						
							
							
								
								Tables: Moved TableSetColumnIndex() next to TableNextCell() since they are so similar + made NextCell() crash proof.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								248960d64c 
								
							
								 
							
						 
						
							
							
								
								Tables: Fix ImGuiTableColumnFlags_WidthAlwaysAutoResize columns when clipped (which would be default behavior without _Resizable and when clipping/scrolling)  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								25b5cc2f95 
								
							
								 
							
						 
						
							
							
								
								Tables: Fixes to support any number of frozen rows (over modifications to clipper code in master) + make clipper run eval after clipect update  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								cc12ea084b 
								
							
								 
							
						 
						
							
							
								
								Tables: Added TableSetColumnSortDirection() + added in default context menu code (disabled, feels unnecessary, but work is done to ensure programmatic access)  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								9b37087fbe 
								
							
								 
							
						 
						
							
							
								
								Tables: (Breaking) Rename TableAutoHeaders() to TableHeadersRow() + added TableGetColumnCount().  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								3021608392 
								
							
								 
							
						 
						
							
							
								
								Tables: (Breaking) Add TableSetupScrollFreeze() api, remove ImGuiTableFlags_ScrollFreezeXXX flags, tweak comments, move columns block.  
							
							... 
							
							
 
							
							Avoid awkwardly named ScrollFreeze flags, raise limit over 3, and will allow for future api maybe freezing bottom/right side. 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								36b2f3b4f1 
								
							
								 
							
						 
						
							
							
								
								Tables: renamed ImGuiTableFlags_NoClipX to ImGuiTableFlags_NoClip, clarified purpose, moved lower in the list as it doesn't need to be so prominent.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								8ec05fc034 
								
							
								 
							
						 
						
							
							
								
								Tables: Fixed holding on table pointers accross resize/invalidation of the pool buffer.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								931829f701 
								
							
								 
							
						 
						
							
							
								
								Tables: (Breaking change) Sorting: Made it users responsability to clear SpecsDirty back to false, so TableGetSortSpecs() doesn't have side-effect any more. + comments  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								f6800e9d3b 
								
							
								 
							
						 
						
							
							
								
								Tables: Extend outer-most clip limits to match those of host when merging draw calls.  
							
							... 
							
							
 
							
							Generally clarify/simplify ClipRect extending/merging code in TableReorderDrawChannelsForMerge().
Amend/fix Sep 23 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								3d573103b6 
								
							
								 
							
						 
						
							
							
								
								Tables: Fixed lower clipping when using ImGuiTableFlags_NoHostExtendY.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								8e97cdf8e8 
								
							
								 
							
						 
						
							
							
								
								Tables: Fix for calling TableSetBgColor(ImGuiTableBgTarget_CellBg) multiple times on the same cell.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								45a80716b1 
								
							
								 
							
						 
						
							
							
								
								Tables: Fixed three bugs + metrics tweaks.  
							
							... 
							
							
 
							
							- Fixed bug when ending a table within another (outer table column offset was overwritten instead of restored).
- Fixed assert when settings data has mismatching column count.
- Fixed restoring g.CurrentTable when calling EndChild() from inside table inner window.
- Made inactive tables grey in metrics.
- Fix warning.
(amended twice) 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								9372601322 
								
							
								 
							
						 
						
							
							
								
								Tables: Fixed stacked popups incorrectly accessing g.CurrentTable of parent-in-stack windows.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								eb18636e02 
								
							
								 
							
						 
						
							
							
								
								Tables: Fix settings not being saved in child window (issue 3367) + fix for change in master.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								9d8b40414a 
								
							
								 
							
						 
						
							
							
								
								Tables: Added TableSetBgColor() api with color for RowBg and CellBg colors.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								b6405a291d 
								
							
								 
							
						 
						
							
							
								
								Tables: Fixed TableHeader() not declaring its height properly. Do NOT declare width.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								0847373b98 
								
							
								 
							
						 
						
							
							
								
								Tables: Comments on Sizing Policies + Rename border V/H flags HInner -> InnerH + offset every flags by two.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								30e21eb280 
								
							
								 
							
						 
						
							
							
								
								Tables: non-resizable columns also submit their requested width for auto-fit,  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								a0e6aa1766 
								
							
								 
							
						 
						
							
							
								
								Tables: Fix calculation of auto-fit (remove padding). Demo setting a width in columns setup + ImGuiTableFlags_NoKeepColumnsVisible.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								c96c84b6dc 
								
							
								 
							
						 
						
							
							
								
								Tables: Store submitted column width and avoid saving default default widths.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								57916b891b 
								
							
								 
							
						 
						
							
							
								
								Tables: Simplified TableHeader() and not relying on Selectable(), fixed various padding issues. Added work-around for CellRect.Min.x offset by CellSpacing.x.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								fcdfde2bc6 
								
							
								 
							
						 
						
							
							
								
								Tables: Extracted border size into a named variable.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								03c8bfaf23 
								
							
								 
							
						 
						
							
							
								
								Tables: Removed extra +1.0f pixels initially allocated to make right-most column visible, fix visible padding asymmetry. Tweaked debug code in demo.  
							
							... 
							
							
 
							
							Seems visible enough without. Whole thing is/was fishy, may return to it but right cleaning up seems viable. 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								353bb68e90 
								
							
								 
							
						 
						
							
							
								
								Tables: Demo custom per-popup popups, demonstrate TableGetHoveredColumn() and ImGuiPopupFlags_NoOpenOverExistingPopup.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								745d8cdb49 
								
							
								 
							
						 
						
							
							
								
								Tables: Made TableHeader() responsible for opening per-column context menu to move responsibility away from TableAutoHeaders().  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								27e779b3ef 
								
							
								 
							
						 
						
							
							
								
								Tables: Removed dubious window->SkipItem assignment in TableAutoHeaders().  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								7ca70dcb81 
								
							
								 
							
						 
						
							
							
								
								Tables: Using same seed ID regardless of when using a child window or not.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								798aed729a 
								
							
								 
							
						 
						
							
							
								
								Tables: Added TableGetHoveredColumn(), extracted some context menu code out, simplifying TableAutoHeaders() toward aim of it being a user-land function.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								4c4882ffe4 
								
							
								 
							
						 
						
							
							
								
								Tables: Fixed channel merge when resizing columns with headers. Disable unnecessary and broken merge when using _NoClipX.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								8530b6af3d 
								
							
								 
							
						 
						
							
							
								
								Tables: Not flagging whole column as SkipItems based on clipping visibility (breaks layout)  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								363eae94e6 
								
							
								 
							
						 
						
							
							
								
								Tables: Further  fix   #3293 ,  #3163  + fixed for row unfreezing border not always showing due to unset clip rect.  
							
							
 
							
						 
						
							ago%!(EXTRA string=5 years)  
				
					
						
							
							
								 
						
							
							
								b741639468 
								
							
								 
							
						 
						
							
							
								
								Tables: Fix rendering of row bg and line separators ( #3293 , broken by  fixes   #3163 , code was accidently relying on SetCurrentChannel not updating rectangle)  
							
							... 
							
							
 
							
							+ Used shortcut in PushTableBackground/PopTableBackground 
							
						 
						
							ago%!(EXTRA string=5 years)