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
757fd2f57b
Merge branch 'master' into docking
2026-04-01 21:01:48 +02:00
ocornut
505bc9a312
Tables: clarify FrozenColumns order to be in order space not in visible space.
...
+ Removed LeftMostUnfrozenOrder + Angled Headers comments.
While not strictly part of #9312 , presenting a suitable reordering menu was made difficult by the old behavior.
2026-04-01 20:08:26 +02:00
ocornut
6603cdef98
Tables: fixed dragging a header to reorder outside of visible bounds (due to horizontal scrolling) from losing active id.
2026-04-01 20:03:30 +02:00
ocornut
2ac782fbed
Revert "Tables: rework TableSetColumnDisplayOrder() to take src_order. ( #9312 )"
...
This reverts commit 7be8076e9b .
Not a good idea as it's easier to reason and persist column index.
+ clear ReorderColumnDstOrder properly in reinit.
2026-04-01 17:57:13 +02:00
ocornut
ed4cffece7
Tables: store LeftMostUnfrozenOrder and amend TableQueueSetColumnDisplayOrder(). ( #9312 )
2026-04-01 16:02:41 +02:00
ocornut
7be8076e9b
Tables: rework TableSetColumnDisplayOrder() to take src_order. ( #9312 )
2026-04-01 16:02:36 +02:00
ocornut
fe5c5298a6
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# imgui.h
2026-03-31 21:48:34 +02:00
ocornut
e9eb04ea95
Internals: TempInputText: added callback/user_data parameters and made end of signature match InputText(). ( #2718 )
2026-03-25 17:46:04 +01:00
ocornut
0b82487fed
TempInputText: amends. Rename ImGuiInputTextFlags_MergedItem to ImGuiInputTextFlags_TempInput for explicitness. ( #2718 )
2026-03-25 14:29:54 +01:00
ocornut
38f5e5a0b8
Tables: rework column reordering code. ( #9312 )
...
- Move more logic into TableQueueSetColumnDisplayOrder() so that it may be called from different locations.
- Use to checking if both columns are on same size of the frozen barrier slightly changed to avoid reordering hidden column (with caveat of ill-defined design for what's "right").
2026-03-23 15:14:58 +01:00
ocornut
50b488765f
ButtonBehavior, Selectable: made low-level ImGuiButtonFlags_PressedOnRelease not explicitely avoid taking current active id. ImGuiButtonFlags_NoHoldingActiveId may be used for that.
...
Ditto for ImGuiSelectableFlags_SelectOnRelease, ImGuiSelectableFlags_NoHoldingActiveId. All internals.
Toward #9312
2026-03-20 20:15:17 +01: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
27cacb0e30
Fixed GetForegroundDrawList()/GetBackgroundDrawList() per-viewport buffers not being collected/ ( #9303 )
2026-03-18 16:48:18 +01:00
ocornut
6464276b62
InputText: cleanup/rework old comments + remove unnecessary indent in callback and main block setting apply_new_text.
...
Amend 00f12b9a0 , 3349296370 etc.
2026-03-16 18:42:28 +01:00
ocornut
16772365e2
Moved ImGuiButtonFlags_AllowOverlap from imgui_internal.h to imgui.h + standardize comments.
2026-03-16 18:42:22 +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
b76ab6232d
Nav: changed Gamepad mapping for "Activate with Text Input" action from FaceUp press to FaceDown long press. ( #8803 , #787 )
2026-03-13 15:07:46 +01:00
ocornut
14a500a476
Nav: allow ImGuiKey_Menu or Shift + F10 to open context menus. Rework with polling in NavUpdate(). ( #8803 , #9270 )
...
This might be a little less flexible but removes burden from the higher-frequency calls.
2026-03-12 18:52:42 +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
xttt
03a9946a14
InputText: reworked so that io.ConfigInputTextEnterKeepActive reactivate in order for e.g. IsItemDeactivatedAfterEdit() to work. ( #9001 , #9115 )
2026-03-11 20:15:48 +01:00
Brenton Bostick
6f8bdb7bf7
Docs: fixed misc typos ( #9267 )
2026-03-09 14:51:06 +01:00
ocornut
ca166c0e5f
Docs: imgui_manual -> imgui_explorer.
...
Amend 650eca3 .
2026-03-09 14:24:03 +01:00
ocornut
41765fbda7
Scrollbar: extend hit-testing bounding box when window is sitting at the edge of a viewport. ( #9276 )
2026-03-06 18:03:27 +01:00
Simon
ba84d2d372
Fixed -Wconversion warnings in GCC. ( #9265 )
2026-02-27 13:48:30 +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
934c6a5f5e
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# imgui.cpp
2026-02-25 19:48:53 +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
0666da6a72
TreeNode: fixed duplicate TreeNodeGetOpen() declaration. ( #3823 , #9251 , #7553 , #6754 , #5423 , #2958 , #2079 , #1947 , #1131 , #722 )
...
Amend f6e0953b3
2026-02-24 13:34:20 +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
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
ocornut
e118ea06e0
Version 1.92.6
2026-02-17 17:45:07 +01:00
ocornut
3d79353e45
Cast this to (void*) in zero-clearing memset calls to fix -Wnontrivial-memcall. Amends for docking ( #9247 , #8295 , #8129 , #8135 )
2026-02-16 16:30:37 +01:00
Laurenz Altenmüller
fbe973a8d0
Cast this to (void*) in zero-clearing memset calls to fix -Wnontrivial-memcall ( #9247 , #8295 , #8129 , #8135 )
...
Clang 20+ warns on memset(this, ...) for non-trivially copyable types via -Wnontrivial-memcall.
Should separately investigate -Wnonontrivial-memaccess vs -Wnonontrivial-memcall.
2026-02-16 16:29:00 +01:00
Naveen Regulla
eaa32bb787
Avoid using SSE intrinsic on ARM64/ARM64EC targets. ( #9209 , #5943 , #4091 )
2026-02-13 17:24:34 +01:00
ocornut
3fb22b836b
Merge branch 'master' into docking
2026-02-12 20:08:03 +01:00
ocornut
87262dd07a
Nav, IO: added undocumented ConfigNavEnableTabbing flag. ( #9218 )
2026-02-10 21:51:54 +01:00
ocornut
943fcc4f10
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# imgui.cpp
2026-02-10 20:52:55 +01:00
ocornut
fd9873a5c2
Tables: internals: extract TableSetColumnDisplayOrder() out of TableBeginApplyRequests() and clarify API limitations.
2026-02-10 18:12:53 +01:00
ocornut
76860017d5
Clipper, Nav: fixed an UBSan warning when using in a ListClipper region . ( #9160 )
2026-02-02 17:24:32 +01:00
ocornut
4b8e41cffb
TabBar: expose NextScrollToTabId to internal API.
2026-02-02 17:08:38 +01:00
ocornut
913a3c6056
TabBar: expose NextScrollToTabId to internal API.
2026-01-30 18:44:12 +01:00
ocornut
d6d5580099
Merge branch 'master' into docking w/ custom fix in Scrollbar()
...
# Conflicts:
# backends/imgui_impl_win32.cpp
# imgui.cpp
2026-01-29 17:52:30 +01:00
ocornut
5166bec5d8
Scrollbar: rounding corners selected based on a generic helper.
...
CalcRoundingFlagsForRectInRect() is backported and used multiple times by docking.
2026-01-29 17:23:28 +01:00