ocornut
b46a37eac9
Tables: comments about misleading TableSetupColumn() user_id parameter, renamed to user_data.
...
ImGuiTableColumnSortSpecs::ColumnUserID should be changed to ColumnUserData.
2026-06-15 19:05:38 +02:00
ocornut
e6147a3993
Tables: allow calling TableQueueSetColumnDisplayOrder() between TableSetupColumn() and TableUpdateLayout() by removing an early out.
...
As `table->Columns[column_n].DisplayOrder` is not viable in this scope during a reconcile.
2026-06-15 18:25:08 +02:00
ocornut
721da6a34c
Tables: apply queued requests in TableUpdateLayout()
...
To allow calling TableQueueSetColumnDisplayOrder() between TableSetupColumn() and between TableUpdateLayout()
# Conflicts:
# imgui_tables.cpp
2026-06-15 18:24:43 +02:00
ocornut
360183924b
CI: use Visual Studio 2026. (correct path)
2026-06-15 17:06:14 +02:00
ocornut
2aaa6d8173
CI: use Visual Studio 2026.
...
ref: https://github.com/actions/runner-images/blob/win25-vs2026/20260608.135/images/windows/Windows2025-VS2026-Readme.md
2026-06-15 16:52:52 +02:00
ocornut
3240201de2
Fixing build.
2026-06-15 16:37:26 +02:00
ocornut
94a3dcc5fa
Tables: tweaked debug tools + minor data packing in in ImGuiTableColumn
2026-06-15 16:15:39 +02:00
ocornut
fea6f4603a
ImSpan: added clear(), empty() helpers.
2026-06-15 16:13:25 +02:00
ocornut
d43c3f929c
Tables: split code from TableSetupColumn() so it can be more easily deferred.
2026-06-15 16:13:25 +02:00
ocornut
36ea9728d1
Tables: save/restore column ID (unused)
...
Ditched UserID storage, which was provably broken/unused.
2026-06-15 16:13:25 +02:00
ocornut
2e0f949039
Tables, Debug Log: added IMGUI_DEBUG_LOG_TABLE, ImGuiDebugLogFlags_EventTable. Clicking "Clear settings" calls TableResetSettings() immediately.
2026-06-12 22:12:25 +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
b10137f92f
Internals: move function declarations into Tables section.
2026-06-10 17:19:34 +02:00
ocornut
aa377352ef
Tables: TableGcCompactTransientBuffers() can ditch AngledHeadersRequests data.
...
Amend b30df8890.(#6917 )
2026-06-10 17:15:50 +02:00
ocornut
4312c4399f
Tables: moved RefScale update and application to TableUpdateLayout().
2026-06-10 17:15:41 +02:00
ocornut
f1dd18b75c
Docs: minor amends to ImTextureData comments.
2026-06-10 15:55:48 +02:00
Oliver Dixon
5220a3f48d
Examples: WebGPU: Require C++20 to build Dawn examples ( #9433 , #9432 )
2026-06-07 09:58:58 +02:00
ocornut
6acba3b47d
ImDrawListSharedData: rename CircleSegmentMaxError to CircleTessellationMaxError. Remove misleading ArcFastRadiusCutoff assignment.
...
cc 051ce0765 , f107693d9 (3808)
2026-06-04 13:51:57 +02:00
ocornut
fc5e2f28fe
Examples: WGPU: fixed typo for wvgk cloning. ( #9428 , #9387 )
2026-06-03 19:24:06 +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
5a42cddcd2
Fixed a build issue when defined IMGUI_API + IMGUI_DISABLE_OBSOLETE_FUNCTIONS. ( #9424 )
...
Amend 6df50a0
2026-06-02 18:40:14 +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
5aa0393a15
DrawList: don't mark ImDrawListFlags_TextNoPixelSnap as internal in comments. ( #3437 , #9417 , #2291 )
2026-06-01 17:23:11 +02:00
ocornut
f241419b78
Tabs: use AddRectFilled().
2026-06-01 16:49:18 +02:00
Flexan
3495e329f3
Fixed small typo in demo code ( #9425 )
2026-06-01 15:34:00 +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
75f985998b
Using custom ceilf inline impl in ImGui::CalcTextSize().
...
Amend 7b0bf230 , 4622fa4b6 , 12b7977 . (#791 )
2026-05-29 15:59:44 +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
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
fbcf95193f
ImFontAtlas: moved common TexData calls into a same helper functions, so adding new ones is easier.
2026-05-22 20:03:30 +02:00
ocornut
24a80f74a4
InputText, Style: added InputTextCursorSize to configure cursor/caret thickness. ( #7031 , #9409 )
2026-05-22 19:12:36 +02:00
ocornut
904b663184
Clarify support for "%s" shortcuts in functions taking format strings. ( #9404 , #3466 , #6846 )
2026-05-19 18:50:39 +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
93e396ffb7
Textures: call ImTextureDataUpdateNewFrame() for textures registered via RegisterUserTexture(). ( #8789 , #8465 )
...
Amend
2026-05-15 16:38:45 +02:00
ocornut
068e055510
Textures: extract ImTextureDataUpdateNewFrame() out of ImFontAtlasUpdateNewFrame(). ( #8465 )
2026-05-15 16:38:45 +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
46a050fff2
Nav: minor optimization NavUpdate().
...
To be honest this is mostly to ease debug stepping in the common case.
2026-05-15 13:43:45 +02:00