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
561af15d67
Internal: Added owner aware variant of IsMouseDoubleClicked() for consistency.
Amend 4448d97
. Note that functions entry points will eventually be merged into one, so this is not a problem.
1 year ago
ocornut
1ab63d925f
Undid some of the changes done by c95fbb4
because they are not compatible with docking code.
(Will cherry-pick this from docking to master)
# Conflicts:
# imgui.cpp
1 year ago
ocornut
f1d1a8d32b
Windows: use relative mouse movement for border resize when the border geometry has moved. ( #1710 )
(e.g. resizing a child window triggering parent scroll) to avoid resizing feedback loop.
1 year ago
ocornut
9235352400
BeginChild: Added ImGuiChildFlags_ResizeX and ImGuiChildFlags_ResizeY. ( #1710 )
1 year ago
ocornut
34a0bc456e
BeginChild: Added ImGuiChildFlags_AlwaysUseWindowPadding, obsoleted ImGuiWindowFlags_AlwaysUseWindowPadding. ( #462 , (toward #1666 , #1496 , #1395 , #1710 )
(bonus: will also eventually free a window flag)
1 year ago
ocornut
7713c29258
BeginChild: Upgraded 'bool border = true' parameter to use a ImGuiChildFlags type and the ImGuiChildFlags_Border value. (toward #1666 , #1496 , #1395 , #1710 )
1 year ago
ocornut
c95fbb4464
Windows: Double-clicking bottom or right window border auto-resize on a singles axis.
1 year ago
ocornut
1b9cb52d7b
BeginChild(): rename parameters to reduce diff of upcoming patches.
Should be a no-op.
1 year ago
ocornut
56f7e853be
Demo: expose more Combo flags + misc tidying up.
1 year ago
ocornut
99913b5051
Internals: added IsKeyChordPressed() for consistency.
1 year ago
ocornut
0b8c6b9bce
Internals: removed seemingly unused AutoFitChildAxises.
The clamp was done on BeginChild(). Amend 2545d75c
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
5053d79a24
Tables: Internal: rework so stacked headers height may be used.
1 year ago
ocornut
0312a29e4c
ImageButton(): clarify purpose of size. ( #6901 , #5533 , #4471 , #2464 , #1390 ).
Amend 4a2ae06ca
1 year ago
ocornut
a63e2f0a33
Drag and Drop: Fixed submitting a tooltip from drop target location. Added demo.
Amend 7bbf8f2
, 92b7d6b
.
1 year ago
ocornut
330d763477
Separator: clarified setting the ImGuiSeparatorFlags_SpanAllColumns flag. ( #759 )
Technically a no-op.
1 year ago
ocornut
a61438740d
Debug Tools: Metrics: Added "Show groups rectangles" in tools.
1 year ago
ocornut
03e2a7f584
Debug Tools: Rename ShowIdStackToolWindow() -> ShowIDStackToolWindow(). ( #4631 )
Some tool undid or didn't queue a chunk? Amend c21278e
.
1 year ago
ocornut
c21278eeae
Debug Tools: Rename ShowIdStackToolWindow() -> ShowIDStackToolWindow(). ( #4631 )
Amend 8175a47
1 year ago
ocornut
2f431a948c
IO: removed io.MetricsActiveAllocations introduced in 1.63. Same as 'g.DebugMemAllocCount - g.DebugMemFreeCount' (still displayed in Metrics.
1 year ago
ocornut
f1519efb16
BeginGroup(): fix/amend 9ece0bd
.
1 year ago
ocornut
9ece0bdc02
BeginGroup(): Fixed a bug pushing line lower extent too far down when called after a call to SameLine() followed by manual cursor manipulation.
1 year ago
ocornut
8175a47881
Debug Tools: Renamed ShowStackToolWindow() ("Stack Tool") to ShowIdStackToolWindow() ("ID Stack Tool"). ( #4631 )
1 year ago
ocornut
204ae8a407
Internals: added ImRect::ContainsWithPad()
1 year ago
ocornut
94da5842ef
Renamed ImFloor() to ImTrunc(). Renamed ImFloorSigned() to ImFloor(). ( #6861 )
1 year ago
ocornut
6c022f9bf1
IO, Inputs: rename SetMousePos() to TeleportMousePos(). ( #6837 , #228 )
1 year ago
ocornut
ff36fe365e
IO, Inputs: setting io.WantSetMousePos ignores incoming MousePos events. ( #6837 , #228 )
Allow easily implementing wrapping behaviors.
1 year ago
ocornut
ef8ff1b5d8
TabBar, Style: added style.TabBarBorderSize and associated ImGuiStyleVar_TabBarBorderSize. ( #6820 , #4859 , #5022 , #5239 )
Cherry-picked from docking's 64b1e44
1 year ago
ocornut
6addf28c4b
Fonts: Ensure calling AddFontXXX function doesn't invalidates ImFont's ConfigData pointers prior to building again. ( #6825 )
1 year ago
ocornut
8a2cd81091
TypingSelect: always enable nav highlight.
Otherwise in non multi-select contexts as nav dosn't automatically select result would not always be visible.
1 year ago
ocornut
779568bb38
TypingSelect: tidy up some more + split ino functions to make reuse simpler.
1 year ago
ocornut
661a70fc79
TypingSelect: fast switch between characters in + debug, internal renames.
# Conflicts:
# imgui.cpp
# imgui_internal.h
1 year ago
ocornut
c86ce70968
Internal: Nav,MultiSelect: import ImGuiSelectionUserData, SetNextItemSelectionUserData() from MultiSelect. Track NavLastValidSelectionUserData as a convenience.
1 year ago
ocornut
f336e639e9
TypingSelect: rework GetTypingSelectRequest(), provide TypingSelectFindResult().
Amend 9714594
1 year ago
ocornut
6eb2681c09
Internals: InitOrLoadWindowSettings() clear Size again for better data nuking in tests. Debug Log: added ImGuiDebugLogFlags_OutputToTestEngine flag.
1 year ago
ocornut
0962c9fb72
TypingSelect: Added first version of GetTypingSelectRequest() API.
# Conflicts:
# imgui_internal.h
# imgui_widgets.cpp
1 year ago
ocornut
727c462069
Internals: Added ImTextFindPreviousUtf8Codepoint() helper + comments.
1 year ago
ocornut
fa2e5710ac
MenuBar: Fixed an issue where layouting an item in the menu-bar would erroneously egister contents size. ( #6789 )
In dire need of removing BeginGroup()/EndGroup() from menu-bar code, fo r sanity.
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
e8a5c9e1b8
Tables: Made it possible to change style.CellPadding.y between rows. Added demo.
1 year ago
ocornut
f93d0befaf
Slider: fixed support for ImGuiItemFlags_ReadOnly/ImGuiSliderFlags_ReadOnly although it is technically unused/undocumented. ( #6758 )
Amend fdc526e8f
1 year ago
ocornut
33ea1e8b78
ColorEdit, ColorPicker: Manipulating options popup don't mark item as edited. ( #6722 )
1 year ago
ocornut
ba1fa904a9
IO: Exposed io.PlatformLocaleDecimalPoint to configure decimal point ('.' or ','). ( #6719 , #2278 )
Amend 13f718337
1 year ago
ocornut
1362fc0c56
Debug, Internals: Added DebugDrawCursorPos(), DebugDrawLineExtents() helpers.
1 year ago
ocornut
bc3c0ce772
Nav, TreeNode: Pressing Left with ImGuiTreeNodeFlags_NavLeftJumpsBackHere now goes through proper navigation logic: honor scrolling and selection. ( #1079 , #1131 )
Added a stack for this purpose which other features might build on (e.g. #2920 ). However this is currently gated by many tests and not a performance concern, but making stack happen all the time may be undesirable.
1 year ago