ocornut
3fb22b836b
Merge branch 'master' into docking
2026-02-12 20:08:03 +01:00
ocornut
041cdddf35
Fonts: add new ProggyForever font!
...
Amend f006400
2026-02-12 20:06:33 +01:00
ocornut
a8bf659143
Fonts: AddFontDefaultBitmap() doesn't need to explicitely set OversampleH/OversampleV to 1 as this is automatic.
2026-02-12 19:35:41 +01:00
ocornut
9c33672e5c
Examples: reword a comment to not mention AddFontDefault() explicitly.
2026-02-12 18:37:31 +01:00
ocornut
42f28ba305
Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent. (re)
...
Reapply 1bcc23e + offset for our current internal font using it.
2026-02-11 20:26:14 +01:00
ocornut
291787bcac
Fonts: comment about swapping EllipsisChar value. ( #9228 )
2026-02-11 19:09:51 +01:00
ocornut
d67c66c437
Changed RenderTextEllipsis() logic to not trim trailing blanks before the ellipsis. ( #9229 )
2026-02-11 13:24:38 +01:00
ocornut
7b365fa6b4
Nav: fixed another occurence of nav cursor briefly appearing when Tabbing with ImGuiConfigFlags_NavEnableKeyboard disabled. ( #9214 , #9218 )
...
Amend 1566c96cc + ea83628 .
2026-02-10 22:04:15 +01:00
ocornut
87262dd07a
Nav, IO: added undocumented ConfigNavEnableTabbing flag. ( #9218 )
2026-02-10 21:51:54 +01:00
Ryan Jensen
8ed10d538e
Docs: update comment on ImGuiConfigFlags_NavEnableKeyboard. ( #9218 )
...
Reworked comment of original PR + trim trailing blanks.
2026-02-10 21:12:35 +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
9f30044333
Backends: GLFW: try to set IMGUI_IMPL_GLFW_DISABLE_X11 / IMGUI_IMPL_GLFW_DISABLE_WAYLAND automatically if headers are not available. ( #9225 )
...
Amend/fix 10d0162378 for system without X11/Wayland headers. (#8921 , #8920 , #8969 )
2026-02-10 20:50:46 +01:00
ocornut
fd9873a5c2
Tables: internals: extract TableSetColumnDisplayOrder() out of TableBeginApplyRequests() and clarify API limitations.
2026-02-10 18:12:53 +01:00
ocornut
c71b2a1fe6
Revert "Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent."
...
This reverts commit 1bcc23ef12 .
2026-02-10 17:56:37 +01:00
tanksdude
5fe48b6a0e
Docs: fixed some typos ( #9217 )
2026-02-10 16:40:52 +01:00
ocornut
1bcc23ef12
Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent.
...
Amend 55ad3b4
With extreme values of ExtraSizeScale offset would be noticeable in Descent - TextLink() function - or Ascent - TableAngledHeadersRow() function.
2026-02-05 16:52:04 +01:00
ocornut
524f01d248
Metrics: browsing font baked data persist tree state when e.g. using LoadAll.
2026-02-05 16:29:26 +01:00
ocornut
226f62fa8f
Demo: amend Shortcuts demo to clarify that ImGuiInputFlags_RouteOverActive may be used with focused route. ( #9004 )
2026-02-05 15:27:01 +01:00
ocornut
ea83628438
Nav: fixed navigation cursor briefly appearing when using API to focus an InputText() in a window with _NoNavInputs flag. ( #9214 )
...
Amend 1566c96cc
2026-02-03 17:33:45 +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
a9ca61a7ce
Fonts: fixed an issue where using PushFont() from the implicit/fallback "Debug" window when its recorded state is collapsed would incorrectly early out. ( #9210 , #8865 )
...
Amend 0e769c5 , ca31693 , d8da97f , 1bf41a0 .
2026-02-02 16:00:33 +01:00
ocornut
913a3c6056
TabBar: expose NextScrollToTabId to internal API.
2026-01-30 18:44:12 +01:00
ocornut
921842e8a1
Docking: make dock node tab bar ID match parent ID of its tab items.
2026-01-30 18:44:12 +01:00
ocornut
7a49ad6f5a
Docking: use DockContextDeleteNode() instead of raw IM_DELETE(), so we can better rework ownership of dock node tab bars.
2026-01-30 17:59:01 +01:00
ocornut
f58378711f
Docking: fixed various rendering issues and ability to have rounded floating dock nodes. Amend 91ce8cc. ( #6993 , #6151 )
2026-01-29 19:14:48 +01:00
ocornut
10ebda0b5e
Docking, Viwport: Fixed a regression in 1.92.4 where partially moving a floating docking node with split over the main viewport would set the window in an invalid state.
...
This was revealed by better merging in dfe308b (#8948 ) but isn't technically caused by it.
Added a agressive assert in UpdateTryMergeWindowIntoHostViewport() For good measure.
2026-01-29 18:55:30 +01:00
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