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
ocornut
eb19a77848
Examples: fix example_null Makefile.
...
Amend b885382
2025-11-17 15:52:32 +01:00
ocornut
219ba3b617
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
2025-11-17 15:38:58 +01:00
ocornut
ae1d278f3a
Docking: fixed crash loading certain form of invalid .ini settings. Amends. ( #9070 )
2025-11-17 15:37:04 +01:00
ocornut
b885382a63
Backends: Null: added imgui_impl_null platform/renderer backend.
2025-11-17 15:28:03 +01:00
ocornut
9e15ebb402
Backends: GLFW: fixed last ImGui_ImplGlfw_Shutdown() call not immediately clearing the context map. ( #9075 , #8676 , #8239 , #8069 )
...
Amend/fix f633a6058
2025-11-17 13:38:17 +01:00
ocornut
4fa59df9fa
Docking: fixed crash loading certain form of invalid .ini settings, ( #9070 )
2025-11-15 19:06:27 +01:00
ocornut
f145b0cffd
Debug Tools: ID Stack Tool: refactor, extract data/code into ImGuiDebugItemPathQuery for reuse.
2025-11-13 18:32:43 +01:00
zentia
a6645e1007
Backends: Vulkan: handle viewport surface creation failure without crashing. ( #9068 )
2025-11-13 17:41:38 +01:00
ocornut
c254db7637
Debug Tools: ID Stack Tool: store ResultsComplete and don't display incomplete paths.
2025-11-13 16:19:27 +01:00
ocornut
5a0c67c4b8
Debug Tools: ID Stack Tool: extracted code into a StackToolGetResultAsPath() function.
2025-11-13 16:15:00 +01:00
ocornut
ec6219752d
Fonts: calling ImFontAtlas::Clear() mid-frame without re-adding a font will lead to a more explicit crash. ( #9067 )
...
+ reformat Changelog.
2025-11-13 15:54:50 +01:00
ocornut
d246850787
Fonts: added comment about the classic AddFontFromMemoryTTF() issue. ( #9067 , #6916 , #6781 , #5330 , #4307 , #2042 , #2029 , #1734 , #1259 , #220 )
2025-11-13 15:42:19 +01:00
ocornut
e60e5bff63
Misc: standardized casing of keyboard mods in comments and demo ("CTRL" -> "Ctrl").
2025-11-13 15:24:03 +01:00
ocornut
873fe34b31
Debug Tools: ID Stack Tool: preserve first data type, so user of PushOverrideID() e.g. TreeNode() elements don't get demoted from _String to _ID.
2025-11-13 15:05:16 +01:00
ocornut
e3979c2098
Demo: removing absolute __FILE_ from being emitted by default. ( #9033 )
2025-11-13 14:23:25 +01:00
ocornut
707ddd54b6
Docking, Style: fixed per-window ImGuiCol_UnsavedMarker changes not being shown in docking preview. ( #8983 , #9064 )
2025-11-13 14:10:53 +01:00
ocornut
68a44776bd
Misc: tweak conflicting id error tooltip to use a link.
...
Now that nested tooltips are not hiding each others.
2025-11-13 13:47:45 +01:00
ocornut
613cfaf0b4
Tooltips: made BeginTooltipEx() not hide nested tooltips.
...
It's not typically possible to nest tooltips since BeginTooltipEx() imply ImGuiWindowFlags_NoInputs + following mouse pos + most tooltips would be triggered on hover. But BeginErrorTooltip() bypass that.
2025-11-13 13:47:45 +01:00
ocornut
891dd2d31e
Docking, Style: fixed per-window ImGuiCol_UnsavedMarker changes not being latched by docked windows. ( #8983 , #9064 )
2025-11-12 18:22:05 +01:00
ocornut
d4c156a0f0
Merge branch 'master' into docking
2025-11-11 21:52:31 +01:00
ocornut
de917ebb95
Windows: move auto-fit block into braces for clarify. (no-op)
2025-11-11 21:48:17 +01:00
ocornut
501e0adcdb
Windows: CalcWindowAutoFitSize() remove child-specific hack added by 29439bdd27 and made obsolete by 7537ba2b4. ( #9060 , #1710 )
2025-11-11 21:47:15 +01:00
ocornut
a2544f9496
Windows: programmatic auto-sizing on a single axis also apply proper logic. ( #9060 )
2025-11-11 21:37:21 +01:00
ocornut
b51f6e073c
Windows: reorganize auto-fitting code blocks in Begin(), step 2.
...
Toward #9060
2025-11-11 21:15:43 +01:00
ocornut
52e9d94f93
Windows: reorganize auto-fitting code blocks in Begin(), aimed to have no side-effect, but..
...
..outer ImGuiWindowFlags_AlwaysAutoResize previously took priority for both axis. New logic per-axis.
Toward #9060
2025-11-11 20:03:31 +01:00
ocornut
fc262355ca
Windows: Fixed an issue where repeated calls to SetNextWindowSize() using 0.0f to auto-size would keep marking ini settings as dirty.
...
+ marking dirty on old io.FontAllowUserScaling Ctrl+Wheel
2025-11-11 19:47:48 +01:00
ocornut
7537ba2b44
Windows: fixed single-axis auto-sizing (via double-clicking a border) to take account of remaining scrollbar on the other axis. ( #9060 )
...
Potentially now should apply same logic to the other resizing path also described in #9060
2025-11-10 19:36:16 +01:00
Rémy Tassoux
b4cfad50cb
Match SetMaximumFrameLatency to the number of frames in flight
2025-11-10 09:16:55 +01:00
ocornut
86daa8930e
Backends, Examples: WebGPU: simplified ifndef ( #8381 )
2025-11-07 13:24:16 +01:00
ocornut
3109131a88
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# imgui.cpp
# imgui_internal.h
2025-11-06 18:11:16 +01:00
ocornut
635eb1d8e9
Added .tmp files.
2025-11-06 18:07:18 +01:00
ocornut
bd0e2036e0
Drag and Drop: added ImGuiDragDropFlags_AcceptDrawAsHovered. ( #8632 )
...
Not calling SetHoveredId() in that path, does not seem necessary.
2025-11-06 18:07:18 +01:00
ocornut
b0d3c3a674
Drag and Drop: prev/curr storage for DragDropAcceptFlags. ImGuiDragDropFlags_AcceptNoPreviewTooltip test uses DragDropAcceptFlagsPrev for consistency. ( #143 )
...
I don't think this would have materialized as a visible bug.
2025-11-06 17:59:01 +01:00
ocornut
dacd080639
Docs: added link to imgui-module. (#8868(
2025-11-06 17:30:00 +01:00
ocornut
8e2e87d638
(Breaking) Commented out legacy SetItemAllowOverlap() obsoleted in 1.89.7: this never worked right. Use SetNextItemAllowOverlap() _before_ item instead.
2025-11-06 16:29:19 +01:00
ocornut
e389502ffb
Amends comments referring to 1.92.X to refer to 1.92.0. FontAllowUserScaling not marked obsolete anymore.
2025-11-06 16:28:59 +01:00
ocornut
1c3a60047c
(Breaking) IO: commented out legacy io.ClearInputCharacters() obsoleted in 1.89.8.
2025-11-06 16:28:58 +01:00
ocornut
62162747e7
(Breaking) Keys: commented out legacy names which were obsoleted in 1.89.
...
ImGuiKey_ModCtrl --> ImGuiMod_Ctrl, ImGuiKey_ModShift --> ImGuiMod_Shift, ImGuiKey_ModAlt --> ImGuiMod_Alt, ImGuiKey_ModSuper --> ImGuiMod_Super.
2025-11-06 16:28:25 +01:00
ocornut
189d8c9d9c
(Breaking) Commented out legacy ImGuiChildFlags_Border ( #462 ), ImGuiWindowFlags_NavFlattened ( #7687 ), ImGuiWindowFlags_AlwaysUseWindowPadding.
2025-11-06 16:11:07 +01:00
ocornut
f45adb995c
Drag and Drop, Style: added basic styling options to DragDrop target rect. Amends. ( #9056 )
2025-11-06 15:38:20 +01:00
aaronkirkham
7954d6782e
Drag and Drop, Style: added basic styling options to DragDrop target rect. ( #9056 )
2025-11-06 15:34:40 +01:00
Clownacy
59db6ceeb1
Backends: GLFW: lower minimum requirement from GLFW 3.1 to GLFW 3.0. ( #9055 )
2025-11-06 15:25:11 +01:00
ocornut
a0bfbe4d8f
Windows: BgClickFlags inherited by default + missing info in Changelog. Amend 40f9e4e. ( #899 , #3071 , #5044 , #3379 )
2025-11-05 20:16:45 +01:00
ocornut
42015f7194
Merge branch 'master' into docking
...
incl/ viewport fix for #9054
2025-11-05 19:18:46 +01:00
ocornut
e674f57bb6
Backends: SDL3: Fixed an issue with missing characters events when an already active text field changes viewports. ( #9054 )
...
Always use SDL_GetKeyboardFocus().
(tried to defer ImGui_ImplSDL3_PlatformSetImeData() processing for when OS-window is available but it didn't actually work because we don't systemetically OS-focus new viewports and SDL3 only sent characters to keyboard focused window.)
2025-11-05 19:15:47 +01:00
ocornut
ff45cb5929
Viewports: rename FindViewportByID() parameter for clarity.
2025-11-05 18:40:05 +01:00