ocornut
0aaf44d165
Viewports: clear ImGuiViewportFlags_NoFocusOnAppearing for modals.
...
Honestly I'm not sure about side-effects but intuitively not needed. Dragging windows will still forcefully set this.
Fixes e.g. appearing modal not taking focus = in win32 implementation it stops task bar icons from appearing (which is to be investigated).
2026-11-03 18:41:25 +01:00
ocornut
d682dc41f5
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2026-10-30 19:56:15 +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
ocornut
83ccc610cc
Merge branch 'master' into docking
...
# Conflicts:
# imgui_demo.cpp
# imgui_draw.cpp
# imgui_internal.h
# imgui_widgets.cpp
2026-10-27 18:45:31 +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
Michał Cichoń
7bd38119c7
Internals: CallContextHooks(): fixed iterating a reallocated array when a hook callback adds a hook. ( #9590 )
...
Note that Test Engine GuiFunc code is called within a hook anyhow.
2026-10-23 14:22:52 +02:00
ocornut
4be0b47ecc
(Breaking) Internals: ImStricmp/ImStrnicmp returned opposite sign when strings were different + ones in Demo.
...
Main functions unused by core imgui, so not strictly changing anything.
Demo functions were only comparing to 0.
2026-10-16 16:52:35 +02:00
ocornut
d88f238d1d
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2026-10-15 18:47:51 +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
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
b94ba000e0
Merge branch 'master' into docking
...
# Conflicts:
# examples/example_sdl3_metal4/main.mm
2026-10-14 18:30:46 +02:00
ocornut
c1aaac65e8
Version 1.93.0
2026-10-14 17:55:08 +02:00
ocornut
906c6838ad
Debug: fixed DebugNodeTexture()->FormatTextureRefForDebugDisplay() truncating displayed value to 32-bits. ( #9578 )
2026-10-12 12:56:19 +02:00
ocornut
2859f6723c
Docs: fixed various comments.
2026-10-07 19:50:23 +02:00
ocornut
0cb6f6501c
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.mm
# backends/imgui_impl_vulkan.cpp
# imgui.cpp
2026-10-07 19:11:40 +02:00
ocornut
cbf4f05419
DrawList: added io.ConfigDebugDrawListDefaultsToStrokeLegacy. ( #9504 )
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
451e107b3f
DrawList: removed ImDrawFlags_UseTexForStrokeLegacy as it doesn't have any use now that legacy code is out of the way.
2026-10-07 18:53:54 +02:00
ocornut
20f17eeb6f
DrawList: fixed using ImDrawFlags_UseTexForRoundCorners when ImFontAtlasFlags_NoBakedRoundCorners has also been set.
2026-10-07 18:53:54 +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
5181e95a46
DrawList: removed g_LEGACY_STROKES.
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
7ccc8348bc
(Breaking) Obsoleted style.AntiAliasedLinesUseTex which now only makes sense for legacy strokes. Added style.AntiAliasedLineEnds.
...
# Conflicts:
# imgui.cpp
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
e8c8a10a2d
DrawList: amends/review legacy stroke paths + minor tweaks.
2026-10-07 18:53:51 +02:00
Mikko Mononen
237a498c2d
DrawList: Textured Round Corners: Added flags to disable textured rounded corners ( #1962 )
...
- added ImFontAtlasFlags_NoBakedRoundCorners which controls if rounded corners should be baked to texture
- added ImDrawListFlags_RoundCornersUseTex which controls if we should try to use textured roudned corners
- fixed how _FringeScaleIsInteger is calculated (we want to detect integer pixel scale)
- fixed how _FringeScale is used with textured rounded corners
2026-10-07 18:53:49 +02:00
Mikko Mononen
37f16412d5
Fixed layout/pixel-perfect issues in various widgets (w/ g_LEGACY_STROKES toggle). ( #9504 )
2026-10-07 18:53:49 +02:00
Mikko Mononen
6335dfb19c
(Breaking) DrawList: removed half pixel offset from ImDrawList::AddLine(). ( #9504 )
2026-10-07 18:53:48 +02:00
ocornut
0f4b927e81
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# imgui.cpp
2026-10-05 19:42:50 +02:00
ocornut
4989b4c754
Fonts: added IMGUI_DISABLE_STB_TRUETYPE. ( #9573 )
2026-10-05 19:41:20 +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
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
64944b4520
Merge remote-tracking branch 'origin/master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_opengl3.cpp
# imgui.cpp
# imgui_internal.h
2026-09-25 15:38:34 +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
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
58d7570b8b
ImGuiTextFilterItem: shallow renames.
2026-09-21 18:26:00 +02:00
ocornut
3bae66c735
ImGuiTextFilter: moved ImGuiTextFilterItem to internals. ( #2435 )
2026-09-21 16:35:18 +02:00
ocornut
e19fea020f
ImGuiTextFilter: moved ImGuiTextFilterItem to internals. ( #2435 )
2026-09-21 15:12:59 +02:00
ocornut
a0cdc046a7
ImGuiTextFilter: reworked filter to make space an AND operator. Demo: tweaked demo.
...
Removed FilterOp, MinWordSize added a few commits ago.
2026-09-21 14:35:42 +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
730623ea35
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx10.h
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx11.h
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx12.h
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_opengl3.h
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_sdlgpu3.h
# backends/imgui_impl_sdlrenderer3.cpp
# backends/imgui_impl_sdlrenderer3.h
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_vulkan.h
# backends/imgui_impl_wgpu.cpp
# backends/imgui_impl_wgpu.h
# imgui.cpp
# imgui_internal.h
# imgui_widgets.cpp
2026-09-18 22:19:23 +02:00
ocornut
249e5a939d
ImGuiTextFilter: added undocumented FilterOp support. ( #2435 )
2026-09-18 22:10:31 +02:00
ocornut
565564bb5c
ImGuiTextFilter: reworked items parsing/storage to be able to simplify PassFilter().
...
As PassFilter() is the bottleneck.
2026-09-18 22:10:31 +02:00
ocornut
c0041b7d3c
ImGuiTextFilter: added undocumented MinWordSize support. ( #2435 )
2026-09-18 22:09:14 +02:00