ocornut
21d3299e58
Backends: fixed reappearing uses to NULL to favor nullptr.
2026-01-15 16:09:01 +01:00
ocornut
d7598aa84f
Backends: SDL2, SDL3: changed GetClipboardText() handler to return NULL on error aka clipboard contents is not text. ( #9168 )
...
Consistent with other backends.
2026-01-15 16:08:18 +01:00
ocornut
9a6eb0ab25
Backends: Vulkan: ImGui_ImplVulkanH_DestroyWindow() oes not call vkDestroySurfaceKHR(): because surface is created by caller. ( #9163 )
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2026-01-14 19:37:05 +01:00
ocornut
a1dfaf4869
ImageButton() doesn't use a clamped style.FrameRounding value but instead adjust inner image rounding when FramePadding > FrameRounding. ( #2942 , #845 )
2026-01-14 15:55:07 +01:00
ocornut
7143d711bf
Images, Style: added style.ImageRounding, ImGuiStyleVar_ImageRounding to configure rounding of Image() widgets. ( #2942 , #845 )
...
Moving border drawing above AddImage() call, should not make a difference for square images.
2026-01-14 15:55:03 +01:00
ocornut
0d08927dae
Error handling: Improve error handling and recovery for EndMenu()/EndCombo(). ( #1651 , #9165 , #8499 )
2026-01-14 14:59:39 +01:00
ocornut
f64c7c37ef
Fonts: fixed a crash when trying to use AddFont() with MergeMode=true on a font that has already been rendered. ( #9162 )
2026-01-12 18:17:38 +01:00
ocornut
d1c5a66557
Backends: WebGPU: rework unsupported path into an assert. ( #9155 , #9156 )
2026-01-12 12:11:10 +01:00
ocornut
f5384544cb
(Breaking) Commented out legacy names obsoleted in 1.90 (Sept 2023): BeginChildFrame(), EndChildFrame(), ShowStackToolWindow(), IM_OFFSETOF(), IM_FLOOR().
2026-01-08 17:33:09 +01:00
ocornut
fedf227ea4
Amend 7a02f4b.
2026-01-08 17:17:06 +01:00
ocornut
7a02f4b545
Nav, Shortcuts, Tooltips: tooltip reference position not affected by remote shortcut activation. ( #9138 , #456 )
...
NavCalcPreferredRefPos() has different path for popups vs tooltip.
Amend 197f8904fe
2026-01-08 17:14:38 +01:00
ocornut
ca9b7b4071
InputText, Nav: amend 1566c96. (incorrectly commited old chunk)
2026-01-08 17:11:23 +01:00
ocornut
1566c96ccd
InputText, Nav: fixed remote/shortcut InputText() not teleporting mouse cursor when nav cursor is active and io.ConfigNavMoveSetMousePos is enabled.
...
Motivated by this, also made SetFocusID() immediately set g.NavIdIsAlive, which is more correct and might be other (positive) subtle side effects.
2026-01-08 17:04:52 +01:00
ocornut
3389dfd9dd
IsItemHovered() doesn't filter out the signal when activated item is a shortcut remote activation. ( #9138 , #456 )
...
Amend a201af7354
2026-01-08 15:58:12 +01:00
ocornut
9ce41a92c3
Misc/shallow merges from docking branch to reduce small drift.
2026-01-08 14:31:25 +01:00
ocornut
7b3ad4a282
(Breaking) Popups: changed 'ImGuiPopupFlags popup_flags = 1' default value to be '= 0' for BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid(), OpenPopupOnItemClick(). ( #9157 , #9146 )
2026-01-07 18:15:15 +01:00
ocornut
b467a0466c
Docs: amends comments about fonts.
2026-01-06 19:07:46 +01:00
ocornut
69a501df6e
Backends: OpenGL3: call ImGui_ImplOpenGL3_InitLoader() in ImGui_ImplOpenGL3_CreateDeviceObjects() / ImGui_ImplOpenGL3_DestroyDeviceObjects(). ( #9112 )
2026-01-05 16:46:56 +01:00
ocornut
1dc1964d5b
Backends: Vulkan: change ImGui_ImplVulkanH_Window::ClearEnable to fuller featured AttachmentDesc. ( #9152 )
2026-01-05 16:39:49 +01:00
ocornut
f106ccd5fa
Backends: Vulkan: clarify ImGui_ImplVulkanH_Window members.
2026-01-05 16:38:01 +01:00
ocornut
922a11f084
Docs: update links, refs.
2025-12-23 19:33:37 +01:00
ocornut
b7b8f52437
Examples: Android: update for consistency (untested).
2025-12-23 18:16:33 +01:00
ocornut
05581da183
AddFontDefault() now automatically selects an embedded font between AddFontDefaultVector() and AddFontDefaultBitmap).
2025-12-23 18:16:33 +01:00
ocornut
f006400f05
Fonts: added AddFontDefaultVector() with embedded ProggyVector data.
2025-12-23 18:16:33 +01:00
ocornut
cde6ad3967
Removed unused ImRect::Floor(). Clarified IM_TRUNC(), IM_ROUND(), ImRound64().
...
Better to remove since it uses IM_TRUNC which has unusual specs.
Note: 87a6443c5 always use positive value in ImRound64(). (#3609 , #8215 )
2025-12-23 18:16:33 +01:00
ocornut
73dd0e869d
(Breaking) Fonts: remove ImFontConfig::PixelSnapV. Post-rescale GlyphOffset is always rounded.
...
Amend 99f6b305c , 99bca397d8 .
2025-12-23 18:16:33 +01:00
ocornut
55ad3b4abd
Fonts: added ExtraSizeScale feature (undocumented).
2025-12-23 18:16:32 +01:00
ocornut
d1de937c31
Fonts: ImFontAtlasFontRebuildOutput() helper.
2025-12-23 18:16:32 +01:00
ocornut
d365417e8b
CI: reduce macOS runs since they are expensive.
2025-12-23 16:47:44 +01:00
ocornut
0ff810038d
Added GetItemFlags() in public API. ( #9127 )
2025-12-22 18:33:12 +01:00
ocornut
9055c9ed22
imgui_freetype: fixed overwriting ImFontConfig::PixelSnapH when hinting is enabled.
...
Fix/amend 99f6b305c1 .
2025-12-22 17:52:32 +01:00
ocornut
d87650dffb
Text: fixed unused variable warning on builds without asserts.
2025-12-21 18:22:48 +01:00
ocornut
a5dffbec38
Text: word-wrapping use a small lookup table. ( #8990 , #3237 , #8503 , #8139 , #8439 , #9094 , #3002 , #9066 , #8838 )
2025-12-21 18:04:01 +01:00
ocornut
22ffa3d6d3
Text: rewrite word-wrapping logic. ( #8990 , #3237 , #8503 , #8139 , #8439 , #9094 , #3002 , #9066 , #8838 )
2025-12-21 18:04:00 +01:00
ocornut
683f9160b9
Internals: ImBitArray: rename storage.
2025-12-18 23:38:34 +01:00
ocornut
4e7c05504a
Renamed IM_ARRAYSIZE() -> IM_COUNTOF(). Kept legacy name for now.
2025-12-17 14:30:01 +01:00
ocornut
99bca397d8
Docs: clarify PixelSnapH / PixelSnapV + comment on PushTextWrapPos().
2025-12-17 12:02:07 +01:00
ocornut
dc48a7c88e
Docs: amend fc89c61
2025-12-15 16:59:22 +01:00
ocornut
4dac00ca0c
Windows: fixed always updating internal buffer for ### window titles even when Ctrl+Tab window is hidden. Instead forcing an update on mismatching when appearing.
...
3997e8b555 was already doing that. (Relates to 8e67fe1: code assume pointer used to be nulled when ctrl+tab window is disabled. not the case).
2025-12-11 23:24:43 +01:00
ocornut
1e7d2adc29
Fixed Clang cast-align warning + Added missing Changelog entry in 1.92.4. ( #8893 )
2025-12-11 21:37:42 +01:00
ocornut
bd6f48fe20
Backends: OpenGL3: Fixed embedded loader multiple init/shutdown cycles broken on some platforms. ( #8792 , #9112 )
2025-12-11 18:28:23 +01:00
ocornut
0d2dd30ee9
Tabs: minor tweaks to facilitate mods altering spacing.
2025-12-11 17:17:57 +01:00
ocornut
9971251574
Fonts: amend/comment on FontDataOwnedByAtlas=false fix being a breaking change. ( #9086 , #8465 )
2025-12-10 21:42:07 +01:00
ocornut
a07b2828ce
Backends: GLFW: add IMGUI_IMPL_GLFW_DISABLE_X11 / IMGUI_IMPL_GLFW_DISABLE_WAYLAND. ( #9109 , #9116 )
...
cc #8884 , #8474 , #8289
2025-12-10 18:57:02 +01:00
ocornut
9a4fd69f6d
Backends: GLFW: avoid repeated glfwSetCursor()/glfwSetInputMode() calls when unnecessary.
2025-12-10 18:35:22 +01:00
ocornut
cf64b7fa72
Tables: Fixed losing stored display order when reducing column count. ( #9108 , #4046 )
...
Amend f2df804fcc
2025-12-08 19:29:41 +01:00
ocornut
a726bded11
Fonts: ClearOutputData() doesn't need to clear FallbackChar, EllipsisChar. Fixed crash changing font loader.
2025-12-05 19:12:50 +01:00
ocornut
7f78f52243
Demo: removed some hardcoded widths.
2025-12-05 18:46:13 +01:00
ocornut
60f8b0733c
Rework color marker internals to facilitate arbitrary override using SetNextItemColorMarker().
...
Amend fa4b47c
2025-12-05 18:28:55 +01:00
ocornut
fa4b47c5e2
Added RGBA color markers to ColorEdit3/ColorEdit4 + opt-in ImGuiSliderFlags_ColorMarkers for Drags/Sliders.
...
+ Added ImGuiColorEditFlags_NoColorMarkers
+ Added style.ColorMarkerSize.
2025-12-05 16:32:48 +01:00
ocornut
a7ecbcdeba
Shuffle ImGuiColorEditFlags flag values.
...
ImGuiColorEditFlags_AlphaOpaque, ImGuiColorEditFlags_AlphaNoBg, ImGuiColorEditFlags_AlphaPreviewHalf, ImGuiColorEditFlags_AlphaBar.
2025-12-05 16:32:45 +01:00
ocornut
ded52c71d9
Debug Log: can output to debugger. Added ImGuiDebugLogFlags_OutputToDebugger.
2025-12-05 15:07:44 +01:00
ocornut
9d4fafa671
Nav: removed an unnecessary FindWindowByName() call.
...
Amend c7016c25e8 . It's not clear to me why it was committed like that, maybe a leftover of wip code which used the pointer before Begin().
2025-12-05 14:16:14 +01:00
ocornut
e2c49530cb
ImDrawList: harden/clarify static asserts about ImDrawCmd / ImDrawCmdHeader layout.
2025-12-05 13:42:15 +01:00
ocornut
d71091a957
Internals: amend RenderRectFilledRangeH() to avoid shadowed variables.
2025-12-04 16:27:54 +01:00
ocornut
d1e262ad55
Internals: refactor RenderRectFilledRangeH() into RenderRectFilledInRangeH() to take absolute coordinates instead of normalized ones.
...
Amend 01d4bf299a (#1296 )
2025-12-04 16:13:12 +01:00
ocornut
6e0ee6ff03
Fonts: removed misleading SizePixels >= 0.0f test and stbtt_ScaleForMappingEmToPixels() call in ImGui_ImplStbTrueType_FontSrcInit(). ( #8857 )
...
Logic was picked in 9a9712807e while extracting code from stbtt_PackFontRangesGatherRects(), but ScaleForMappingEmToPixels() was actually never called: we assert against negative SizePixels since 2015.
2025-12-03 20:15:58 +01:00
ocornut
87b193399e
Backends: Win32: change param to MultiByteToWideChar() to be consistent (should be no-op?).
...
Amend 0a7054c7e4 (#5725 , #1807 , #471 , #2815 , #1060 + #9099 , #3653 , #5961 )
2025-12-03 13:30:59 +01:00
ocornut
bfe137893a
Debug Log: fixed incorrectly printing characters in IO log when submitting non-ASCII values to io.AddInputCharacter(). ( #9099 )
2025-12-01 17:03:04 +01:00
ocornut
620a33dd85
TreeNode: fixed highlight position when used inside a line with a large text baseline offset.
...
Most old logic e.g. df749e3f13 , ec0e953cca . Never quite worked for this situation.
2025-11-27 23:49:17 +01:00
ocornut
47766ca403
Demo: fix in 'Demo->Selection->Multi-Select in a Table' section.
2025-11-27 23:45:50 +01:00
ocornut
7c6febed66
Tables: fixed an issue where submitting non-integer row heights would eventually advance table parent layout by +0/+1 depending on its visibility.
2025-11-27 22:54:51 +01:00
ocornut
1a62292ac0
Tables: fixed an issue where a very thin scrolling table would advance parent layout slightly differently depending on its visibility.
2025-11-27 22:37:00 +01:00
ocornut
2026e3db88
Menus: fixed BeginMenu() child popup position when used inside a line with a baseline offset.
2025-11-27 21:51:04 +01:00
ocornut
3ff8c466bf
Menus: fixed BeginMenuEx() icon/arrow baseline when using inside a line with an offset.
...
Amend 1f54665 .
2025-11-27 20:05:18 +01:00
ocornut
1f54665799
Menus: fixed MenuItem() label baseline when using inside a line with an offset.
...
Amend f8fae02270
2025-11-27 19:54:06 +01:00
ocornut
ae873b1e0d
Misc: rename extraneous parenthesizes from return statements.
2025-11-27 15:01:24 +01:00
ocornut
9c75ef5a61
Tables: clarify TableNextRow() row_height and adjust demo to make this clearer (demo height were arbitrary and therefore misleading).
2025-11-26 18:25:30 +01:00
ocornut
c36162fc6c
Internals: add SetContextName() helper. ( #9097 )
...
Amend 37c243b .
2025-11-26 17:29:37 +01:00
ocornut
75db81cf08
Backends: SDL_GPU3: select between metallib and MSL shaders based on availability. ( #9076 )
...
Amend fd887f5
2025-11-26 15:05:05 +01:00
ocornut
285e3042ba
Docs: tweaks. Add reference to imgui-module from main README. ( #9092 , #8868 )
2025-11-26 14:49:11 +01:00
ocornut
d981b33dd0
Textures: amend to please static analyzer.
2025-11-26 14:24:55 +01:00
ocornut
e768f91dc2
Textures: fixed displaying texture # in metrics/debugger.
2025-11-26 14:21:48 +01:00
ocornut
3fef0d553d
Textures: fixed a building issue when ImTextureID is defined as a struct.
...
+ Added CI for this case.
2025-11-26 14:21:48 +01:00
ocornut
3a45bae9dc
Backends: Vulkan: helper for creating a swapchain selects VkSwapchainCreateInfoKHR's compositeAlpha based on cap.supportedCompositeAlpha. ( #8784 )
2025-11-24 18:11:23 +01:00
ocornut
98636f4a23
Fonts: fixed handling of ImFontConfig::FontDataOwnedByAtlas = false which did erroneously make a copy of the font data. ( #9086 )
...
Amend 815168c7e
+ Added explicit casts for intent/clarity when passing to stb_truetype/freetype.
2025-11-24 15:58:01 +01:00
ocornut
5f82275ba1
Docs: updated 1.91.5 logs for missing info that GetKeyIndex() was removed at this date.
...
Amend 6f287dd16
2025-11-24 14:49:16 +01:00
ocornut
136d067eed
Scrollbar: fixed a codepath leading to a divide-by-zero. ( #9089 )
2025-11-24 14:27:03 +01:00
ocornut
324cea1f41
Version 1.92.6 WIP
2025-11-24 13:35:41 +01:00
ocornut
6d910d5487
Version 1.92.5
2025-11-20 17:49:52 +01:00
ocornut
4ab86e1d61
Nav: fixed scoring when using PageUp/PageDown from a focused item which is outside of visible boundaries. ( #9079 )
...
We only use ImGuiNavMoveFlags_AlsoScoreVisibleSet when starting point is visible.
2025-11-19 19:01:22 +01:00
ocornut
0faa0dba15
Drag and Drop: rework cancel drag and drop logic to be overridable. ( #9071 )
2025-11-19 18:26:44 +01:00
ocornut
db6b8e0fb3
Drag and Drop: handling of Escape after UpdateKeyboardInputs(). ( #9071 )
2025-11-19 18:26:43 +01:00
ocornut
1f16ca5e5c
Docs: update ShowUserGuide() + PR guidelines. ( #9071 )
2025-11-19 18:26:43 +01:00
ocornut
b4a3d423e0
Docs: amend BeginDisabled() comments. ( #9082 )
2025-11-19 17:06:44 +01:00
ocornut
23bd697f05
Drag and Drop: Pressing Escape while carrying a payload automatically cancel the active drag and drop. ( #9071 )
2025-11-18 19:18:10 +01:00
ocornut
37f9153105
Nav: improved/clarified behavior when requesting PageUp/PageDown from a focused item which is outside of visible boundaries. ( #9079 )
2025-11-18 18:59:06 +01:00
ocornut
81e01ddebe
Nav: reworked PageUp/PageDown to pick same-page top/bottom page based on inner rectangle rather than clipping rectangle.
2025-11-18 18:57:32 +01:00
ocornut
405c802607
Nav: shallow tweaks.
2025-11-18 18:22:36 +01:00
ocornut
91b5256c57
Clipper: fixed an issue when using up/down from an item outside of visible bound and using the clipper. ( #9079 )
2025-11-18 17:00:01 +01:00
ocornut
6ae32c696a
Backends: fixed misc zealous Clang warnings.
2025-11-18 16:34:35 +01:00
ocornut
9afc62d087
InputText: Fixed an assert when using ImGuiInputTextFlags_ReadOnly and making underlying contents shorter while text is selected. ( #9069 )
2025-11-18 16:20:51 +01:00
ocornut
c3835de38a
CI: fixes warning building example_null w/ msvc as DLL
2025-11-17 18:01:51 +01:00
ocornut
52caa2f38a
CI: fixes warning building example_null w/ msvc as DLL
2025-11-17 17:50:37 +01:00
ocornut
04af1a3917
CI: fixes warning building example_null w/ mingw 64-bit, as DLL
2025-11-17 17:43:09 +01:00
ocornut
e1f9b8b3a7
CI: fixes warning building example_null w/ mingw 64-bit, as DLL
2025-11-17 16:49:34 +01:00
ocornut
cfb48969af
Examples: CI: backtrack and make example_null embed backend: simpler for all sorts of quick build scripts.
2025-11-17 16:38:07 +01:00
ocornut
0cf5b93a0a
CI, Backends: fixes for example_null building. Add consistent IMGUI_IMPL_API in backend.
2025-11-17 16:18:12 +01:00
ocornut
d99baf332c
CI: fixes for example_null building.
2025-11-17 16:11:05 +01:00
ocornut
7e919a543c
Examples: fix example_null Makefile.
...
Amend b885382,eb19a77
2025-11-17 15:58:12 +01:00