c66d9a8190Examples, SDL2/SDL3: use SDL_GetWindowSizeInPixels() to create framebuffers. (#8761, #9124)
ocornut
2026-06-29 11:49:06 +02:00
76f5be2749Settings: minor struct packing.
ocornut
2026-06-25 22:10:52 +02:00
5098ce161dMerge branch 'master' into docking
ocornut
2026-06-25 15:48:42 +02:00
60fbdbb8d8Multi-Select: reworked ImGuiMultiSelectFlags_NoAutoSelect as it carried side-effects that were hardcoded/designed to use multi-selection on checkboxes. (#9391)
ocornut
2026-06-25 14:03:35 +02:00
1c1241136aTables: fixed (harmless) flag clearing issue in TableReconcileColumns(). (#9108)
ocornut
2026-06-25 11:22:09 +02:00
0e355af09eRenderNavCursor: take rounding as input. Removed ImGuiNavRenderCursorFlags_NoRounding.
ocornut
2026-06-24 18:33:43 +02:00
26432cfdc6Style, Nav: scale the NavCursor border thickness when using large values with ScallAllSizes().
ocornut
2026-06-24 17:56:54 +02:00
be374fa598TreeNode: fixed nav cursor rendering with rounding even though tree nodes don't have it. (#7589)
ocornut
2026-06-24 17:32:36 +02:00
64a3e726a8Merge branch 'master' into docking
ocornut
2026-06-24 16:03:19 +02:00
e74453760bTables: rewrote TableLoadSettingsForColumns() to match TableReconcileColumn() logic more precisely. (#9108)
ocornut
2026-06-24 15:25:32 +02:00
ec69495ca8Tables: fixed some cases of reconcile/load handling when using duplicate identifiers. (#9108)
ocornut
2026-06-23 16:51:38 +02:00
b522576054Tables: tracking topology changes by default. Match by ID then in sequential order for remaining. (#9108, #4046)
ocornut
2026-06-19 19:28:25 +02:00
570c0e03b7Tables: extract part of TableLoadSettingsForColumns() into TableLoadSettingsForColumn(). (#9108)
ocornut
2026-06-18 23:13:09 +02:00
b9cf21733dTables: avoid forcing a settings load on count change. (#9108)
ocornut
2026-06-18 18:06:10 +02:00
7930405c73Tables: rework _TrackTopologyChanges to function without enforcing saving order/visibility. (#9108)
ocornut
2026-06-18 18:04:24 +02:00
2f94e7dc13Tables: add support for ImGuiTableFlags_TrackTopologyChanges (#9108, #4046)
ocornut
2026-06-08 17:40:05 +02:00
b2377d616dNav, Popups: fixed context menu activation with gamepad erroneously testing for _NavEnableKeyboard instead of _NavEnableGamepad. (#9454)
Clownacy
2026-06-23 21:02:35 +01:00
d15966ff6cTables: fixed TableGcCompactSettings() not invalidating bound offset. A crash could in theory be triggered if clicking "Gc All" after saved tables have reduced column count.
ocornut
2026-06-18 19:19:38 +02:00
9a5c070308Windows: fixed double-click collapse toggle not owning the mouse button. (#9439)
Cleroth
2026-06-13 05:35:13 +08:00
73a6610e81Backends: OpenGL3: Expose selected render state in ImGui_ImplOpenGL3_RenderState, allowing to dynamically select between use of glBindSampler() and glTexParameter(). (#9378)
ocornut
2026-06-17 15:00:20 +02:00
036bf939b6Merge branch 'master' into docking
ocornut
2026-06-16 15:26:09 +02:00
1ba29f2becFixed window using the ImGuiWindowFlags_AlwaysAutoResize flag would have ItemWidth default change when docked. (#9355, #9443)
ocornut
2026-06-16 15:04:22 +02:00
138c0e6c7dAdded IM_DEBUG_BREAK() handler for GCC+AArch64/ARM64.
ocornut
2026-06-15 19:32:56 +02:00
b46a37eac9Tables: comments about misleading TableSetupColumn() user_id parameter, renamed to user_data.
ocornut
2026-06-15 18:40:42 +02:00
e6147a3993Tables: allow calling TableQueueSetColumnDisplayOrder() between TableSetupColumn() and TableUpdateLayout() by removing an early out.
ocornut
2026-06-15 18:17:23 +02:00
721da6a34cTables: apply queued requests in TableUpdateLayout()
ocornut
2026-06-15 18:14:28 +02:00
360183924bCI: use Visual Studio 2026. (correct path)
ocornut
2026-06-15 17:06:14 +02:00
2aaa6d8173CI: use Visual Studio 2026.
ocornut
2026-06-15 16:52:52 +02:00
924f57181bTables: Headers: fixed label being clipped early to reserve space for a sort marker even when no sort marker is displayed.
ocornut
2026-06-12 18:22:45 +02:00
7950c96f0eBackends: OpenGL3: GLSL version detection assume GLSL 410 when GL context is 4.1. Fixes an issue running on macOS with Wine. (#9427, #6577)
Vladimir Perminov
2026-06-03 04:08:21 +03:00
14278db024Fonts: 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.
ocornut
2026-06-03 15:27:02 +02:00
c4eaac6d48Fonts: 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)
ocornut
2026-06-02 19:04:14 +02:00
5a42cddcd2Fixed a build issue when defined IMGUI_API + IMGUI_DISABLE_OBSOLETE_FUNCTIONS. (#9424)
ocornut
2026-06-02 18:40:14 +02:00
995e4a65ff(Breaking) TreeNode: commented out legacy name ImGuiTreeNodeFlags_SpanTextWidth which was obsoleted in 1.90.7 (May 2024). Use ImGuiTreeNodeFlags_SpanLabelWidth instead.
ocornut
2026-06-02 18:37:01 +02:00
Docs: Fonts.md: added notes about TexMinWidth,TexMinHeight.
omar
2026-06-02 18:05:23 +02:00
5aa0393a15DrawList: don't mark ImDrawListFlags_TextNoPixelSnap as internal in comments. (#3437, #9417, #2291)
ocornut
2026-06-01 17:23:11 +02:00
f241419b78Tabs: use AddRectFilled().
ocornut
2026-06-01 16:48:48 +02:00
00abd2c325Viewports: fixed an issue where the implicit "Debug" window while hidden would erroneously interfere with merging secondary viewports into the main viewport.
ocornut
2026-06-01 16:21:30 +02:00
1d33ea939fDrawList: added ImDrawListFlags_NoTextPixelSnap to disable snapping of AddText() coordinates for a given scope. (#3437, #9417, #2291)
ocornut
2026-05-29 18:10:29 +02:00
12b7977555Tweak 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.
ocornut
2026-05-28 19:19:11 +02:00
4cb21e4a1eMerge branch 'master' into docking
ocornut
2026-05-28 15:46:34 +02:00
33bb693b4cDrawList: skip PathLineTo/PathStroke calls for common AddLine(), AddLineH(), AddLineV() functions. (#4091)
ocornut
2026-05-28 15:37:29 +02:00
904b663184Clarify support for "%s" shortcuts in functions taking format strings. (#9404, #3466, #6846)
ocornut
2026-05-19 18:50:39 +02:00
3e7b79aa17Backends: Win32: use SetProcessDpiAwarenessContext instead of SetThreadDpiAwarenessContext when available, to fix the OpenGL3 Win32 example DPI scaling issue. (#9403)
MouriNaruto
2026-05-19 23:21:36 +08:00
e41d691da1Demo: Tree Nodes: extract 'Tree Nodes->Selectable Nodes' into its own thing.
ocornut
2026-05-18 14:13:49 +02:00
93e396ffb7Textures: call ImTextureDataUpdateNewFrame() for textures registered via RegisterUserTexture(). (#8789, #8465)
ocornut
2026-05-15 16:38:05 +02:00
068e055510Textures: extract ImTextureDataUpdateNewFrame() out of ImFontAtlasUpdateNewFrame(). (#8465)
ocornut
2026-05-15 16:34:53 +02:00
5a76f2adf1Merge branch 'master' into docking
ocornut
2026-05-15 15:14:52 +02:00
db161b84c9Windows: clicking on a window's empty-space to move/focus a window checks for lack of queued focus request. (#9382)
ocornut
2026-05-15 13:45:03 +02:00
4088a4f40cWindows: clicking on a window's empty-space to move/focus a window checks for lack of mouse button ownership. (#9382)
ocornut
2026-05-15 13:33:51 +02:00
46a050fff2Nav: minor optimization NavUpdate().
ocornut
2026-05-15 13:38:32 +02:00
310c719a1fRework definition of ImDrawFlags_InvalidMask_ so it more strictly fits in an int32 for non C/C++ languages where it matters. (#9396, #9397)
ocornut
2026-05-15 10:48:24 +02:00
b2546a5c93Comments on not needing to use ImDrawFlags_RoundCornersAll.
ocornut
2026-05-13 12:46:07 +02:00
e0f5f9a14cAmend AddRect(), AddPolyline() error detection to safely return an trigger error handling mechanism.
ocornut
2026-05-12 17:40:28 +02:00