ocornut
0f50b52da4
Backends: OpenGL3: Update GL3W based imgui_impl_opengl3_loader.h to load "libGL.so" instead of "libGL.so.1". ( #6983 )
1 year 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
0d3b468cb3
BeginChild(): added ImGuiChildFlags_AutoResizeX, ImGuiChildFlags_AutoResizeY, ImGuiChildFlags_AlwaysAutoResize + support for SetNextWindowSizeConstraints(). ( #1666 , #1395 , #1496 , #1710 ) + Demo
Note that child don't report ideal content size to parent so nesting may be difficult.
Note 4e4042b
simplified SkipItems logic.
Note e2035a5
standardizing WindowMinSize application on child
1 year ago
ocornut
44345c2108
Better documented the difference between BeginListBox() and BeginChild() w/ ImGuiChildFlags_FrameStyle.
BeginListBox() can't yet expose child flags because coarse clipping require query of stored size (same issue as with adding resize support to Tables).
1 year ago
ocornut
fa4c49b4a7
BeginChild(): resizing is only clamped on axis where there's no scrollbar. Added an extra ResizeX in Demo->Simple Layout.
1 year ago
ocornut
cdbc21a191
BeginChild(): Added ImGuiChildFlags_FrameStyle as a replacement for BeginChildFrame(). ( #1666 , #1496 , #1395 , #1710 , #462 , #503 , #263 )
Effectively allows us to avoid extending BeginChildFrame() api to mimic BeginChild() new parameters.
1 year ago
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