ocornut
91ce8ccdbc
Docking: fixed various rendering issues and ability to have rounded floating dock nodes. ( #6993 , #6151 )
2026-01-29 18:08:43 +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
a6598f6fdb
Windows: clarify/simplify background rendering: alpha should always be zero for DockNodeHost windows. ( #2522 )
...
Amend b16f738d04 which AFAIK misleadingly added ImGuiWindowFlags_DockNodeHost tests in there.
2026-01-29 17:48:31 +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
ocornut
6cc7787c77
Windows: shallow tweaks in window bg rendering to simplify diff w/ docking.
2026-01-29 14:14:15 +01:00
Ahmed Samy
960aff24fc
Backends: Win32: use XInput Packet to avoid resubmitting gamepad data. ( #9202 , #8556 )
2026-01-28 15:30:49 +01:00
ocornut
8306e32495
Nav: fixed speed scale for resizing/moving with keyboard/gamepad. ( #323 )
...
Fix 04157da29 .
2026-01-28 15:14:15 +01:00
ocornut
63e9fbc265
Backends: GLFW: fix previous commit, would break multi-monitor. ( #9195 , #7902 , #5683 )
...
Amend be2cfc2
2026-01-28 14:51:21 +01:00
ocornut
814c6a194b
Log/Capture: fixed erroneously injecting extra carriage returns in output.
2026-01-26 12:29:42 +01:00
Tom Seddon
ab6c9d9b12
Ignore -Wsign-conversion warnings when building with gcc. ( #9192 )
...
Co-authored-by: Tom Seddon <tom@trlinux>
2026-01-26 11:51:22 +01:00
ocornut
d12b1a938e
Demo: improved Selectable() demos. ( #9193 )
2026-01-26 11:45:32 +01:00
ocornut
c91bcea7a8
Backends: SDLGPU3: fixed missing release of TexSamplerNearest. ( #9196 )
...
Amend/fix 8b86c939c7
2026-01-25 13:30:28 +01:00
ocornut
c6e54c7ab5
Comments about input queue being close to be supporting multi-thread. ( #5772 )
2026-01-25 13:29:21 +01:00
ocornut
be2cfc26c9
Backends: GLFW: improve workarounds for cases where GLFW is unable to provide reliable monitor info. ( #9195 , #7902 , #5683 )
2026-01-25 13:24:20 +01:00
Tom Seddon
08c777aeaa
Ignore -Wsign-conversion warnings when building with gcc. ( #9192 )
...
Co-authored-by: Tom Seddon <tom@trlinux>
2026-01-24 18:21:23 +01:00
ocornut
2a08c87b8c
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# examples/example_glfw_metal/main.mm
# examples/example_glfw_opengl2/main.cpp
# examples/example_glfw_opengl3/main.cpp
# examples/example_glfw_vulkan/main.cpp
# examples/example_sdl2_directx11/main.cpp
# examples/example_sdl2_opengl2/main.cpp
# examples/example_sdl2_opengl3/main.cpp
# examples/example_sdl2_sdlrenderer2/main.cpp
# examples/example_sdl2_vulkan/main.cpp
# examples/example_sdl3_directx11/main.cpp
# examples/example_sdl3_opengl3/main.cpp
# examples/example_sdl3_sdlgpu3/main.cpp
# examples/example_sdl3_sdlrenderer3/main.cpp
# examples/example_sdl3_vulkan/main.cpp
# examples/example_win32_directx10/main.cpp
# examples/example_win32_directx11/main.cpp
# examples/example_win32_directx12/main.cpp
# examples/example_win32_directx9/main.cpp
# examples/example_win32_opengl3/main.cpp
# examples/example_win32_vulkan/main.cpp
# imgui_internal.h
2026-01-23 16:05:50 +01:00
ocornut
d1cf58e590
Nav: fixed WrapX/LoopX handling in menu layer. ( #9178 )
...
Amend 3050f653cb
2026-01-23 16:00:28 +01:00
RegimantasSimkus
e1217227b2
Tooltips, Disabled: fixed EndDisabledOverrideReenable() assertion when nesting a tooltip in a disabled block. ( #9180 , #7640 )
...
Amend f953ebf9ca
2026-01-23 15:29:27 +01:00
ocornut
7250fbde2e
Fixed warning compiling stb_truetype with MSVC, C++20 with /w15262 ( #9189 )
2026-01-23 14:29:20 +01:00
ocornut
a117055b6b
Internals: move field for locality.
2026-01-22 20:13:35 +01:00
ocornut
b015acc464
Viewports: added GetWindowViewport() in imgui_internal.h to increase consistency with code using this public API in docking branch. ( #9140 )
2026-01-22 17:50:25 +01:00
ocornut
3050f653cb
Menus, Nav: made navigation into menu-bar auto wrap on X axis. ( #9178 )
2026-01-22 17:33:35 +01:00
ocornut
fb06d32844
Demo: rework DockSpace(), DockSpaceOverViewport() demo.
2026-01-22 17:14:31 +01:00
ocornut
66bb8add73
Docs: better document Shortcut() related stuff. ( #9188 ) Better document io.ConfigDpiScaleFonts. ( #9179 )
2026-01-22 14:35:16 +01:00
ocornut
3aba95060e
Fonts: adding new fonts after removing all fonts mid-frame properly updates current state.
2026-01-21 19:53:55 +01:00
ocornut
cb3b7ff4fb
InputText: added mGuiInputTextCallbackData::EventActive helpers. ( #9174 )
2026-01-21 18:46:38 +01:00
ocornut
d448045669
InputText: Added ImGuiInputTextCallbackData::ID field.
2026-01-21 18:34:28 +01:00
ocornut
f21307e5c9
InputText: ImGuiInputTextCallbackData::SelectAll() sets CursorPos. Added SetSelection() helper.
...
Context was for #9174 but not specific to it.
2026-01-21 18:25:38 +01:00
ocornut
42b7704b70
InputText: add ImGuiInputTextState::SetSelection() helper + make TextSrc valid outside scope for non-read only fields. ( #9174 )
2026-01-21 18:19:03 +01:00
Pádraic Slattery
3803203d47
CI: update outdated GitHub Actions versions ( #9186 )
2026-01-21 17:34:30 +01:00
ocornut
8c0b410371
Docs: tweaks.
2026-01-20 18:25:18 +01:00
ocornut
8b86c939c7
Backends: DirectX10, DirectX11, SDLGPU3: added nearest sampler in ImGui_ImplDX10_RenderState/ImGui_ImplDX11_RenderState/ImGui_ImplSDLGPU3_RenderState struct.
...
(#6969 , #5834 , #7468 , #3590 , #9173 , #8926 , #7230 , #5118 , #3590 , #2973 , #6969 )
2026-01-19 13:02:25 +01:00
thedmd
b933599f00
Backends: DirectX12: added helpers to switch to Linear sampler (yet not made public, but intended to be forward declared). ( #9173 )
2026-01-19 12:32:45 +01:00
ocornut
12223cc3e9
Error handling: rework macros, add IM_ASSERT_USER_ERROR_RET(), IM_ASSERT_USER_ERROR_RETV() to simplify code.
2026-01-19 12:16:10 +01:00
ocornut
ea122de913
Error handling: Improve error handling and recovery for TableSetupColumn().
2026-01-19 11:49:11 +01:00
ocornut
14dfd5bf6b
Examples: DX12: update to VS2019 so it supports WIndows SDK 10.0 simplified versioning.
2026-01-19 11:42:08 +01:00
E
5dde06b327
Docs: fixed 'Tearaway' link in credits section ( #9176 )
2026-01-18 23:45:38 +01:00
ocornut
f89ef40cb2
Backends: Win32: fixed an issue from 1.90.5 where newly appearing windows that are not parented to the main viewport don't have task bar icon appear before the windows was explicited refocused. ( #7354 , #8669 )
2026-01-16 18:43:02 +01:00
ocornut
c389a9528f
Viewports: reworked IsViewportAbove() test as an alternate fix for #8948 , #9172 , #9131 , #9128 .
...
Worded in this order we can better benefit from the ParentViewport stack from 6fd4cf8e49 .
2026-01-16 16:29:18 +01:00
ocornut
9eebd37b59
Viewports: update LastFocusedStampCount earlier. Fix ( #8948 , #9172 , #9131 , #9128 ) but probably have other side effects too.
...
Amend f1ae07e532 . Initial value of LastFocusedStampCount was set at the time of platform ShowWindow which is too late for first-frame UpdateTryMergeWindowIntoHostViewport() evaluation.
2026-01-16 16:26:19 +01:00
ocornut
7038e71ae2
Viewports: renamed local to make algorithm easier to follow + comments. Should be no-op. ( #8948 , #9172 , #9131 , #9128 )
2026-01-16 16:05:26 +01:00
ocornut
21d3299e58
Backends: fixed reappearing uses to NULL to favor nullptr.
2026-01-15 16:09:01 +01:00
ocornut
d7598aa84f
Backends: SDL2, SDL3: changed GetClipboardText() handler to return NULL on error aka clipboard contents is not text. ( #9168 )
...
Consistent with other backends.
2026-01-15 16:08:18 +01:00
ocornut
5b5d5b049d
Amends for docking for 9a6eb0a and 7a02f4b. ( #9138 )
2026-01-14 19:46:46 +01:00
ocornut
66e08b6575
Merge branch 'master' into docking (require next commit)
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_vulkan.h
# backends/imgui_impl_win32.cpp
# imgui.cpp
2026-01-14 19:42:11 +01:00
ocornut
9a6eb0ab25
Backends: Vulkan: ImGui_ImplVulkanH_DestroyWindow() oes not call vkDestroySurfaceKHR(): because surface is created by caller. ( #9163 )
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2026-01-14 19:37:05 +01:00
ocornut
a1dfaf4869
ImageButton() doesn't use a clamped style.FrameRounding value but instead adjust inner image rounding when FramePadding > FrameRounding. ( #2942 , #845 )
2026-01-14 15:55:07 +01:00
ocornut
7143d711bf
Images, Style: added style.ImageRounding, ImGuiStyleVar_ImageRounding to configure rounding of Image() widgets. ( #2942 , #845 )
...
Moving border drawing above AddImage() call, should not make a difference for square images.
2026-01-14 15:55:03 +01:00
ocornut
0d08927dae
Error handling: Improve error handling and recovery for EndMenu()/EndCombo(). ( #1651 , #9165 , #8499 )
2026-01-14 14:59:39 +01:00
ocornut
791ad9b82d
InvisibleButton: allow calling with size (0,0) to fit to available content size. ( #9166 , #7623 )
2026-01-13 16:15:48 +01:00