ocornut
d098bf9657
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
# imgui.h
# imgui_internal.h
2026-07-03 16:59:31 +02:00
ocornut
5fb77dfde1
Settings: added io.ConfigIniSettingsAutoDiscardMonths, trimming tool in in Metrics->Settings + internal CleanupIniSettings(). ( #9460 )
...
cc #437 #2564
2026-07-03 16:36:46 +02:00
ocornut
f7e8343ee9
Settings, IO: added io.ConfigIniSettingsSaveLastUsedDate, platform_io.Platform_SessionDate, IMGUI_DISABLE_TIME_FUNCTIONS(). ( #9460 )
...
cc #437
2026-07-03 16:36:45 +02:00
ocornut
8fc25800e0
Fonts, Context: assert that ImFontAtlas has no other references when destroying an owned atlas. ( #9426 )
2026-07-02 15:02:59 +02:00
ocornut
6824e2c2e4
Examples: Android: update to AGP 9.2.0 to support Gradle 9.6.0.
2026-07-02 14:26:46 +02:00
ocornut
caddd26fb9
Backends: Metal4: minor tweaks/comments. ( #9458 , #9451 )
2026-07-02 12:09:06 +02:00
ocornut
279d04f7a3
Added GetItemClickedCountWithSingleClickDelay(), io.MouseSingleClickDelay. ( #8337 )
2026-07-01 18:53:29 +02:00
ocornut
c66d9a8190
Examples, SDL2/SDL3: use SDL_GetWindowSizeInPixels() to create framebuffers. ( #8761 , #9124 )
...
+ cc #7433
2026-06-29 11:50:42 +02:00
ocornut
5098ce161d
Merge branch 'master' into docking
2026-06-25 15:48:42 +02:00
ocornut
60fbdbb8d8
Multi-Select: reworked ImGuiMultiSelectFlags_NoAutoSelect as it carried side-effects that were hardcoded/designed to use multi-selection on checkboxes. ( #9391 )
2026-06-25 14:13:13 +02:00
ocornut
ac6f9683b5
Style: added MenuItemRounding, SelectableRounding, ImGuiStyleVar_MenuItemRounding, ImGuiStyleVar_SelectableRounding. ( #7589 , #9375 , #9453 )
2026-06-25 11:43:50 +02:00
ocornut
26432cfdc6
Style, Nav: scale the NavCursor border thickness when using large values with ScallAllSizes().
2026-06-24 17:57:04 +02:00
ocornut
be374fa598
TreeNode: fixed nav cursor rendering with rounding even though tree nodes don't have it. ( #7589 )
2026-06-24 17:32:36 +02:00
ocornut
64a3e726a8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
2026-06-24 16:03:19 +02:00
ocornut
b522576054
Tables: tracking topology changes by default. Match by ID then in sequential order for remaining. ( #9108 , #4046 )
...
Removed ImGuiTableFlags_TrackTopologyChanges.
2026-06-24 16:01:43 +02:00
Clownacy
b2377d616d
Nav, Popups: fixed context menu activation with gamepad erroneously testing for _NavEnableKeyboard instead of _NavEnableGamepad. ( #9454 )
...
cc: #8803 , #9270
2026-06-24 13:49:28 +02:00
Cleroth
9a5c070308
Windows: fixed double-click collapse toggle not owning the mouse button. ( #9439 )
2026-06-17 15:21:36 +02:00
ocornut
73a6610e81
Backends: OpenGL3: Expose selected render state in ImGui_ImplOpenGL3_RenderState, allowing to dynamically select between use of glBindSampler() and glTexParameter(). ( #9378 )
2026-06-17 15:02:51 +02:00
ocornut
2064059a7f
Docs, Backends: OpenGL3, Vulkan: added comments about custom sampler. ( #9378 )
2026-06-17 12:53:36 +02:00
ocornut
036bf939b6
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
2026-06-16 15:26:09 +02:00
ocornut
1ba29f2bec
Fixed window using the ImGuiWindowFlags_AlwaysAutoResize flag would have ItemWidth default change when docked. ( #9355 , #9443 )
...
Amend 95bd1577d ,
2026-06-16 15:07:00 +02:00
ocornut
138c0e6c7d
Added IM_DEBUG_BREAK() handler for GCC+AArch64/ARM64.
2026-06-15 19:32:56 +02:00
ocornut
924f57181b
Tables: Headers: fixed label being clipped early to reserve space for a sort marker even when no sort marker is displayed.
...
Amend 892b48e2d6 : while fixing auto fit this was ditched.
2026-06-12 18:22:52 +02:00
ocornut
e5ff2d07d7
Tables: Context-menu: added "Reset" sub-menu and "Reset Visibility" option.
2026-06-11 19:15:55 +02:00
ocornut
2af6dd9694
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# imgui.cpp
2026-06-04 13:53:55 +02:00
Vladimir Perminov
7950c96f0e
Backends: OpenGL3: GLSL version detection assume GLSL 410 when GL context is 4.1. Fixes an issue running on macOS with Wine. ( #9427 , #6577 )
...
Amend fc737d2333
2026-06-03 15:48:52 +02:00
ocornut
14278db024
Fonts: better document the fact that ImFontAtlas::Clear()/ClearFonts() functions are unlikely to be useful nowadays + fix tex->Updates[] ever-growing if ClearFonts() is called between frames.
2026-06-03 15:27:02 +02:00
ocornut
c4eaac6d48
Fonts: fixed an issue where passing a manually created ImFontAtlas to CreateContext() would incorrectly destroy it in DestroyContext() when ref-count gets back to zero. ( #9426 )
...
# Conflicts:
# docs/CHANGELOG.txt
2026-06-02 19:05:40 +02:00
ocornut
995e4a65ff
(Breaking) TreeNode: commented out legacy name ImGuiTreeNodeFlags_SpanTextWidth which was obsoleted in 1.90.7 (May 2024). Use ImGuiTreeNodeFlags_SpanLabelWidth instead.
2026-06-02 18:37:01 +02:00
omar
a054a016e2
Docs: Fonts: amends.
2026-06-02 18:09:48 +02:00
omar
045a0907f4
Docs: Fonts.md: added notes about TexMinWidth,TexMinHeight.
...
Probably misplaced: the document could have a section about memory usage considerations?
2026-06-02 18:05:23 +02:00
ocornut
00abd2c325
Viewports: fixed an issue where the implicit "Debug" window while hidden would erroneously interfere with merging secondary viewports into the main viewport.
2026-06-01 16:21:44 +02:00
ocornut
3b99fc4883
ColorButton: small rendering tweak/optimization for the alpha checkerboard.
...
Inverting the pattern means that for our typical 3x3 grid we don't need to draw 1+4 rounded rectangles, only 1.
This also fix the slightly rounding mismatch when switching from a=255 to a<255 paths.
2026-06-01 14:23:29 +02:00
Dex
70f02b0558
Docs: Fix small grammar mistake in README. ( #9423 )
2026-05-31 13:54:30 +02:00
ocornut
cac16b0d16
DrawList: rename ImDrawListFlags_NoTextPixelSnap -> ImDrawListFlags_TextNoPixelSnap. ( #3437 , #9417 , #2291 )
...
Amend 1d33ea9
2026-05-29 18:39:17 +02:00
ocornut
1d33ea939f
DrawList: added ImDrawListFlags_NoTextPixelSnap to disable snapping of AddText() coordinates for a given scope. ( #3437 , #9417 , #2291 )
...
This may evolve into a per-call ImDrawFlags option as well.
+ clip_rect.Max.y early out may be applied before truncation.
2026-05-29 18:12:11 +02:00
ocornut
12b7977555
Tweak CalcTextSize() awkward width rounding/ceiling code to reduce floating-point imprecisions altering the result by 1 even at relatively small width. ( #791 ) + apply same fudge factor to less important roundings.
...
ceilf() is still measurable e.g. ballpark +0.5 for 200k calls.
2026-05-28 19:19:11 +02:00
ocornut
4cb21e4a1e
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_win32.cpp
2026-05-28 15:46:34 +02:00
ocornut
33bb693b4c
DrawList: skip PathLineTo/PathStroke calls for common AddLine(), AddLineH(), AddLineV() functions. ( #4091 )
2026-05-28 15:37:29 +02:00
ocornut
783eba926f
Docs: retroactively amend 1.92.8 changelog about ImDrawFlags_Closed value.
...
Amend 6df50a0
2026-05-28 11:37:37 +02:00
qwer
ac07da2b5b
Fonts: Added macros to disable ProggyClean/ProggyVector separately. ( #9407 )
2026-05-27 16:50:53 +02:00
ocornut
243097ca8f
Docs: retroactively amend changelog for AddLineH(), AddLineV().
...
Amend 691b89b . (#9360 )
2026-05-26 20:36:29 +02:00
ocornut
24a80f74a4
InputText, Style: added InputTextCursorSize to configure cursor/caret thickness. ( #7031 , #9409 )
2026-05-22 19:12:36 +02:00
MouriNaruto
3e7b79aa17
Backends: Win32: use SetProcessDpiAwarenessContext instead of SetThreadDpiAwarenessContext when available, to fix the OpenGL3 Win32 example DPI scaling issue. ( #9403 )
2026-05-19 17:53:36 +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
db161b84c9
Windows: clicking on a window's empty-space to move/focus a window checks for lack of queued focus request. ( #9382 )
2026-05-15 13:45:03 +02:00
ocornut
4088a4f40c
Windows: clicking on a window's empty-space to move/focus a window checks for lack of mouse button ownership. ( #9382 )
2026-05-15 13:44:40 +02:00
ocornut
c7767926ce
Version 1.92.9 WIP
2026-05-15 13:28:32 +02:00
ocornut
b2546a5c93
Comments on not needing to use ImDrawFlags_RoundCornersAll.
2026-05-13 12:46:07 +02:00