ocornut
4cb21e4a1e
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_win32.cpp
2026-05-28 15:46:34 +02:00
ocornut
e41d691da1
Demo: Tree Nodes: extract 'Tree Nodes->Selectable Nodes' into its own thing.
...
+ comments (#9401 )
2026-05-18 14:31:58 +02:00
ocornut
5a76f2adf1
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2026-05-15 15:14:52 +02:00
ocornut
c7767926ce
Version 1.92.9 WIP
2026-05-15 13:28:32 +02:00
ocornut
b61e56346a
Merge branch 'master' into docking
...
# Conflicts:
# imgui_demo.cpp
2026-05-12 16:43:34 +02:00
ocornut
8936b58fe2
Version 1.92.8
...
Include minor bits: adjust activeid logging, tweak comments.
2026-05-12 16:30:30 +02:00
ocornut
ac1f57ba0c
Fixed BeginMenu() leading to window with is_resizable_width=true. Fix/amend 95bd1577d. ( #9355 )
...
We should instead probably make BeginChild() not set on ImGuiWindowFlags_AlwaysAutoResize on either ResizeX or ResizeY, but that'll be done later.
2026-05-11 16:34:33 +02:00
ocornut
56b37bf93c
Inputs: SetItemKeyOwner(): does not set ownership is key is already taken.
...
(#456 , #2637 , #2620 , #2891 , #3370 , #3724 , #4828 , #5108 , #5242 , #5641 )
2026-05-07 21:22:33 +02:00
ocornut
0eae77f783
Inputs: SetItemKeyOwner(): return true if ownership has been requested, which can to be checked to accurately gate further input test.
...
(#456 , #2637 , #2620 , #2891 , #3370 , #3724 , #4828 , #5108 , #5242 , #5641 )
2026-05-07 21:15:27 +02:00
ocornut
163b8670c8
Demo: added image viewer with magnifier and grid.
2026-05-07 20:20:05 +02:00
ocornut
c51f1a6e47
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
2026-05-07 16:59:11 +02:00
ocornut
6df50a0667
(Breaking) DrawList: swapped the last two arguments of AddRect(), AddPolyline(), PathStroke(). thickness<>flags.
...
Added inline redirection functions when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is off.
Marked the old functions are =delete when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is on, to allow for better type-checking.
The aim is to be able to use/add flags to more ImDrawList functions, and making existing functions consistents was deemed very desirable.
2026-05-07 16:37:57 +02:00
ocornut
310f3c8370
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.h
# backends/imgui_impl_metal.mm
# imgui.cpp
2026-05-06 12:30:38 +02:00
Mikko Mononen
691b89baae
ImDrawList: added AddLineH(), AddLineV() helpers. ( #9360 )
...
This commit is aimed to be a lossless transform. Further layout fixes in subsequent commits.
2026-04-28 17:04:54 +02:00
ocornut
6b61e60e22
Merge branch 'master' into docking
2026-04-20 13:53:01 +02:00
ocornut
ac88294b4a
MultiSelect: Box-Select +Tables: fix usage of box-selection columns with items straying out of columns. ( #7994 , #2221 )
...
Use 00d3f9295e .
+ Assets Browser toggle to enable ScrollX.
2026-04-20 11:12:43 +02:00
ocornut
cdb046ac3f
Demo: Assets Browser: fixed not submitting anything after a SetCursorScreenPos() call when no items. Would not manifest because BeginMultiSelect() altered CursorMaxPos. ( #5548 )
...
cc: 2819ab32f8 , edcd5b113e
2026-04-17 19:23:04 +02:00
ocornut
329c5a6b3b
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.mm
# backends/imgui_impl_sdl2.cpp
2026-04-16 15:29:57 +02:00
ocornut
6fb74f38af
Demo: Assets Browser: make default icon size font dependant.
2026-04-15 14:26:50 +02:00
ocornut
bbcc83e999
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.mm
# imgui.cpp
2026-04-08 21:40:40 +02:00
ocornut
4a61188322
Version 1.92.8 WIP
2026-04-03 16:15:46 +02:00
ocornut
b1bcb12a62
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
2026-04-02 19:25:58 +02:00
ocornut
dac07199cf
Version 1.92.7
2026-04-02 19:22:53 +02:00
ocornut
9e9fdc97bb
InputText: rename Edited->EditedThisFrame, add EditedBefore. ( #701 ) + Comments + About box clipboard blurb include a comment.
2026-04-02 15:48:49 +02:00
ocornut
e05bd9deb9
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_metal.mm
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_sdlgpu3.cpp
# imgui.cpp
# imgui_internal.h
# imgui_widgets.cpp
2026-03-20 16:37:35 +01:00
ocornut
9700846bb3
MultiSelect: added ImGuiMultiSelectFlags_SelectOnClickAlways mode. Prevents Drag and Drop of multiple items but allows BoxSelect to always reselect even when clicking inside a selecttion. ( #9307 , #1861 )
2026-03-19 16:39:50 +01:00
ocornut
20d8bcb600
(Breaking) MultiSelect: renamed ImGuiMultiSelectFlags_SelectOnClick to ImGuiMultiSelectFlags_SelectOnAuto. ( #1861 , #6518 )
2026-03-19 16:04:04 +01:00
ocornut
60d7fb207e
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2026-03-13 17:09:34 +01:00
ocornut
49ee151ed6
Nav: pressing gamepad north button activates context menus.
...
+ update ShowUserGuide().
2026-03-13 15:07:46 +01:00
ocornut
6cc99a6e2b
Nav: allow ImGuiKey_Menu or Shift + F10 to open context menus. Amends. ( #8803 , #9270 )
...
This doesn't attempt to move the shortcut polling in NavUpdate() yet.
2026-03-12 18:30:05 +01:00
ocornut
8f63c3691d
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# imgui.cpp
# imgui_demo.cpp
2026-03-11 21:07:46 +01:00
ocornut
5aa7d61139
InputText: reworked so that io.ConfigInputTextEnterKeepActive reactivate in order for e.g. IsItemDeactivatedAfterEdit() to work. Amends. ( #9001 , #9115 )
...
Rework. Fixes dangling InputTextReactivateId in case of field being hidden on activation.
2026-03-11 20:33:18 +01:00
ocornut
5dd56d4bb5
Demo: add an option to enable ImGuiSliderFlags_ColorMarkers in Multi-Components section + fixed warnings.
2026-03-09 18:01:37 +01:00
ocornut
ca166c0e5f
Docs: imgui_manual -> imgui_explorer.
...
Amend 650eca3 .
2026-03-09 14:24:03 +01:00
ocornut
14e0c70f88
Sliders: removed unnecessary is_logarithmic parameters as they can be inferred. ( #3786 , #1823 , #1316 , #642 )
2026-02-26 21:25:14 +01:00
ocornut
ef022c5e0a
Separator: added and following style.SeparatorSize. ( #2657 , #9263 )
...
Reapply c5d83d8a from 1.70 which was reverted in 9534ef9b2 .
2026-02-26 17:21:57 +01:00
ocornut
650eca386e
Doc: update link to imgui_manual, add a new one near top of the demo + update binaries.
2026-02-25 20:34:35 +01:00
ocornut
934c6a5f5e
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# imgui.cpp
2026-02-25 19:48:53 +01:00
Pascal Thomet
848da73a81
Demo: fixed/tweaked missing IMGUI_DEMO_MARKER for examples applets. ( #9261 , #3689 )
2026-02-25 19:48:03 +01:00
ocornut
8a15a1064d
Add DemoMarker() function to formalize access for other demos than imgui_demo.cpp ( #9261 , #3689 )
2026-02-25 19:25:57 +01:00
ocornut
7dec6b6de8
Demo: TreeNode: add sectiont to increase visibility of tree clipping demo.
2026-02-23 22:53:35 +01:00
ocornut
33dfa7f834
TreeNode, Demo: Property Editor: demonstrate a way to perform tree clipping by fast-forwarding through non-visible chunks. ( #3823 , #9251 , #6990 , #6042 )
2026-02-23 22:38:06 +01:00
ocornut
46f0e2e247
Demo: Property Editor: misc tweaks to reduce noise in upcoming change. Allow node to have more than 65K child.
2026-02-23 22:36:29 +01:00
ocornut
f6e0953b38
TreeNode: moved TreeNodeGetOpen() helper to public API. ( #3823 , #9251 , #7553 , #6754 , #5423 , #2958 , #2079 , #1947 , #1131 , #722 )
...
Amend 0653a0d
2026-02-23 22:36:29 +01:00
ocornut
352a7f101a
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
# imgui_demo.cpp
2026-02-20 18:07:02 +01:00
Pascal Thomet
37b7a7a9df
Demo: move imgui manual IMGUI_DEMO_MARKER inside tree nodes. ( #3689 )
...
So that the manual switches less often when the user does not want it.
Most switches now happen only after opening a tree node.
2026-02-20 18:05:02 +01:00
ocornut
221bac8b06
Style: border sizes are now scaled and rounded by ScaleAllSizes(). Lift 1.0f limit in Style Editor.
2026-02-20 16:16:27 +01:00
ocornut
0653a0d42a
Demo: use ImGui version of TreeNodeGetOpen/TreeNodeSetOpen + comments.
2026-02-18 16:53:23 +01:00
ocornut
b8a1f74fd9
Version 1.92.7 WIP
...
+ minor demo tweaks.
2026-02-18 16:05:51 +01:00
ocornut
2a1b69f057
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.h
# imgui_demo.cpp
# imgui_internal.h
2026-02-17 18:09:30 +01:00