ocornut
0457a09bb9
Fixed obsoleted ImGuiConfigFlags_DpiEnableScaleFonts/_DpiEnableScaleViewports names from setting the equivalent io.ConfigDpiScaleFonts/io.ConfigDpiScaleViewports flag correctly (regression in 1.92).
...
Fix e55415b
.
2025-09-12 11:49:12 +02:00
ocornut
71f45c12e9
Merge branch 'master' into docking
2025-09-11 21:28:02 +02:00
ocornut
1e52e7b90c
InputText: Added a line index. Refactored cursor and selection rendering, now simpler, easier to reason about, and faster. ( #3237 , #952 , #1062 , #7363 )
2025-09-11 21:26:01 +02:00
ocornut
67085d732a
ImGuiTextIndex: rename member.
2025-09-11 21:25:56 +02:00
ocornut
8eb22ea620
Demo: ShowStyleSelector(), ShowFontSelector(): remove ImGuiSelectableFlags_NoAutoClosePopups for now.
...
In this situation we kinda want keyboard Enter to select and close but ideally not click. We don't have separate options yet.
2025-09-10 22:42:12 +02:00
ocornut
3dcd17f402
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
2025-09-10 19:02:44 +02:00
ocornut
2f1d1c8b2f
Focus, InputText: fixed an issue where SetKeyboardFocusHere() did not work on InputTextMultiline() with ImGuiInputTextFlags_AllowTabInput. ( #8928 )
2025-09-10 18:31:34 +02:00
ocornut
045645e5f1
Demo: tweaked ShowFontSelector() and ShowStyleSelector() to update selection while navigating and to not close popup automatically.
2025-09-09 17:50:40 +02:00
ocornut
8e4955bb23
Selectable: moved ImGuiSelectableFlags_SelectOnNav to public API.
2025-09-09 17:42:14 +02:00
ocornut
ab760992ad
Merge branch 'master' into docking
2025-09-08 13:35:24 +02:00
fdsa
09ebcf1779
Docs: fixed mismatched parentheses & other small changes. ( #8922 )
2025-09-08 11:30:14 +02:00
ocornut
fdcd351488
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2025-09-04 18:06:35 +02:00
ocornut
3766d40394
Nav: fixed Ctrl+Tab window appearing as empty when the sole active and focused window has the ImGuiWindowFlags_NoNavFocus flag. ( #8914 )
2025-09-03 17:50:10 +02:00
ocornut
740c566305
Merge branch 'master' into docking
2025-09-02 16:10:59 +02:00
ocornut
6351f00ff1
Clipper, Tables: removed row_increase >= 0
assert. ( #8886 )
...
Seeing cases in my own tests that are not obvious so it seems like too much of a burden for the user to assert/crash, as the row count is not always useful anyhow.
2025-08-27 20:31:05 +02:00
ocornut
4d216d4510
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
2025-08-27 18:57:56 +02:00
ocornut
aa2f40c3bb
Clipper, Tables: added ImGuiListClipperFlags, ImGuiListClipperFlags_NoSetTableRowCounters. ( #8886 )
...
a0cdac48e0
revealed the issue but technically the core issue is that clipper assume 1 item = 1 table row.
2025-08-27 18:54:57 +02:00
ocornut
87c1ab7988
Windows: changed how g.CurrentItemFlags is modified before windows' CloseButton() submission to be less misleading. ( #8903 )
...
I don't think anyone would have `ImGuiItemFlags_NoFocus` set globally but technically it might.
2025-08-26 18:48:08 +02:00
ocornut
319c481abb
AddFontDefault(): shallow simplification.
2025-08-26 17:57:51 +02:00
ocornut
229d56e37a
Debug Tools: ID Stack Tool: when ### is used, uncontributing prefix before the ### is now skipped. ( #8904 , #4631 )
2025-08-26 16:30:13 +02:00
ocornut
7d230594de
Fixed ImHashSkipUncontributingPrefix() not looping in case of multiple ### elements.
2025-08-26 16:29:14 +02:00
ocornut
75a4a48d1f
Internals: extracted ImHashSkipUncontributingPrefix() out of CreateNewWindowSettings() and added note about it.
2025-08-26 16:23:06 +02:00
ocornut
9e864012ae
Debug Tools: ID Stack Tool: added option to hex-encode non-ASCII characters in output path. ( #8904 , #4631 )
2025-08-26 15:58:59 +02:00
ocornut
783f1e62cc
Debug Tools: ID Stack Tool: fixed using fixed-size buffers preventing long identifiers from being displayed in the tool. ( #8905 , #4631 )
2025-08-26 15:36:56 +02:00
ocornut
a28cb615ff
Viewports, Docking: Fixed a bug where closing a viewport using OS facilities would erroneously close all windows located in the viewport. ( #8887 )
2025-08-20 19:09:45 +02:00
ocornut
4ebfe1cba5
Merge branch 'master' into docking
2025-08-20 18:28:39 +02:00
ocornut
42656b3aa1
Scrollbar, Style: added style.ScrollbarPadding, ImGuiStyleVar_ScrollbarPadding. ( #8895 )
2025-08-20 18:27:35 +02:00
ocornut
720e94f3da
Rework FormatTextureIDForDebugDisplay() ImDrawCmd version as FormatTextureRefForDebugDisplay().
2025-08-19 15:32:38 +02:00
ocornut
86ec5c8342
Version 1.92.3 WIP
2025-08-19 15:15:49 +02:00
ocornut
1f7f1f54af
Revert IsItemHovered() change for TabId. ( #8877 , #8883 )
...
Amend 774ddb5
for docking. Revert 5a6fa33
.
2025-08-13 17:32:36 +02:00
ocornut
160e3683ab
Merge branch 'master' into docking
2025-08-13 17:31:15 +02:00
ocornut
45acd5e0e8
Version 1.92.2b
2025-08-13 17:31:01 +02:00
ocornut
774ddb58bd
Fixed IsItemHovered() failing on disabled items and items that have no identifier. Made holding on disabled items not leak IsItemDisabled() between disabled items when window has _NoMove. ( #8877 , #8883 )
...
See amends to "widgets_status_common", "widgets_disabled_2" tests.
2025-08-13 17:08:04 +02:00
ocornut
af920e1e6f
Version 1.92.3 WIP
2025-08-12 11:30:41 +02:00
ocornut
031a18c417
Merge branch 'master' into docking
2025-08-11 16:47:16 +02:00
ocornut
2b24f5fa71
Version 1.92.2
2025-08-11 16:47:06 +02:00
ocornut
104f58fc48
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-08-11 15:44:21 +02:00
ocornut
5a6fa33b88
Fixed an inconsistency between IsItemHovered() and internal hovering check, where IsItemHovered() would return true if mouse was first clicked on the background of a non-moveable window. ( #8877 )
2025-08-11 15:41:38 +02:00
ocornut
8239a0e0c4
Nav, Tables: fix NavIsScrollPushableX logic clamping value stored in NavApplyItemToResult(), which would break scrolling. ( #8816 , #2221 )
...
Amend 47c4148
.
2025-08-11 15:17:02 +02:00
ocornut
1c57dc21c2
Misc: fixes zealous MSVC static analyzer warnings + make GetInputSourceName(), GetMouseSourceName() a little more tolerant. ( #8876 )
2025-08-11 11:04:13 +02:00
ocornut
47c41483bd
Tables, Nav: fixed navigation within scrolling tables when item boundaries goes beyond columns limits. ( #8816 , #2221 )
...
Amend 00d3f9295e
.
2025-08-11 10:49:20 +02:00
ocornut
b431114194
Viewports: added io.ConfigViewportPlatformFocusSetsImGuiFocus. ( #6299 , #6462 )
...
Amend dcb6335bf
, 63370be0e
, dcb6335
etc.
2025-08-08 17:37:17 +02:00
ocornut
cbf9e3f554
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# imgui.cpp
2025-08-08 15:51:56 +02:00
ocornut
9ee3d731b5
Backends: SDL_GPU3: changed ImTextureID type from SDL_GPUTextureSamplerBinding* to SDL_GPUTexture*. Added ImGui_ImplSDLGPU3_RenderState. ( #8866 , #8163 , #7998 , #7988 )
2025-08-08 15:51:16 +02:00
ocornut
c22af8c346
Fonts: fixes comment (amend d8da97f7
).
2025-08-07 16:19:07 +02:00
ocornut
1bf41a0762
Fonts, Tables: fixed PushFont() having no effect when called after submitting a hidden column. ( #8865 )
...
Amend 0e769c5
2025-08-07 16:16:12 +02:00
Christian Fillion
f7eae45ae9
Fonts: show ImFontConfig::FontNo in DebugNodeFont(). ( #8863 )
...
Thanks!
2025-08-06 10:42:34 +09:00
ocornut
7d5fef8642
Nav: fixed a bug where GamepadMenu couldn't toggle between main and menu layer while navigating a Modal window. ( #8834 )
...
Amend 901d432cb
but for Gamepad.
2025-08-04 15:06:14 +09:00
ocornut
eda70b4e1a
Tabs: docking nodes use ImGuiTabBarFlags_FittingPolicyMixed. (explicit default, solely for discoverability). ( #3421 , #8800 )
2025-07-31 23:45:58 +09:00
ocornut
23c9362550
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
2025-07-31 23:44:44 +09:00