1669 Commits (972ca8166faade6c1cb0cd0a3cdcd50bb51c9efa)

Author SHA1 Message Date
ocornut 972ca8166f Tables: extracted code for TableGetMaxColumnWidth(), fixing "stuck" resize being lossy as it used an older calculation for it and didn't honor e.g. _NoKeepColumnsVisible ago%!(EXTRA string=4 years)
ocornut 1aa59f90d0 Minor API comments and tweaks, standardize index used in imgui.h. Tables: tweaked TableSetupColumn() assert to use IM_ASSERT_USER_ERROR(). ago%!(EXTRA string=4 years)
ocornut 2e48c2da81 Removed redirecting functions/enums names that were marked obsolete in 1.63 (August 2018) + tables tweaks. ago%!(EXTRA string=4 years)
ocornut 4d8e839ddf Renamed ImDrawList::AddBezierCurve() to ImDrawList::AddBezierCubic(), ImDrawList::PathBezierCurveTo() to ImDrawList::PathBezierCubicCurveTo(). (#3127, #3664, #3665) ago%!(EXTRA string=4 years)
ocornut 550bfcfc59 Amend defce31 Add ImDrawList::AddQuadBezierCurve(), ImDrawList::PathQuadBezierCurveTo() (#3127, #3664, #3665) ago%!(EXTRA string=4 years)
Aiekick defce31c2e Add ImDrawList::AddQuadBezierCurve(), ImDrawList::PathQuadBezierCurveTo() (#3127, #3664, #3665) ago%!(EXTRA string=4 years)
ocornut ae63d56426 Tables: remove ImGuiTableFlags_NoHeadersWidth since it is so rarely used and can be specified on a per-column basis. ago%!(EXTRA string=4 years)
ocornut 532aa5a69b Tables: (breaking) change outer_size.x default value to -FLT_MIN, make outer_size.x == 0.0f act as ImGuiTableFlags_NoHostExtendX (#3605, ad83976b) when no scrolling and no stretch column. Which is more consistent. ago%!(EXTRA string=4 years)
ocornut ad83976b35 Tables: Added ImGuiTableFlags_NoHostExtendX (#3605) marked as WIP, will probably rename. ago%!(EXTRA string=4 years)
ocornut 892b48e2d6 Tables: Lock contents width while resizing down an horizontal scrolling table. Headers declare ideal width regardless of clipping. Misc comments. ago%!(EXTRA string=4 years)
ocornut 738606a294 Tables: added ImGuiTableFlags_SortTristate. Renamed ImGuiTableFlags_MultiSortable to ImGuiTableFlags_SortMulti. Removed now unused FlagsIn storage. ago%!(EXTRA string=4 years)
ocornut 17536f9add Tables: more consistent use of CellPadding.x*2 and clip-rect on right-most side of non-bordered column + fix cellbg for standalone TableHeader call. ago%!(EXTRA string=4 years)
ocornut 6e38026627 Tables: changelog. removed TableGetHoveredColumn() from public API in favor of using TableGetColumnFlags(). renamed ImGuiTableSortSpecsColumn to ImGuiTableColumnSortSpecs. ago%!(EXTRA string=4 years)
ocornut b194df413c Tables: exposed status flags via TableGetColumnFlags(), removed TableGetColumnIsSorted() ago%!(EXTRA string=4 years)
ocornut 984c4cb5f8 Tables: distinguishing per-column IsVisible from IsRequestOutput which is returned to user. Clarified clipping rules/requirements. Comments. ago%!(EXTRA string=4 years)
ocornut f70bf69e3b Tables: comments and tweaks on TableUpdateLayout(). changed "apply final width" loop to use natural column order. ago%!(EXTRA string=4 years)
ocornut 155b8bb816 Tables: Shared menu item id for "Size all" variations. Avoid allocation on single sort specs. Fix TableGetColumnIsEnabled(). Massage TableHeaderRows(). ago%!(EXTRA string=4 years)
ocornut e126a64782 Tables: using a typedef in internal code to specify column/draw channel index storage. ago%!(EXTRA string=4 years)
ocornut 6aa8388e9f Tables: index tweaks, fixed some inconsistent spacings. ago%!(EXTRA string=4 years)
ocornut 5ef7b831c2 Tables: removed ImGuiTableSortSpecs::ColumnsMask because it needlessly exposes our 64-columns limitation which we'd eventually would like to lift ago%!(EXTRA string=4 years)
ocornut e09454aec4 Tables: removed TableGetColumnIsVisible from public api, re-specced as TableGetColumnIsHidden() returning same flag as setter, clipper increase CurrentRow. ago%!(EXTRA string=4 years)
ocornut 0c9ab0acdd Tables: setup and maintain ItemWidth per column. ago%!(EXTRA string=4 years)
ocornut 8f126d5d95 Tables: rename ImGuiTableFlags_SizingPolicyStretchX to ImGuiTableFlags_ColumnsWidthStretch, ImGuiTableFlags_SizingPolicyFixedX to ImGuiTableFlags_ColumnsWidthFixed. ago%!(EXTRA string=4 years)
ocornut 41f89e0f59 Tables: added ImGuiTableFlags_SameWidths, used in demo. Reordered columns flags and exposed them all in Columns Flags section. ago%!(EXTRA string=4 years)
ocornut 3a2f0bfc04 Tables: demo inner_size + scrollx + stretch, added TableGetRowIndex(), renamed _WidthAlwaysAutoResize to _WidthAutoResize. ago%!(EXTRA string=4 years)
ocornut 5465d30d67 Tables: added ImGuiTableFlags_PreciseStretchWidths. ago%!(EXTRA string=4 years)
ocornut 10db896813 Tables: store RawData in a simple void* pointer, rename ContentMinX > WorkMinX, misc tidying up. ago%!(EXTRA string=4 years)
ocornut fe6131168a Tables: Additionally commentary about clipper in the demo + minor padding tweak. ago%!(EXTRA string=4 years)
ocornut 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=4 years)
ocornut 1731ae5a09 Tables: Reworked padding/spacing/width. ago%!(EXTRA string=4 years)
ocornut 75c5f534e8 Tables: Avoid allocating into ColumnsName for empty strings, changed TableGetColumnName() to return "" on missing name, generally more friendly. ago%!(EXTRA string=4 years)
ocornut ac5b1648e6 Tables: Various internal renaming + merge StartXHeaders/StartXRows into StartX. ago%!(EXTRA string=4 years)
ocornut 02b27b75a4 Tables: Added ImGuiTableFlags_NoBordersInBody, ImGuiTableFlags_NoBordersInBodyUntilResize, removed ImGuiTableFlags_BordersFullHeightV. ago%!(EXTRA string=4 years)
ocornut 172704c079 Tables: Add demo code. Remove dead code + seemingly duplicate border in TableDrawBorders(). ago%!(EXTRA string=4 years)
ocornut e66b28693a Tables: Added ImGuiTableFlags_ContextMenuInBody flag. ago%!(EXTRA string=4 years)
ocornut 6182973bde Tables: (Breaking) Rename TableNextCell() to TableNextColumn(), made TableNextRow() NOT enter into first column. ago%!(EXTRA string=4 years)
omar 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=4 years)
ocornut cc12ea084b Tables: Added TableSetColumnSortDirection() + added in default context menu code (disabled, feels unnecessary, but work is done to ensure programmatic access) ago%!(EXTRA string=4 years)
ocornut 9b37087fbe Tables: (Breaking) Rename TableAutoHeaders() to TableHeadersRow() + added TableGetColumnCount(). ago%!(EXTRA string=4 years)
ocornut 3021608392 Tables: (Breaking) Add TableSetupScrollFreeze() api, remove ImGuiTableFlags_ScrollFreezeXXX flags, tweak comments, move columns block. ago%!(EXTRA string=4 years)
ocornut 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=4 years)
omar 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=4 years)
omar 8e97cdf8e8 Tables: Fix for calling TableSetBgColor(ImGuiTableBgTarget_CellBg) multiple times on the same cell. ago%!(EXTRA string=4 years)
omar 9d8b40414a Tables: Added TableSetBgColor() api with color for RowBg and CellBg colors. ago%!(EXTRA string=4 years)
omar 0847373b98 Tables: Comments on Sizing Policies + Rename border V/H flags HInner -> InnerH + offset every flags by two. ago%!(EXTRA string=4 years)
omar a0e6aa1766 Tables: Fix calculation of auto-fit (remove padding). Demo setting a width in columns setup + ImGuiTableFlags_NoKeepColumnsVisible. ago%!(EXTRA string=4 years)
ocornut 798aed729a Tables: Added TableGetHoveredColumn(), extracted some context menu code out, simplifying TableAutoHeaders() toward aim of it being a user-land function. ago%!(EXTRA string=4 years)
omar 8530b6af3d Tables: Not flagging whole column as SkipItems based on clipping visibility (breaks layout) ago%!(EXTRA string=4 years)
omar 363eae94e6 Tables: Further fix #3293, #3163 + fixed for row unfreezing border not always showing due to unset clip rect. ago%!(EXTRA string=4 years)
omar 23c60b2814 Tables: Renamed internal fields: Active->Visible, Visible->VisibleUnclipped to be less misleading. ago%!(EXTRA string=4 years)