ocornut
ab47efd9a0
Bits / comments
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
376035fd01
Nav: fixed programmatic nav calls (e.g. SetKeyboardFocusHere() from storing io.KeyMods)
Note that the g.NavMoveKeyMods -> g.NavJustMovedToKeyMods chain is not used in this branch. Multi-select uses it.
1 year ago
ocornut
cfc71ab7c5
Made ImDrawCallback_ResetRenderState special value -8 instead of -1 so it is pointer aligned ( #6969 )
note https://github.com/dearimgui/dear_bindings/issues/56 may not be of direct use as-i.
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
c0bc43ccff
Offset values for ImGuiWindowFlags_NoNavInputs, ImGuiWindowFlags_NoNavFocus, ImGuiWindowFlags_UnsavedDocument.
(ABI breaking but we technically never supported ABI backward/forward compat, thought it is possible that some generated backends be affected)
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
88fec09715
ColorPicker4(): Fixed ImGuiColorEditFlags_NoTooltip when ImGuiColorEditFlags_NoSidePreview is also set. ( #6957 )
1 year ago
ocornut
313676d200
Settings: omit outputing Collapsed=0 in .ini file. Changelog + docs tweaks
1 year ago
ocornut
8ee85137d8
BeginChild(): Internal name used by child windows now omits the hash/id if the child window is submitted in root of id stack of parent window.
# Conflicts:
# docs/CHANGELOG.txt
# imgui.h
1 year ago
ocornut
4e4042bc33
Windows: tidying up skipitems logic at end of Begin(), normally should be no meaningful side-effect.
1 year ago
ocornut
bc3c6e74e6
Windows: fixed double-clicked border from showing highlighted at the new position.
Amend c95fbb4
+ misc tidying up, comments of grip/border resizing struct.
1 year ago
ocornut
e2035a514c
Windows: shared code for CalcWindowMinSize().
+ Don't apply WindowMinSize during auto-fit of child windows (not exercised yet).
1 year ago
ocornut
c95fbb4464
Windows: Double-clicking bottom or right window border auto-resize on a singles axis.
1 year ago
ocornut
ade2acfd1d
Inputs: Added IsKeyChordPressed() public helper function.
Amend 99913b5
1 year ago
ocornut
1b9cb52d7b
BeginChild(): rename parameters to reduce diff of upcoming patches.
Should be a no-op.
1 year ago
ocornut
f8dc03d702
Windows: Can also auto-resize by double-clicking lower-left resize grip (not only lower-right one).
1 year ago
ocornut
56f7e853be
Demo: expose more Combo flags + misc tidying up.
1 year ago
ocornut
9a5da23553
Changelog formatting
1 year ago
ocornut
d6d00b4fcf
Moved BeginChild() above BeginChildEx() as it is more readable.
Misc shallow tidying up. Should be a no-op.
1 year ago
ocornut
99913b5051
Internals: added IsKeyChordPressed() for consistency.
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
947255c3da
Tooltips: made it possible to use ImGuiHoveredFlags_ForTooltip + a ImGuiHoveredFlags_DelayXXXX override. ( #1485 )
1 year ago
ocornut
0b8c6b9bce
Internals: removed seemingly unused AutoFitChildAxises.
The clamp was done on BeginChild(). Amend 2545d75c
1 year ago
ocornut
12a3c77c2f
Demo: Minor tweak to angled headers demo.
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
08606714a3
Fixed incorrect assert in FocusTopMostWindowUnderOne() preventing child+popup from being used. ( #6915 , #718 )
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
feddcf3030
Combo: amends for ImGuiComboFlags_WidthFitPreview. ( #6881 )
Amend 112d8fc
1 year ago
mpv-enjoyer
112d8fc41d
Combo: added ImGuiComboFlags_WidthFitPreview. ( #6881 )
1 year ago
ocornut
001f102f38
IO, Backends: added ImGuiKey_AppBack, ImGuiKey_AppForward. ( #6891 , #4921 )
1 year ago
ocornut
7bbd758681
Backends: Win32: revert oops chunk.
Amend b0758c8
1 year ago
ocornut
b0758c86d8
Backends: Added support for extra ImGuiKey values: F13 to F24 function keys. ( #6891 , #4921 )
1 year ago
Andon M. Coleman
73346e4341
IO: Add extra keys to ImGuiKey enumerator: ImGuiKey_F13 to ImGuiKey_F24. ( #6891 , #4921 )
1 year ago
ocornut
0312a29e4c
ImageButton(): clarify purpose of size. ( #6901 , #5533 , #4471 , #2464 , #1390 ).
Amend 4a2ae06ca
1 year ago
ocornut
1107bffe84
Popups: clarified meaning of 'p_open != NULL' in BeginPopupModal() + set back user value to false when popup is closed in ways other than clicking the close button. ( #6900 )
1 year ago
ocornut
2c07d581de
TreeNode: Added ImGuiTreeNodeFlags_SpanAllColumns for use in tables. ( #3151 , #3565 , #2451 , #2438 )
1 year ago
ocornut
085ed7bfbe
Drag and Drop: Rework drop target highlight. ( #4281 , #3272 )
Amend 4ddb6b46
, 4b94738c7
1 year ago
ocornut
0dd756bceb
Moved GetCursorScreenPos/SetCursorScreenPos on top of its section.
+ update gallery thread link + minor typo (#6898 )
1 year ago
ocornut
a63e2f0a33
Drag and Drop: Fixed submitting a tooltip from drop target location. Added demo.
Amend 7bbf8f2
, 92b7d6b
.
1 year ago
Nicolas "Pixel" Noble
64b1aeebf5
Backends: OpenGL3: rename gl3w's loader symbols to allow LTO compilation with another copy of gl3w. ( #6875 , #6668 , #4445 )
1 year ago
ocornut
28b237f94d
Separator(): Altered end-points to use more standard boundaries. ( #205 , #4787 , #1643 , #759 )
1 year ago