2757 Commits

Author SHA1 Message Date
ocornut
d2ba763635 Tables: fixed various issues with using ImGuiTableFlags_NoHostExtendY. 2026-10-29 21:21:49 +01:00
ocornut
b87728bd2b Tables: clamp vertical border Y2 position when not using scrolling table, so that ImDrawCmd AABB stays reasonable.
This does not fix any screen visible issue, and should not be noticeable if correct.
(context: investigated this while looking at #4678, but not actually directly related)
2026-10-29 21:21:47 +01:00
ocornut
2fb554b1c8 Modals: fixed an assert displaying a modal in an environment where io.DisplayFramebufferScale is not an integer. (#9598) 2026-10-28 15:41:13 +01:00
Yaki Blake
2f1552d4d5 TreeNodeGetOpen(): added flags parameter. (#9569, #9592, #3823, #9251) 2026-10-27 15:23:55 +01:00
ocornut
048d7e10b5 Style: made default arrow stroked. Added SymbolArrowSizeFactor, SymbolArrowThicknessFactor to style arrow. (#5233, #2431, #2235, #6730, #8243)
Internal function takes a angle: #5812.
This doesn't cover generic rendering override for symbols: #8243, #2431 (arrows, somehow less needed now), #3351 (checkmarks), #6730 (tree nodes)
2026-10-27 14:09:35 +01:00
ocornut
717f68fefe Style: StyleColorsDark(): tweaked WindowBg to be darker than in 1.93.0. 2026-10-27 13:56:15 +01:00
Harish Rajaselvan
4e99c0ab1a CI: added Windows ARM64 build jobs. Examples: added ARM64 support in build_win.bat files. (#9593) 2026-10-23 18:05:20 +02:00
ocornut
20ba6c4a28 Examples: refactored remaining batch files to detect architecture.
(also came to this while reviewing #9593)
2026-10-23 16:09:59 +02:00
ocornut
6dd654f27a Examples: renamed various helper batch files from build_win32.bat to build_win.bat.
(also came to this while reviewing #9593)
2026-10-23 15:32:01 +02:00
ocornut
49a1450360 DrawList: added missing ImDrawFlags_RoundCornersMask_ -> ImDrawFlags_RoundMask_ legacy redirect.
Amend 0e756a6.
2026-10-15 18:53:04 +02:00
ocornut
c7d17f01cd ImVec2: added a check for cases where a custom IM_VEC2_CLASS_EXTRA macro adds an extra operator= to ImVec2 2026-10-15 17:56:20 +02:00
ocornut
f5d2b7dd01 CI: fixes for macOS. 2026-10-15 16:32:52 +02:00
ocornut
145a2fbab6 Docs: update binaries. 2026-10-15 16:24:58 +02:00
ocornut
1ff218165d (Breaking) Commented out legacy names/functions which were obsoleted in 1.91.1 (Sept 2024). 2026-10-15 14:56:24 +02:00
ocornut
93a14c8fda (Breaking) Commented out legacy names/functions which were obsoleted from 1.90.7 (May 2024) to 1.91.0 (Sept 2024). 2026-10-15 14:51:48 +02:00
ocornut
cbe3d5fb88 Version 1.93.1 WIP 2026-10-15 14:34:31 +02:00
ocornut
c1aaac65e8 Version 1.93.0 2026-10-14 17:55:08 +02:00
ocornut
a6fad9bbda Style: update StyleColorsDark() for 1.93: greyer WindowBg, dark FrameBg. 2026-10-14 16:45:24 +02:00
ocornut
a536894821 Examples: all examples now default to use a little bit of rounding (FrameRounding and GrabRounding). 2026-10-14 16:45:18 +02:00
Yan Pujante
dc09bbee1e Examples: GLFW/SDL2/SDL3+WebGPU: better select surface format instead of using surface_capabilities.formats[0]. (#9576) 2026-10-12 13:11:45 +02:00
ocornut
2859f6723c Docs: fixed various comments. 2026-10-07 19:50:23 +02:00
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