ocornut
adfa5364cd
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# imgui.cpp
2025-06-25 18:27:19 +02:00
ocornut
673eb7de96
Version 1.92.0
2025-06-25 18:19:56 +02:00
ocornut
7cd567202e
Merge branch 'master' into docking
2025-06-24 15:17:29 +02:00
ocornut
0dc2885f3e
InputText: fix for InsertChars() to work on read-only buffer. ( #8714 , #8689 , #8242 )
...
Ill defined feature but memory editor use InsertChars etc on a read-only buffer.
`if (init_state)` block of InputTextEx() intentionally does not resize TextA, as unneeded.
Amend b2c73596ae
Amend e900571
2025-06-22 13:04:51 +02:00
ocornut
344d5ff4b7
Merge branch 'master' into docking
2025-06-17 20:15:12 +02:00
ocornut
b2c73596ae
InputText: fixed a buffer overrun that could happen when using dynamically resizing buffers. ( #8689 )
2025-06-17 20:11:22 +02:00
ocornut
12626b85c4
InputText: minor changes to match for both insert chars paths to look more similar.
2025-06-17 19:24:45 +02:00
ocornut
4cf85ee543
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_osx.mm
# backends/imgui_impl_wgpu.cpp
# backends/imgui_impl_wgpu.h
2025-06-13 17:43:30 +02:00
ocornut
cfa43e721a
Windows: clicking on a window close button doesn't claim focus and bring to front. ( #8683 )
...
Added ImGuiItemFlags_NoFocus, ImGuiButtonFlags_NoFocus. Neither are well specified so marking as experimental.
2025-06-13 17:40:17 +02:00
ocornut
e8f831deaa
Merge branch 'master' into docking
2025-06-12 11:07:42 +02:00
ocornut
f6fc166584
TreeNode: fixed runtime asan warning ( #2920 )
...
imgui_widgets.cpp:6923:52: runtime error: shift exponent -1 is negative
2025-06-12 11:07:08 +02:00
ocornut
6af6cec23f
Merge branch 'master_fonts' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx10.h
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_metal.h
# backends/imgui_impl_metal.mm
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl2.h
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_opengl3.h
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_sdlgpu3.h
# backends/imgui_impl_vulkan.cpp
# examples/example_glfw_opengl3/main.cpp
# examples/example_sdl2_directx11/main.cpp
# examples/example_sdl2_opengl2/main.cpp
# examples/example_sdl2_opengl3/main.cpp
# examples/example_sdl2_vulkan/main.cpp
# examples/example_sdl3_opengl3/main.cpp
# examples/example_sdl3_sdlgpu3/main.cpp
# examples/example_sdl3_vulkan/main.cpp
# examples/example_win32_directx10/main.cpp
# examples/example_win32_directx11/main.cpp
# examples/example_win32_directx12/main.cpp
# examples/example_win32_directx9/main.cpp
# imgui.cpp
# imgui.h
# imgui_demo.cpp
# imgui_internal.h
2025-06-11 18:07:19 +02:00
ocornut
3c27c643a9
Fonts: internals: renamed g.FontScale to g.FontBakedScale for clarity. Comments.
2025-06-11 16:10:18 +02:00
ocornut
cc65015e4e
Fonts: fixed crashing password fields.
...
# Conflicts:
# imgui_internal.h
2025-06-11 15:53:41 +02:00
ocornut
dc1320df64
Fonts: ImFontFlags: ImFontFlags_NoLoadGlyphs + add ImFontFlags_LockBakedSizes
2025-06-11 15:47:41 +02:00
ocornut
093d01269a
Fonts: Baked system, with auto-bind, v10.
...
# Conflicts:
# imgui_internal.h
2025-06-11 15:46:27 +02:00
ocornut
ef1521b472
Fonts: fix for password fields
2025-06-11 15:43:06 +02:00
ocornut
a6c7801926
Fonts: Measured and tweaked CalcTextSize() computation to minimize cost in our stress tests.
2025-06-11 15:42:55 +02:00
ocornut
0f0473bf1c
Fonts, Textures: main code for ImGuiBackendFlags_RendererHasTextures feature.
...
# Conflicts:
# imgui.h
# imgui_demo.cpp
2025-06-11 15:03:46 +02:00
ocornut
191a728ecc
(Breaking) added ImTextureRef struct. Changed ImDrawCmd::TextureId to TexRef.
...
Softly breaking. May require support from language binding generator.
Rebased and reworked completely on 2025/03/19.
2025-06-11 15:02:36 +02:00
ocornut
eaac68ca2c
Merge branch 'master' into docking
...
# Conflicts:
# imgui_demo.cpp
2025-06-04 22:30:43 +02:00
ocornut
e877f78b0e
TreeNode: minor amend to b7ab2b7
. ( #2920 )
2025-06-02 20:57:21 +02:00
ocornut
ef503ab0c8
TreeNode: fixed out of bound access in ImGuiTreeNodeFlags_DrawLinesXXX feature. ( #2920 )
...
TreeNode behavior would read TreeRecordsClippedNodesY2Mask from an older node at same lebel, and write to g.TreeNodeStack.Data[-1].
2025-06-02 20:50:38 +02:00
ocornut
b7ab2b7523
TreeNode: fixed an issue where tree lines are not drawn on node opening frame. ( #2920 )
2025-06-02 20:47:02 +02:00
ocornut
5e17c08010
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-05-30 22:00:26 +02:00
ocornut
1ffa7a40ac
TextLinkOpenURL(): added bool return value on click. ( #8645 , #8451 , #7660 )
2025-05-20 17:32:50 +02:00
ocornut
e11ad6b77e
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
2025-05-19 18:48:22 +02:00
ocornut
6d939fcedc
(Breaking) TreeNode: renamed ImGuiTreeNodeFlags_NavLeftJumpsBackHere to ImGuiTreeNodeFlags_NavLeftJumpsToParent for clarity. ( #1079 , #8639 )
2025-05-15 17:35:29 +02:00
ocornut
3563f4db32
Rework TextAligned() api to fix issues with baseline alignment + use standard CalcItemSize(). ( #7024 )
2025-04-23 15:11:21 +02:00
ocornut
f2ba3a937b
Rework TextAligned() api to take size input. ( #7024 )
2025-04-23 15:11:17 +02:00
ocornut
0fc4967ebc
Rework TextAligned() api to fix issues with baseline alignment + use standard CalcItemSize(). ( #7024 )
2025-04-23 15:08:57 +02:00
ocornut
aed1bcc12c
Rework TextAligned() api to take size input. ( #7024 )
2025-04-23 14:52:29 +02:00
ocornut
839e3274e1
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
# imgui.h
# imgui_widgets.cpp
2025-04-23 14:42:36 +02:00
ocornut
6a42d6b339
Added wp TextAligned() TextAlignedV(), TextAlignedExV() to internal API. ( #7024 )
2025-04-23 14:39:59 +02:00
ocornut
7c6ce12fa4
Platform IME: minor amend to bf0f586
( #8584 )
2025-04-22 11:24:02 +02:00
ocornut
bf0f586b69
Platform IME: added ImGuiPlatformImeData::WantTextInput, ViewportId. Backends: SDL3: honor WantTextInput. ( #8584 , #7492 , #6341 )
2025-04-22 11:21:02 +02:00
ocornut
88d2df24be
Merge branch 'master' into docking
2025-04-16 20:31:18 +02:00
ocornut
97d85338e8
Tabs: adjust handling of ellipsis now that Close Button visibility changed. ( #8387 ) Internals: remove extra parameter to RenderTextEllipsis().
...
This requires RenderTextEllipsis() to use fine CPU-side clippoing.
Users of RenderTextEllipsis(): #7024 , #6236 , #5267 , #5745 , #4269 , #2775
2025-04-16 20:29:43 +02:00
ocornut
faea193800
Internals: minor refactor of TabItemLabelAndCloseButton(), should be no-op.
...
(minor thing toward #7024 )
2025-04-16 20:07:39 +02:00
ocornut
3ab50c334a
TreeNode, Style: added style.TreeLinesRounding support. ( #2920 )
2025-04-10 19:26:29 +02:00
ocornut
f4d9359095
Merge branch 'master' into docking
2025-04-10 17:26:11 +02:00
ocornut
9943137d1e
TreeNode: fixed non-opened clipped child node not moving Y2 marker. ( #2920 )
2025-04-10 17:25:06 +02:00
ocornut
ee0d96ac0d
TreeNode: extract code out of TreePop() into TreeNodeDrawLineToTreePop(). ( #2920 )
2025-04-10 17:00:29 +02:00
ocornut
8c977bf7b3
TreeNode, Tables: fixed ImGuiTreeNodeFlags_DrawLinesXXX feature when TreePop() is called in table: in no column or at top of row. ( #2920 )
2025-04-10 16:53:14 +02:00
ocornut
5311253468
TreeNode: ImGuiTreeNodeFlags_DrawLinesFull uses ToNodes Y2 when they are close (using a threshold). ( #2920 )
2025-04-10 16:03:39 +02:00
ocornut
ed50bb1676
TreeNode, Tables: fixed ImGuiTreeNodeFlags_DrawLinesXXX feature when TreePop() is called from a different column. ( #2920 )
2025-04-10 14:47:08 +02:00
ocornut
bbb0f0ade4
TreeNode: fixed incorrect clipping of arrow/bullet when using ImGuiTreeNodeFlags_SpanAllColumns.
2025-04-10 14:08:17 +02:00
ocornut
06c2c9f456
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
2025-04-09 19:08:45 +02:00
ocornut
43caca05c2
TreeNode: DrawLines: tweak X2 offset to avoid losing line when ItemSpacing is large. ( #2920 )
2025-04-09 18:57:20 +02:00
ocornut
bcbbfdaad4
TreeNode: DrawLines: latch X1 offset during TreePush(). ( #2920 )
2025-04-09 18:56:56 +02:00