6b32d0ebc7Fixed minor title bar text clipping issue when FramePadding is small/zero and there are no close button in the window. (#3731)
ocornut
2021-01-26 16:07:41 +0100
5178c3ce21Tables: added ImGuiTableFlags_NoHostExtendX instead of using outer_size.x == 0.0f. Changed default outer_size to (0.0f, 0.0f). (#3605)
ocornut
2021-01-21 16:20:31 +0100
3b409d2b68BeginChild: half-fixed child window name longer than 255 conflicting, merely raised the limit by using our shared large buffer. Comments.
ocornut
2021-01-20 20:53:22 +0100
74b3b7cf58Added experimental io.ConfigDragClickToInputText feature to enable turning DragXXX widgets into text input with a simple mouse click-release (without moving). (#3737)
ocornut
2021-01-20 19:16:45 +0100
dc0f3d982cDragFloat, DragInt: very slightly increased mouse drag threshold + expressing it as a factor of default value + disabled experimental click-to-input on DragXXX functions. (#3737)
ocornut
2021-01-20 17:38:55 +0100
ae0d2dd614Tables: rework submission of content size and ideal content size to outer window (now using IdealMaxPos introduced in 6af92b0).
ocornut
2021-01-19 23:08:12 +0100
f379dc28a3ImBitArray: Rename ClearBits() to ClearAllBits() and add SetAllBits(). ImBitArraySetBitRange work on range [n..n2) instead of [n..n2]
thedmd
2021-01-19 20:23:06 +0100
3fef132f62Tables: Clear scroll value when reactivating scroll. Assert when passing width/weight to TableSetupColumn() without an explicit sizing policy at either table or column label.
ocornut
2021-01-19 21:53:35 +0100
ebbb98d519Docking: docked window honor tab and text colors by storing them. (#2771)
ocornut
2021-01-18 16:10:58 +0100
0ea4408fd4Tab Bar: Requested ideal content size (for auto-fit) doesn't affect horizontal scrolling. Followup to afa01d8. (#3414)
ocornut
2021-01-14 15:56:23 +0100
6af92b05bfInternals: Layout: maintain two content sizes, optionally writing to IdealMaxPos to distinguish used from ideal size, later is used for auto-fit. Unused in this commit, should be no-op. (#3414)
ocornut
2021-01-14 15:48:28 +0100
3e712631daTables: more moving of code in EndTable(), should have no side-effect.
ocornut
2021-01-15 14:03:15 +0100
626e3e2b3bTables: fix reported inner-width for scrolling tables off by a small padding amount + moved code.
ocornut
2021-01-15 12:11:34 +0100
3edfc042ffTables: Internals: Renaming, tweaks preparing ahead for trickier changes (should be all no-op).
ocornut
2021-01-15 10:36:20 +0100
9e281c12a8Tables: Fixed very small tables edge cases: inverted clip rect with freezing + scroll, missing borders.
ocornut
2021-01-14 17:41:00 +0100
b0db741770Demo tweaks. Moved Tabs to Widgets section. Added to Tables demo. Increased version following 00b35c08.
ocornut
2021-01-14 11:21:13 +0100
00b35c081eTables: (breaking) removed ImGuiTableColumnFlags_WidthAuto which now can be expressed as _Fixed + _NoResize. WidthRequest gets updated when RequestOutputMaskByIndex is set rather than Visible.
ocornut
2021-01-13 18:04:27 +0100
8cea3e3ed3Tables: fixed border straying out of rect when using ImGuiTableFlags_NoBordersInBody with small height.
ocornut
2021-01-13 11:45:58 +0100
31a2f0c164Tables: fixed outer_width misreported to layout for use with SameLine when ScrollY is set but not ScrollX (#3704, #3414)
ocornut
2021-01-11 11:25:30 +0100
414f82254bTables: (Breaking) rename ImGuiTableFlags_SizingPolicyFixed > ImGuiTableFlags_SizingFixedFit, ImGuiTableFlags_SizingPolicyStretch > ImGuiTableFlags_SizingStretchSame in prevision for new policies.
ocornut
2021-01-08 18:07:16 +0100
8b5f3798e0Tables: Moved demo chunks. Made right-most non-resizable same-width column hidden to alleviate the issue where they are off by 1 pixel.
ocornut
2021-01-06 17:39:41 +0100
b11518d7d7Merge branch 'master' into docking
ocornut
2021-01-05 16:46:38 +0100
94a432275bImDrawList: Internals: Add ability to scale anti-alias fringe. This enable users to keep geometry sharp while scaling vertex buffer content.
thedmd
2018-05-26 13:10:04 +0200
9bcf77eb81Fixed using IsItemEdited() after Combo() not matching the return value from Combo(). (#2034) + fix some PVS warnings, fix typo, blanks.
ocornut
2021-01-04 19:12:35 +0100
0a5f399805Tables: Fix hiding column right after the frozen line. Fix hovering/resising column delimiter scrolled under frozen columns. (#3678)
ocornut
2021-01-03 15:10:35 +0100
1c1d3b7ab5Added 64-bit variants of CheckboxFlags() in imgui_internal.h. Improve assert on mismatched ListBoxFooter() call. Fix FAQ index. (#3687)
ocornut
2021-01-03 11:31:30 +0100
8ec5daf35dHappy new year!
ocornut
2021-01-03 14:59:32 +0100
fa963b9aafInputs: Internal: added SetItemUsingMouseWheel() and mechanism to request mouse wheel for both HoveredId and ActiveId. (#2891)
ocornut
2020-12-25 17:52:01 +0100
eb88fee052Tables: internal tidying up, calculate WidthAuto in first loop of layout + TableSetupColumn() with unspecified stretch weight leaves it at -1.0f (unset) rather than overrding default. Amend 3b3503e.
ocornut
2020-12-25 16:10:12 +0100
68faa16e1dTables: report auto-fit width in EndTable(), extracted TableGetColumnWidthAuto(). fix minor flickering with IsPreserveWidthAuto (which is a debug feature still), moved some code.
ocornut
2020-12-25 14:35:57 +0100
3573195112Tables: (breaking) rename ImGuiTableFlags_ColumnsWidthStretch > ImGuiTableFlags_SizingPolicyStretch, ImGuiTableFlags_ColumnsWidthFixed > ImGuiTableFlags_SizingPolicyFixed in prevision for other policies.
ocornut
2020-12-24 18:32:27 +0100
b015ea93fdStyle tweaks, disabled default window rounding by default, reduced size of resize grip, made less prominent, increased WindowBg alpha in classic style.
ocornut
2020-12-24 11:42:28 +0100
3fbb928c9fTables: explicit/custom width in TableSetupColumn() is reapplied when table or column becomes not resizable. Comments.
ocornut
2020-12-23 12:11:39 +0100
956435768fTables: (breaking) renamed ImGuiTableColumnFlags_WidthAutoResize to _WidthAuto., default to WidthFixed policy when host window has auto-resize.
ocornut
2020-12-22 22:32:30 +0100
7b53551032Merge branch 'master' into docking
ocornut
2020-12-22 17:17:49 +0100
d497f112e7Tables: simplified and tidying up TableSetColumnWidth(), fixes resizing a fixed column surrounded by stretch column (manually or via auto-fit menu). TableHeader() showing highlighted when held.
ocornut
2020-12-22 16:55:40 +0100
972ca8166fTables: extracted code for TableGetMaxColumnWidth(), fixing "stuck" resize being lossy as it used an older calculation for it and didn't honor e.g. _NoKeepColumnsVisible
ocornut
2020-12-22 16:40:52 +0100
1aa59f90d0Minor API comments and tweaks, standardize index used in imgui.h. Tables: tweaked TableSetupColumn() assert to use IM_ASSERT_USER_ERROR().
ocornut
2020-12-22 14:57:43 +0100
2e48c2da81Removed redirecting functions/enums names that were marked obsolete in 1.63 (August 2018) + tables tweaks.
ocornut
2020-12-21 19:09:11 +0100
4d8e839ddfRenamed ImDrawList::AddBezierCurve() to ImDrawList::AddBezierCubic(), ImDrawList::PathBezierCurveTo() to ImDrawList::PathBezierCubicCurveTo(). (#3127, #3664, #3665)
ocornut
2020-12-21 17:11:33 +0100
a640698123Clipper: Fixed incorrect end-list positioning when using ImGuiListClipper with 1 item (bug in 1.79). (#3663)
nyorain
2020-12-21 15:52:02 +0100
ae63d56426Tables: remove ImGuiTableFlags_NoHeadersWidth since it is so rarely used and can be specified on a per-column basis.
ocornut
2020-12-18 19:03:10 +0100
532aa5a69bTables: (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.
ocornut
2020-12-18 17:27:41 +0100
22ace4438cTables: clarify assumption that rendering of bg/borders in bg0/bg1 are cpu-clipped allowing frozen/unfrozen to share drawcmd + remove offset on outer borders of scrolling tables.
ocornut
2020-12-18 14:14:15 +0100
30468829c2Tables: Internal: Maintain InnerRect to further clarify some code. Renamed Bg1 fields to Bg2 (used by Selectable) as the other handles Bg0+Bg1.
ocornut
2020-12-18 12:18:34 +0100
ad83976b35Tables: Added ImGuiTableFlags_NoHostExtendX (#3605) marked as WIP, will probably rename.
ocornut
2020-12-17 22:29:11 +0100
c4dbab8f5eTables: reset all width apply to hidden stretch columns. Comments.
ocornut
2020-12-16 16:06:07 +0100
1fb26d18c4Tables: fixed seemingly unnecessarily copy of ImGuiTableColumnFlags_NoDirectResize_ which broken resizing from W3| in a F1 W3 F2 setup. Header only allow overlap on hover, not when active (amend f2df804f)
ocornut
2020-12-16 15:27:17 +0100
892b48e2d6Tables: Lock contents width while resizing down an horizontal scrolling table. Headers declare ideal width regardless of clipping. Misc comments.
ocornut
2020-12-14 19:24:48 +0100
bd899efbd0Tables: fixed "resize to default" of multiple stretch column (added 3b3503e, broken 7a61f340).
ocornut
2020-12-14 11:59:01 +0100
f2df804fccTables: four small fixes.
ocornut
2020-12-13 19:19:23 +0100
06e87014f2Merge branch 'master' into docking
ocornut
2020-12-11 23:10:06 +0100
738606a294Tables: added ImGuiTableFlags_SortTristate. Renamed ImGuiTableFlags_MultiSortable to ImGuiTableFlags_SortMulti. Removed now unused FlagsIn storage.
ocornut
2020-12-11 21:33:37 +0100
cad8935bfdTables: revert setting colum cliprect.max.x to WorkMax.x instead of Max.x at it complicates header code. Fix clipped sort arrow. (amend 17536f9a)
ocornut
2020-12-11 18:20:07 +0100
bff1836922Internals: added facility to hide windows from render without interfering with the HiddenFramesCanSkipItems/HiddenFramesCannotSkipItems fields which have effects on layout. Compact some fields.
ocornut
2020-12-11 14:29:42 +0100
1ad5502f18Tables: Closer to zero-clear constructor. Lazily clearing name offsets to avoid an iteration in BeginTable(). Removed unused TableSetColumnIsEnabled(), signature went faulty anyway.
ocornut
2020-12-10 18:53:57 +0100
76964a27ceTables: moved TableNextRow(), TableBeginRow(), TableEndRow(), TableNextColumn(), TableBeginCell(), TableEndCell() to their own section.
ocornut
2020-12-10 18:39:37 +0100
e6b875c09bTables: Ditch old columns flags/setting if not called again. Displaying right-most border when using _SameWidths. Moving Width-related functions to their own section.
ocornut
2020-12-10 16:09:11 +0100
3346544cf5Examples: Fix batch files (amend b1a18d82, #3513), standardize them + DirectX12: Move ImGui::Render() call above the first barrier to clarify its lack of effect on the graphics pipe.
ocornut
2020-12-09 18:12:38 +0100
17536f9addTables: more consistent use of CellPadding.x*2 and clip-rect on right-most side of non-bordered column + fix cellbg for standalone TableHeader call.
ocornut
2020-12-08 16:26:18 +0100
dd4ca70b0dMerge branch 'master' into docking
ocornut
2020-12-04 19:22:15 +0100
0b14dd9e55Tables: fixed propagation of line height from outside the table. Added outer-width demo.
ocornut
2020-12-04 19:02:35 +0100
6e38026627Tables: changelog. removed TableGetHoveredColumn() from public API in favor of using TableGetColumnFlags(). renamed ImGuiTableSortSpecsColumn to ImGuiTableColumnSortSpecs.
ocornut
2020-12-04 17:54:40 +0100
7a61f3407bTables: support internal TableResetSettings(), clarify lifetime, fixed missing auto-fit on column unhidden after first run, fixed resize assert when changing column sizing policy to stretch mid-frame (before of -1.0f weight)
ocornut
2020-12-04 15:52:51 +0100
b194df413cTables: exposed status flags via TableGetColumnFlags(), removed TableGetColumnIsSorted()
ocornut
2020-12-03 18:45:15 +0100
984c4cb5f8Tables: distinguishing per-column IsVisible from IsRequestOutput which is returned to user. Clarified clipping rules/requirements. Comments.
ocornut
2020-12-03 16:29:08 +0100
f70bf69e3bTables: comments and tweaks on TableUpdateLayout(). changed "apply final width" loop to use natural column order.
ocornut
2020-12-03 09:40:47 +0100
155b8bb816Tables: Shared menu item id for "Size all" variations. Avoid allocation on single sort specs. Fix TableGetColumnIsEnabled(). Massage TableHeaderRows().
ocornut
2020-12-02 13:58:55 +0100
e126a64782Tables: using a typedef in internal code to specify column/draw channel index storage.
ocornut
2020-12-01 19:19:01 +0100
6aa8388e9fTables: index tweaks, fixed some inconsistent spacings.
ocornut
2020-12-01 17:51:17 +0100
5877b9d722Tables: moved TablePushBackgroundChannel(), TablePopBackgroundChannel(), TableDrawBorders() to their own section.
ocornut
2020-12-01 17:34:24 +0100
5180025de5Tables: moved + renamed TableSetupDrawChannels(), TableMergeDrawChannels() to their own section.
ocornut
2020-12-01 17:31:59 +0100
b7c83e4bacTables: moved TableGetSortSpecs(), TableGetColumnIsSorted(), TableFixColumnSortDirection(), TableSetColumnSortDirection() to their own section.
ocornut
2020-12-01 17:16:59 +0100