ocornut
b2ade5f3ad
DrawList: AddRectFilled: add support for ImDrawFlags_StrokeLegacy to handle inverted coordinates + non-AA path.
...
Fix cases 207 and 251 in testbed.
+ add braces near an IM_APPEND_TRI() to silence PVS-Studio reasonable warning "V640 The code's operational logic does not correspond with its formatting"
2026-10-07 19:07:18 +02:00
ocornut
cbf4f05419
DrawList: added io.ConfigDebugDrawListDefaultsToStrokeLegacy. ( #9504 )
2026-10-07 18:53:55 +02:00
ocornut
cb66fcdaac
DrawList: rename ImDrawFlags_MiterOnly->ImDrawFlags_JoinMiter, ImDrawFlags_SquareCap->ImDrawFlags_CapSquare.
2026-10-07 18:53:55 +02:00
ocornut
7bccc3bc1e
DrawList: AddCircle, AddCircleFilled: fixed large circles being under-tessellated (when above ~140 with default CircleTessellationMaxError).
2026-10-07 18:53:55 +02:00
ocornut
475b793baa
Docs: reworked Changelog, comments.
2026-10-07 18:53:55 +02:00
ocornut
0e756a649d
(Breaking) DrawList: renamed ImDrawFlags_RoundCornersXXX to ImDrawFlags_RoundXXX. ( #9504 )
2026-10-07 18:53:55 +02:00
ocornut
7a510274ce
DrawList: Comments. Atlas's NoBakedLines automatically disable AA at Style level. Fix passing non-Legacy stroke mask to PushDrawFlag(). Demo: Custom Rendering: use LiveEdit everywhere.
2026-10-07 18:53:54 +02:00
ocornut
b220bffdbb
Checkbox, Menus: check marks use anti-aliased ends.
...
Currently not a satisfying resolution.
2026-10-07 18:53:54 +02:00
ocornut
bd0f638d8b
Docs: update changelog.
2026-10-07 18:53:53 +02:00
ocornut
f2cd901be6
DrawList: added PushDrawFlag(), PopDrawFlag(), ImSmallStack_<>. ( #9504 )
2026-10-07 18:53:53 +02:00
ocornut
7e87cb984d
DrawList: consistently support scope flags (ImDrawFlags::Flags) + primitive flags.
...
ImDrawFlags_AAEnds and ImDrawFlags_StrokeLegacy ok. (the most important ones).
ImDrawFlags_UseTexForRoundCorners ok.
ImDrawFlags_AAFill, ImDrawFlags_AAStrokes: for primitives: only for selected ones taking flags params. Haven't added the flag to all functions because it feels like a fringe use case.
ImDrawFlags_TextNoPixelSnap supported in RenderText(), per-prim (9417)
2026-10-07 18:53:53 +02:00
ocornut
008e0990b3
DrawList: comment about ImFontAtlasFlags_NoBakedLines. Demo: amend test bed to exercices more flags.
2026-10-07 18:53:53 +02:00
ocornut
02adb46a9f
(Breaking) DrawList: removed ImDrawListFlags_in favor of using ImDrawFlags.
...
# Conflicts:
# imgui.cpp
2026-10-07 18:53:53 +02:00
ocornut
eb75c8056e
DrawList: inverted ImDrawFlags_NoAAEnds into ImDrawFlags_AAEnds.
2026-10-07 18:53:52 +02:00
Mikko Mononen
478813c359
DrawList: restored non-AA rendering mode.
...
- the ImDrawListFlags_AntiAliasedFill and ImDrawListFlags_AntiAliasedLines flags work again
- added non-AA rendering for polyline and convex poly filled
- do not use corner textures when AA is not used
- Add missing no-AA for single line case
2026-10-07 18:53:52 +02:00
ocornut
20110d751d
Docs: update changelog.
2026-10-07 18:53:51 +02:00
tqjxlm
f502f9c980
Backends: Metal, Metal4: support rendering inside passes with multiple color attachments. ( #9574 )
...
Key the pipeline cache on all color attachment pixel formats of the render pass descriptor passed to backend's NewFrame().
2026-10-06 16:12:42 +02:00
tqjxlm
71fc553bc4
Backends: Vulkan: support rendering inside passes with multiple color attachments. ( #9574 )
...
We render to the first color attachment and leave the other ones untouched (color write mask 0).
With dynamic rendering, create one blend attachment state per PipelineRenderingCreateInfo::colorAttachmentCount. Requires the independentBlend device feature.
2026-10-06 15:57:31 +02:00
ocornut
4989b4c754
Fonts: added IMGUI_DISABLE_STB_TRUETYPE. ( #9573 )
2026-10-05 19:41:20 +02:00
ocornut
68bd43b2b4
Tables: fixed a bug tracking topology changes (insert new columns in the middle) when the table is not Reorderable. ( #9570 , #9108 , #9572 )
2026-10-05 18:00:45 +02:00
ocornut
a3f3e4944a
(Breaking) Backends: OpenGL3: added ImGui_ImplOpenGL3_SetClipOrigin. Default to GL_LOWER_LEFT. ( #2186 , #3998 , #3146 , #3143 , #8640 )
2026-10-01 17:36:59 +02:00
ocornut
fe33b77f64
Backends: OpenGL3: Avoid querying glGetIntegerv(GL_CLIP_ORIGIN) again when using DrawCallback_ResetRenderState. ( #2186 , #3998 , #3146 , #3143 , #8640 )
2026-10-01 12:59:30 +02:00
ocornut
3f00c0d0f4
Examples: GLFW+Metal: fixed mistakenly calling ImGui_ImplGlfw_InitForOpenGL(), which broke multi-viewport support. ( #9564 )
2026-09-30 19:13:56 +02:00
ocornut
a9fd325ca5
Docs: add Changelog entries.
...
Amend 7263a23.
2026-09-30 18:51:32 +02:00
ocornut
dfa3c0c0bb
(Breaking) Fonts: rename AddRemapChar() to AddRemapCodepoint(). ( #609 , #5748 , #9559 )
2026-09-30 18:39:11 +02:00
ocornut
09d740ba32
(Breaking) Fonts: refactor ImFontLoader to allow loading from glyph_index. ( #9559 , #5647 )
...
cc #9540 , #8466 , #8465
2026-09-30 18:39:11 +02:00
ocornut
580c00c316
InputText: fixed a crash using Home key with WordWrap+ReadOnly. ( #9561 )
...
Only the change in STB_TEXTEDIT_MOVELINESTART_IMPL() is required. The others are just for nicer semantic.
2026-09-28 17:47:39 +02:00
Stanislaw Halik
db436a15bc
Misc: fixed strict aliasing violation in ImHashData() affecting Clang 23 + SSE 4.2 + -flto. ( #9557 , #9560 )
2026-09-28 17:19:42 +02:00
ocornut
5c6a86a9d2
imgui_freetype: fixed ExtraSizeScale (used by embedded ProggyForever) leading to non-pixel aligned vertical offset. ( #9348 , #9233 ) + Added ImRoundPositive64(), ImRoundSigned64().
2026-09-25 14:22:08 +02:00
Brenton Bostick
e728936797
Docs: fixed typos/repeated words. ( #9555 )
2026-09-24 14:33:24 +02:00
Daniel Castonguay
623ba46120
DrawList: fixed dangling ImDrawList::_OwnerName when using animated label. ( #9552 )
2026-09-23 16:04:56 +02:00
ocornut
cc072ca90e
Tables: comments for saving fix when using ImGuiTableFlags_Sortable and no user changes were made. ( #9519 , #9108 )
...
Because SortOrder save is gated, it doesn't guarantee every column gets an .ini entry. Amend 1d7b37dc9b.
We set ImGuiTableFlags_Reorderable but technically any other field would work, tho ImGuiTableFlags_Reorderable makes more sense.
2026-09-22 17:13:16 +02:00
ocornut
7bfc192814
Tables: tweak struct packing.
2026-09-22 16:48:51 +02:00
ocornut
d12321803d
Popups: reworked GetMousePosOnOpeningCurrentPopup() to be legal to call within the BeginPopup/EndPopup scope of a popup which was just closed. ( #9551 )
2026-09-22 15:57:40 +02:00
ocornut
d5c68c301a
ImGuiTextFilter: reworked filter to make space an AND operator. Demo: tweaked demo.
...
Removed FilterOp, MinWordSize added a few commits ago.
2026-09-21 14:29:04 +02:00
ocornut
c74e7e93a3
ImGuiTextFilter: Added support for space ' ' as separator. Added support for quoted "xxx" blocks. ( #2435 , #30 )
2026-09-18 22:08:22 +02:00
ocornut
54f86be71e
ImGuiTextFilter: fixed filtering when mixing "include" and "-exclude" keyword so that an "-exclude" match always filters out. ( #2435 )
...
+ fix typo in ImToUpper
2026-09-18 22:07:26 +02:00
ocornut
a14bebd948
(Breaking) ImGuiTextFilter: removed float width parameter of Draw(const char* filter, float width). ( #6206 , #6395 , #6447 )
...
The reasoning is to (1) keep things consistent with DrawWithHint() without polluting the new function with width. (2) keep things consistent with other items.
2026-09-18 19:33:21 +02:00
ocornut
f7ada78e32
ImGuiTextFilter: added DrawWithHint(). ( #6206 , #6395 , #6447 )
2026-09-18 19:33:21 +02:00
ocornut
f09485d7be
Style: inverted ImGuiCol_TitleBgXXX colors for StyleColorsLight().
...
So that the selected window title bar appears brighter.
2026-09-18 16:05:56 +02:00
ocornut
6d07f6eb09
Selectable: fixed ImGuiSelectableFlags_SelectOnNav triggering during NavInit.
...
Style Editor: fixed style/colors combo box applying style when opening Combo.
2026-09-18 15:49:00 +02:00
ocornut
5a0ac1678c
Minor rename.
2026-09-17 21:09:14 +02:00
ocornut
eabff0fd08
Backends: OpenGL2/OpenGL3: Added support for platform_io.DrawCallback_SetSamplerFromTex. ( #9378 )
2026-09-17 20:36:02 +02:00
ocornut
333f5186e3
Backends: OpenGL2, OpenGL3: fixed DrawCallback_ResetRenderState handler not reseting all states in the glTexParameter() path. ( #9378 )
...
+ made OpenGL3 SetSamplerLinear/SetSamplerNearest check UseBindSampler for consistency.
2026-09-17 20:36:02 +02:00
ocornut
b5135f270f
Backends: SDLRenderer3: added support for platform_io.DrawCallback_SetSamplerFromTex. ( #9378 )
2026-09-17 19:08:19 +02:00
ocornut
8d3e37eb53
Backends: SDLRenderer3: restore modified texture scale modes at the end of RenderDrawData(). ( #9378 , #9543 )
2026-09-17 15:17:26 +02:00
Clownacy
a5b5f2d85a
Backends: SDLRenderer3: expose CurrentScaleMode in ImGui_ImplSDLRenderer3_RenderState. ( #9543 )
2026-09-17 11:36:46 +02:00
ocornut
b00dd14a34
TabBar: using <> scrolling buttons while the selected Tab is at either end of the section mid-section but not fully visible always makes it fully visible.
2026-09-14 19:50:43 +02:00
ocornut
c8b9f0d6be
TabBar: Improved scroll target when clicking a Tab that is larger than the scrolling region width.
...
The margin that is useful to indicate other tabs being available gets in the way of visibility in this case.
2026-09-14 19:05:13 +02:00
ocornut
334f484892
ColorEdit4, ColorPicker4: added support for ImGuiItemFlags_MixedValue. ( #5518 , #5677 , #6865 )
2026-09-07 19:48:28 +02:00