082f1d10d0Tables: renamed TableBeginUpdateColumns to TableBeginApplyRequests, moved code to TableUpdateLayout, in order to ensure that enable state is not inconsistent due to TableSetupColumn column hiding requests.
ocornut
2020-12-01 14:56:06 +0100
79c9eaa78eTables: Internals: renamed Visible to Enabled to avoid confusion with visibility checks.
ocornut
2020-11-23 23:19:08 +0100
5ef7b831c2Tables: removed ImGuiTableSortSpecs::ColumnsMask because it needlessly exposes our 64-columns limitation which we'd eventually would like to lift
ocornut
2020-11-23 17:02:00 +0100
e09454aec4Tables: removed TableGetColumnIsVisible from public api, re-specced as TableGetColumnIsHidden() returning same flag as setter, clipper increase CurrentRow.
ocornut
2020-11-23 12:39:05 +0100
0c9ab0acddTables: setup and maintain ItemWidth per column.
ocornut
2020-11-20 16:58:48 +0100
8f126d5d95Tables: rename ImGuiTableFlags_SizingPolicyStretchX to ImGuiTableFlags_ColumnsWidthStretch, ImGuiTableFlags_SizingPolicyFixedX to ImGuiTableFlags_ColumnsWidthFixed.
ocornut
2020-11-18 20:55:01 +0100
41f89e0f59Tables: added ImGuiTableFlags_SameWidths, used in demo. Reordered columns flags and exposed them all in Columns Flags section.
ocornut
2020-11-18 17:28:18 +0100
3b3503e60fTables: decent support for auto-resize of stretch columns (trickier than it sounds)
ocornut
2020-11-16 20:25:35 +0100
c5dcf2fde1Tables: rework keep-visible/max-width code to be less incorrect, but right-most column may effectively has few pixels less of visible cliprect width.
ocornut
2020-11-16 12:30:17 +0100
197e9c085bTables: separate bg0 and bg1 draw channels, selectable above bg color + will facilitate drawing of borders in EndTable().
ocornut
2020-11-12 15:55:26 +0100
52f24df668Tables: comments, tweaks, added internal TableSetColumnVisible(), merged the two TableSetColumnWidth().
ocornut
2020-11-11 18:54:39 +0100
bf197c74f6Tables: storing WorkMaxX, made offset_x == MinX to be clearer, clip rect merge uses ClipRect.max.x directly, removed unused ShrinkWidth code, metrics.
ocornut
2020-11-06 14:44:44 +0100
10db896813Tables: store RawData in a simple void* pointer, rename ContentMinX > WorkMinX, misc tidying up.
ocornut
2020-11-05 17:30:30 +0100
82cf41d804Tables: tooltip on clipped TableHeader() (amended)
ocornut
2020-11-04 22:37:15 +0100
507db499e4Tables: work on background draw channel handling (amend "create a separate background draw channel") + Selectable disable spacing when spanning.
ocornut
2020-11-04 22:17:58 +0100
fe6131168aTables: Additionally commentary about clipper in the demo + minor padding tweak.
ocornut
2020-11-03 18:47:05 +0100
94d99f9d0bTables: Fixed crash when increaasing columns count with bound settings.
ocornut
2020-11-03 18:08:26 +0100
24a7c45b02Tables: Fix for 64 columns (maximum of 131 temporary draw channels).
ocornut
2020-11-03 15:10:22 +0100
e5a5256971Tables: Garbage collection to relieve draw splitter buffers + for test engine: compact settings, remove table.
ocornut
2020-11-03 11:25:36 +0100
f80097ca96Tables: Fix applying WorkRect in non-scrolling tables. Fix inverted BackgroundClipRect being passed to ImDrawCmd.
ocornut
2020-10-30 21:35:23 +0100
557253e776Tables: create a separate background draw channel for rows below the frozen line.
ocornut
2020-10-30 20:30:53 +0100
fae362fd0bTables: fixed auto-fitting columns not marking settings as dirty + fixed CellBg fill not narrow clipping on ScrollX + freeze.
ocornut
2020-10-30 19:38:59 +0100
9918b2f147Tables: Shuffled ordering of draw channels merge group so vertically unfrozen ones come, allowing us to split background channels in two.
ocornut
2020-10-28 18:04:59 +0100
d3222086f0Tables: Moved TableSetupScrollFreeze(), TableUpdateDrawChannels() lower in more adequate spots.
ocornut
2020-10-27 15:06:05 +0100
d9ca3939e1Tables: Tidy up comments. Replaced some Columns by Tables in demo. Removed ImGuiTableFlags_Scroll (combining ScrollX/ScrollY) because each axis inccur different requirements/constraints.
ocornut
2020-10-26 18:28:49 +0100
51abdd53e3Tables: renamed somehow-duplicate ContentWidth members (implicitly == Max - Min), renamed StartX to ContentMinX for consistency.
ocornut
2020-10-26 13:55:53 +0100
75c5f534e8Tables: Avoid allocating into ColumnsName for empty strings, changed TableGetColumnName() to return "" on missing name, generally more friendly.
ocornut
2020-10-26 11:49:56 +0100
f4800db178Tables: Extracted parts of BeginTable() into TableFixFlags() and TableBeginInitMemory().
ocornut
2020-10-21 14:07:26 +0200
ac5b1648e6Tables: Various internal renaming + merge StartXHeaders/StartXRows into StartX.
ocornut
2020-10-20 19:36:06 +0200
77e561aaf3Tables: Made demo options consistently compact, replaced constants with font-based sizes, added comments on memory allocations.
ocornut
2020-10-07 16:33:33 +0200
6182973bdeTables: (Breaking) Rename TableNextCell() to TableNextColumn(), made TableNextRow() NOT enter into first column.
ocornut
2020-10-01 14:03:25 +0200
b1ebf964f5Tables: Moved TableSetColumnIndex() next to TableNextCell() since they are so similar + made NextCell() crash proof.
ocornut
2020-09-30 23:42:37 +0200
248960d64cTables: Fix ImGuiTableColumnFlags_WidthAlwaysAutoResize columns when clipped (which would be default behavior without _Resizable and when clipping/scrolling)
ocornut
2020-09-30 22:37:59 +0200
25b5cc2f95Tables: Fixes to support any number of frozen rows (over modifications to clipper code in master) + make clipper run eval after clipect update
omar
2020-09-28 17:30:39 +0200
cc12ea084bTables: Added TableSetColumnSortDirection() + added in default context menu code (disabled, feels unnecessary, but work is done to ensure programmatic access)
ocornut
2020-09-24 15:10:47 +0200
36b2f3b4f1Tables: renamed ImGuiTableFlags_NoClipX to ImGuiTableFlags_NoClip, clarified purpose, moved lower in the list as it doesn't need to be so prominent.
ocornut
2020-09-23 16:42:44 +0200
8ec05fc034Tables: Fixed holding on table pointers accross resize/invalidation of the pool buffer.
omar
2020-09-23 14:22:41 +0200
931829f701Tables: (Breaking change) Sorting: Made it users responsability to clear SpecsDirty back to false, so TableGetSortSpecs() doesn't have side-effect any more. + comments
omar
2020-09-23 12:53:10 +0200
f6800e9d3bTables: Extend outer-most clip limits to match those of host when merging draw calls.
ocornut
2020-09-18 20:44:50 +0200
3d573103b6Tables: Fixed lower clipping when using ImGuiTableFlags_NoHostExtendY.
ocornut
2020-09-18 20:42:05 +0200
8e97cdf8e8Tables: Fix for calling TableSetBgColor(ImGuiTableBgTarget_CellBg) multiple times on the same cell.
omar
2020-08-24 15:34:43 +0200
eb18636e02Tables: Fix settings not being saved in child window (issue 3367) + fix for change in master.
omar
2020-08-05 19:26:54 +0200
9d8b40414aTables: Added TableSetBgColor() api with color for RowBg and CellBg colors.
omar
2020-07-28 15:53:14 +0200
b6405a291dTables: Fixed TableHeader() not declaring its height properly. Do NOT declare width.
omar
2020-07-28 15:27:22 +0200
0847373b98Tables: Comments on Sizing Policies + Rename border V/H flags HInner -> InnerH + offset every flags by two.
omar
2020-07-27 21:45:38 +0200
30e21eb280Tables: non-resizable columns also submit their requested width for auto-fit,
omar
2020-07-21 14:36:31 +0200
a0e6aa1766Tables: Fix calculation of auto-fit (remove padding). Demo setting a width in columns setup + ImGuiTableFlags_NoKeepColumnsVisible.
omar
2020-07-17 23:23:04 +0200
c96c84b6dcTables: Store submitted column width and avoid saving default default widths.
omar
2020-07-17 22:39:28 +0200
57916b891bTables: Simplified TableHeader() and not relying on Selectable(), fixed various padding issues. Added work-around for CellRect.Min.x offset by CellSpacing.x.
omar
2020-07-02 21:41:29 +0200
fcdfde2bc6Tables: Extracted border size into a named variable.
omar
2020-07-02 18:59:02 +0200
03c8bfaf23Tables: Removed extra +1.0f pixels initially allocated to make right-most column visible, fix visible padding asymmetry. Tweaked debug code in demo.
omar
2020-07-02 13:59:30 +0200
745d8cdb49Tables: Made TableHeader() responsible for opening per-column context menu to move responsibility away from TableAutoHeaders().
omar
2020-06-19 17:28:06 +0200
7ca70dcb81Tables: Using same seed ID regardless of when using a child window or not.
ocornut
2020-06-17 15:27:17 +0200
798aed729aTables: Added TableGetHoveredColumn(), extracted some context menu code out, simplifying TableAutoHeaders() toward aim of it being a user-land function.
ocornut
2020-06-16 21:15:49 +0200
4c4882ffe4Tables: Fixed channel merge when resizing columns with headers. Disable unnecessary and broken merge when using _NoClipX.
ocornut
2020-06-15 15:24:59 +0200
8530b6af3dTables: Not flagging whole column as SkipItems based on clipping visibility (breaks layout)
omar
2020-06-13 18:02:02 +0200
363eae94e6Tables: Further fix#3293, #3163 + fixed for row unfreezing border not always showing due to unset clip rect.
omar
2020-06-13 17:27:51 +0200
b741639468Tables: Fix rendering of row bg and line separators (#3293, broken by fixes#3163, code was accidently relying on SetCurrentChannel not updating rectangle)
omar
2020-06-10 11:15:44 +0200
58411f27cbTables: Avoid TableGetSortSpecs() having a side-effect on sort specs sanitization.
ocornut
2020-06-03 19:42:43 +0200
dc915c86caTables: Fixed a manual resize path not marking settings as dirty, TableSortSpecsSanitize() doesn't need to test table->IsInitializing
ocornut
2020-06-02 16:33:06 +0200
8690d1f9ceTables: Fix sort specs sometimes incorrectly reporting sort spec count when table loses _MultiSortable flag during runtime.
Rokas Kupstys
2020-06-01 12:25:08 +0300
af992d1321Tables: Tweak settings functions to more prominently clarify the two levels of function.
ocornut
2020-06-02 16:03:50 +0200
7513842284Tables: Fix assert/crash when a visible column is clipped in a multi clip group situation.
omar
2020-05-29 19:31:47 +0200
fec9d7d226Tables: Rescale fixed widths when font size change to support varying dpi scale at runtime and on .ini reload.
omar
2020-05-24 20:07:21 +0200
6bc0bbccf3Tables: Restore width/weight saving/loading code. Non-weighted width currently not font/DPI change friendly.
omar
2020-05-22 18:00:23 +0200
af52a0cea2Tables: Resizing weighted column preserve sum of weights. Fix ResizedColumn init leading to undesirable TableSetColumnWidth() on first run. Rework TableSettingsHandler_ReadLine() structure to allow other types of line.
omar
2020-05-22 16:48:13 +0200
95c273618eTables: Allow hot-reload of settings (merge policy), tidying up settings code
omar
2020-05-13 20:24:37 +0200
9b6d0fdb7aTables: Fixed ignoring DefaultHide or DefaultSort data from flags when loading settings that don't have them.
omar
2020-05-13 13:30:41 +0200
9f43aae226Tables: Calculating ideal total width, some renaming, comments. Clarify that inner_width is unused with ScrollX=0. Clip many comments to 120 columns.
omar
2020-05-12 17:23:10 +0200
b7ff85d9adTables: Browse settings list in Metrics (outside of Table entry).
omar
2020-05-07 23:52:17 +0200
a956629b40Tables: Using same allocation for our Columns and DisplayOrder array. Mostly designed to facilitate adding new arrays.
omar
2020-03-18 18:17:22 +0100