ocornut
29809d7220
Version 1.90.2 WIP
10 months ago
ocornut
d6cb3c923d
Version 1.90.1
10 months ago
ocornut
fdf8d02be1
Debug Tools: Added io.ConfigDebugIsDebuggerPresent and Debug Break buttons. ( #2673 )
10 months ago
ocornut
3d083dbe1a
Version 1.90.1 WIP
12 months ago
ocornut
b81bd7ed98
Version 1.90.0
w/ Changelog tweaks.
12 months ago
ocornut
5170a9d6dc
Tables: Internals: renamed TableDrawContextMenu() to TableDrawDefaultContextMenu() for clarify.
Followup to fea52e2
1 year ago
ocornut
fea52e29aa
Tables: added flags to TableDrawContextMenu() in order to display selected sections + added internal table->DisableDefaultContextMenu = true way to submit your own contents.
Amend 088ddef
1 year ago
ocornut
ab47efd9a0
Bits / comments
1 year ago
ocornut
a8bdbfddf9
Tables: Fixed top-most and left-most outer border overlapping inner clip-rect when scrolling. ( #6765 )
1 year ago
ocornut
8db02ef8df
Tables: Fixed an issue with ScrollX enabled where an extraneous draw command would be created.
Randomly found while deep-diving into #6765 .
ContentMaxXHeadersUsed has been set to max since the dawn of tables, which contradict the intent of passing zero-width to ItemSize(). The ItemSize code allowed SameLine() to operate, but this mistake setting ContentMaxXHeadersUsed would make right-most visible column in a ScrollX set incorrectly use a draw command due to header claiming whole column width.
1 year ago
ocornut
f96c5443b1
Tables: fixed angled headers with frozen columns.
1 year ago
ocornut
32228d8add
Tables: added Angled headers support. Added ImGuiTableColumnFlags_AngledHeader, ImGui::TableHeadersAngledRow(), style.TableAngledHeadersAngle. ( #2957 )
1 year ago
ocornut
9f851ebfe4
Tables: added ImGuiTableFlags_HighlightHoveredColumn.
1 year ago
ocornut
be1311cfc1
Tables: fixed double-clicking on a column from clearing HoveredColumnBorder for a frame.
1 year ago
ocornut
5053d79a24
Tables: Internal: rework so stacked headers height may be used.
1 year ago
ocornut
b9ebb8e06f
Tables: fixed right-clicking right-most section (past right-most column) from highlighting right-most column.
1 year ago
ocornut
94da5842ef
Renamed ImFloor() to ImTrunc(). Renamed ImFloorSigned() to ImFloor(). ( #6861 )
1 year ago
ocornut
c32db3c72b
Tables: Fixed an edge-case when no columns are visible + table scrollbar is visible + user code is always testing return value of TableSetColumnIndex() to coarse clip.
1 year ago
ocornut
bed492da70
Tables: amend support for auto-resize. ( #6807 )
Amend 3aceb61
. Refer to tests "table_reported_size_outer_clipped" and "table_clip_auto_resize".
1 year ago
ocornut
3aceb61059
Tables: Request user to submit contents when outer host-window is requesting auto-resize. ( #6510 )
1 year ago
ocornut
da21b74313
Tables: Fixed subtle drawing overlap between borders in some situations. ( #2957 , #6765 )
1 year ago
ocornut
5a483c2ffb
Tables: Fixed top-most outer border being drawn with both TableBorderLight and TableBorderStrong in some situations, causing the earlier to be visible underneath when alpha is not 1.0f.
1 year ago
ocornut
a34071876f
Tables: Fixed bottom-most and right-most outer border offset by one. ( #6765 , #3752 )
1 year ago
ocornut
fb9b006865
Version 1.90 WIP
1 year ago
ocornut
fef3389157
Version 1.89.9
1 year ago
ocornut
7b5fb33296
Tables: Internals: renamed CellPaddingY to RowCellPaddingY.
1 year ago
ocornut
bdc4dfebf5
Tables: Amend support for cross-cell SameLine() for first column. Amend 9a93fb5
+ 8f5ce73
.
1 year ago
ocornut
9a93fb5716
Tables: Fixed support for cross-cell SameLine() by preserving Line Y1 position. Amend 8f5ce73
.
1 year ago
ocornut
e8a5c9e1b8
Tables: Made it possible to change style.CellPadding.y between rows. Added demo.
1 year ago
Diego Mateos
d6e9fad60e
Tables: Fix typo in TableGetSortSpecs comment + amend comment. ( #6755 )
1 year ago
ocornut
8f5ce73140
Tables: Made it possible to use SameLine(0,0) after TableNextColumn() or TableSetColumnIndex() in order to reuse line height from previous cell.
1 year ago
András Kucsma
f8c768760b
Typo fix: _NoHostExtenY -> _NoHostExtendY ( #6687 )
1 year ago
ocornut
d6d94d90bf
Version 1.89.9 WIP
+ Minor typo fixes
1 year ago
ocornut
f7eea63872
Version v1.89.8
1 year ago
ocornut
db66e33e9e
Tables: fixed GetContentRegionAvail().y report not taking account of lower cell padding or of using ImGuiTableFlags_NoHostExtendY. ( #6619 )
Made GetContentRegionMax() fully defer to WorkRect when inside a table container.
1 year ago
ocornut
2bc5d17ac3
Tables: fixed calculation of multi-instance shared decoration/scrollbar width of scrolling tables. ( #5920 , #6619 )
Avoid width variation when resizing down a table hosting a child window.
+ shallow tweak to GetContentRegionMax().
1 year ago
ocornut
52125a54a5
Tables: added TableGetHoveredRow() in imgui_internal.h. ( #6250 , #6347 , #6588 , #3740 )
Works with one-frame delay inconsistent with other functions, may be too bug-prone.
2 years ago
ocornut
0e8eb8c48e
Removed _MSC_VER <= 1500 checks for Visual Studio 2008 or earlier.
Our codebase requires VS2012+ since a while.
1 year ago
ocornut
3fe4319314
Version 1.89.8 WIP
1 year ago
ocornut
cb9015e254
Version 1.89.7
1 year ago
ocornut
4dee919bc0
(Breaking) Internals: added ImGuiItemFlags param to ItemHoverable(), so it can be called from ButtonBehavior() not following an ItemAdd().
This also allow moving AllowOverlap logic from ButtonBehavior() to ItemHoverable(), allowing other widgets to honor it. (#6512 , #3909 , #517 )
1 year ago
ocornut
8439a73645
Overlap: Added 'SetNextItemAllowOverlap()' as a replacement for 'SetItemAllowOverlap()'. ( #6512 , #3909 , #517 )
# Conflicts:
# imgui.cpp
# imgui_widgets.cpp
1 year ago
ocornut
51f564eea6
(Breaking) Overlap: Renamed 'ImGuiTreeNodeFlags_AllowItemOverlap' to 'ImGuiTreeNodeFlags_AllowOverlap', 'ImGuiSelectableFlags_AllowItemOverlap' to 'ImGuiSelectableFlags_AllowOverlap'. Kept redirecting enums (will obsolete). ( #6512 , #3909 , #517 )
+ Internals: Renamed 'ImGuiButtonFlags_AllowItemOverlap' to 'ImGuiButtonFlags_AllowOverlap' without redirection.
1 year ago
ocornut
b03a4993b3
Internals: reorder tests in ItemHoverable() so most likely early out are taken first.
1 year ago
ocornut
cada78917c
Tables: removed misleading, seemingy useless use of ImGuiButtonFlags_AllowtemOverlap in TableUpdateBorders(). ( #6512 , #3909 )
This was copied from SplitterBehavior(). The only hypothetical value in SplitterBehavior() would be ability to manually call SetItemAllowOverlap() after the call.
Btw generally AllowOverlap is undesirable for columns as e.g. a spanning selectable would cover entire width and prevent columns from being used.
# Conflicts:
# imgui_tables.cpp
1 year ago
ocornut
b60acfa87d
Tooltips: Added SetItemTooltip(), BeginItemTooltip(). Improved Demo section.
1 year ago
ocornut
61ebb37843
Version 1.89.7 WIP
1 year ago
ocornut
5319d1cffa
Version 1.89.6
1 year ago
ocornut
7947f327de
Demo: added casing swap demo to clarify use of ImGuiInputTextFlags_CallbackCharFilter. ( #6457 ) + Metrics: simplified some code.
1 year ago
ocornut
df8667b18b
Comments/typos tweaks
1 year ago