ocornut
db4e541306
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
# imgui_widgets.cpp
2025-01-27 15:45:26 +01:00
ocornut
a05d547ae8
Windows: separating WindowItemStatusFlags from ChildItemStatusFlag, because IsItemXXX _after_ BeginChild()>Begin() shouldn't return last status emitted by e.g. EndChild()
...
As IsItemXXX() after is specced as returning title bar data we don't want to lock ourselves up from adding them to child window (e.g. MDI idea using windows to host child windows).
2025-01-27 14:39:26 +01:00
ocornut
134fbe1245
Windows: Fixed IsItemXXXX() functions not working on append-version of EndChild(). ( #8350 )
...
Also made some of the fields accessible after BeginChild() to match Begin() logic.
2025-01-27 12:41:31 +01:00
ocornut
5a28f188ff
Fixed parameter names to SetLastItemData() to align with current names.
2025-01-27 12:27:15 +01:00
ocornut
355cb589e3
Merge branch 'master' into docking, incl conflict merge in BeginMenuBar() for #8267
...
# Conflicts:
# imgui_widgets.cpp
2025-01-24 19:40:54 +01:00
ocornut
8a1613a382
Fonts: OversampleH/OversampleV value defaults to 0 for automatic selection.
2025-01-24 19:32:30 +01:00
ocornut
53244aaac7
Amend 9bc5b04 with a shadowed variable warning fix.
2025-01-24 15:00:21 +01:00
ocornut
9bc5b0406d
Windows, Style: Fixed small rendering issues with menu bar, resize grip and scrollbar when using thick border sizes. ( #8267 , #7887 )
...
Amend e.g. 742b5f4c.
2025-01-24 14:39:07 +01:00
ocornut
71da34c48c
Debug Tools: Tweaked font preview + indent "Glyphs" block.
2025-01-22 16:56:18 +01:00
ocornut
64e738cae7
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-01-22 12:19:09 +01:00
ocornut
6906ac979e
ColorEdit, ColorPicker: (Breaking) redesigned how alpha is displayed in the preview square. ( #8335 , #1578 , #346 )
...
Added ImGuiColorEditFlags_AlphaOpaque, ImGuiColorEditFlags_AlphaNoBg.
Removed ImGuiColorEditFlags_AlphaPreview.
2025-01-22 12:12:07 +01:00
ocornut
fdca6c08ad
Inputs: added IsMouseReleasedWithDelay() helper. ( #8337 , #8320 )
2025-01-22 11:28:47 +01:00
ocornut
7ae7c90790
Tabs, Style: reworked selected overline rendering to better accommodate for rounded tabs. ( #8334 )
2025-01-21 13:55:44 +01:00
ocornut
6e94f6cefb
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
# imgui_internal.h
2025-01-20 18:04:31 +01:00
ocornut
487d7f9a29
Font: Internals: make used page maps smaller. Since it's extremely rarely used and for iterations only. ~34->16 bytes with ImWchar32.
2025-01-16 22:30:43 +01:00
ocornut
f2262eb81a
Windows: latch FontRefSize at time of Begin(), consistent with e.g. TitleBarHeight, and to avoid calling CalcFontSize() on non-current window.
2025-01-16 19:46:54 +01:00
ocornut
b7c27c5333
Windows: legacy SetWindowFontScale() is properly inherited by nested child windows. ( #2701 , #8138 , #1018 )
2025-01-16 19:08:39 +01:00
ocornut
015186aaf8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_vulkan.cpp
2025-01-15 17:34:17 +01:00
ocornut
100075f2be
Backends: DirectX12: Texture upload use the command queue provided in ImGui_ImplDX12_InitInfo instead of creating its own.
...
+ minor tweaks to faciliate branch merging.
2025-01-15 12:15:24 +01:00
ocornut
c59a2267d0
Version 1.91.8 WIP
2025-01-15 11:58:47 +01:00
ocornut
c0ae3258f9
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-01-14 13:46:39 +01:00
ocornut
5c1d2d1e4c
Version 1.91.7
2025-01-14 13:29:25 +01:00
ocornut
9f8481a842
(Breaking) TreeNode: renamed ImGuiTreeNodeFlags_SpanTextWidth to ImGuiTreeNodeFlags_SpanLabelWidth. ( #6937 )
2025-01-14 13:14:50 +01:00
ocornut
d0d571e0d7
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# imgui_internal.h
2025-01-13 14:30:57 +01:00
ocornut
a604d4f717
Fixed IsItemDeactivated(), IsItemDeactivatedAfterEdit() to work when interrupted before/after the active id is submitted. ( #5184 , #5904 , #6766 , #8303 , #8004 )
2025-01-13 14:09:41 +01:00
ocornut
a28ffa81c4
Docs: added more references to IsKeyDown(), InFlags. ( #8317 )
2025-01-13 13:35:26 +01:00
ocornut
2f91176011
Merge branch 'master' into docking
2025-01-09 17:08:31 +01:00
ocornut
940d9540f3
Fixed MinGW builds uses UTF-8 friendly _wfopen(). ( #8300 )
...
Amend bbd0a37bd, 40db2ca09
2025-01-09 15:28:48 +01:00
ocornut
1c67a3412e
BeginChild: also caller to manually set ImGuiNextWindowDataFlags_HasChildFlags / ChildFlags. ( #8280 )
2025-01-08 14:55:51 +01:00
ocornut
960a6f14bf
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_metal.mm
# imgui.cpp
2025-01-08 14:36:14 +01:00
ocornut
2b8545684c
Refactor: moved Window Focus related functions to a dedicated section.
2025-01-08 14:22:37 +01:00
ocornut
bbbdc70f26
Refactor: moved FindBlockingModal() in its section.
2025-01-08 14:22:04 +01:00
ocornut
9cc0bf89bd
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2025-01-06 17:59:22 +01:00
ocornut
a0f907933d
Happy new year!
2025-01-06 14:07:06 +01:00
ocornut
5413a9a6b4
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# imgui.cpp
# imgui_internal.h
2024-12-20 23:31:52 +01:00
ocornut
18929bd6d6
Internals: merge ScaleWindowsInViewport() from docking branch.
2024-12-20 23:26:21 +01:00
ocornut
2a600bddcb
ImGuiDebugLogFlags_EventFont should not be set by default (had no effect on master tho)
2024-12-20 23:11:37 +01:00
ocornut
7219fa65c0
Revert "Fonts: Allowing PushFont()/PopFont() to be called outside the imgui frame scope. ( #3621 )"
...
This reverts commit 61d4bf95dc5345c77b97b279011fce2c46efcaa8.
2024-12-20 17:20:57 +01:00
ocornut
61d4bf95dc
Fonts: Allowing PushFont()/PopFont() to be called outside the imgui frame scope. ( #3621 )
2024-12-20 17:17:40 +01:00
ocornut
d30e102f3a
Scrollbar, TestEngine: for consistency, scrollbars are registered in _Menu layer.
...
Amend f31d530.
2024-12-20 15:22:34 +01:00
ocornut
91e8f2b0fe
Debug Tools: Debug Log: hovering 0xXXXXXXXX values in log is allowed even if a popup is blocking mouse access to the debug log window. ( #5855 )
2024-12-20 15:13:49 +01:00
ocornut
eed9502795
Error Handling: Fixed bugs recovering from within a table that created a child window, and from nested child windows. ( #1651 )
2024-12-20 14:28:04 +01:00
Raffaello Bertini
cd6c83cdcc
Fixes GCC warnings ( #8241 )
2024-12-18 17:58:19 +01:00
ocornut
edef72d497
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2024-12-18 17:02:08 +01:00
ocornut
f31d53093b
TestEngine: for consistency, title bar / window items are registered in _Menu layer.
2024-12-18 13:02:48 +01:00
ocornut
13c4084362
Nav: Fixed an issue where Alt key would clear current active item on windows with the ImGuiWindowFlags_NoNavInputs flag. ( #8231 )
2024-12-16 10:51:33 +01:00
ocornut
8237ab450e
Drags, Sliders: store initial value on activation, as a convenience for some mods. ( #8223 )
2024-12-12 18:52:07 +01:00
ocornut
f25665f360
Version 1.91.7 WIP
2024-12-11 15:37:16 +01:00
ocornut
947aa9c972
Merge branch 'master' into docking
2024-12-11 15:08:31 +01:00
ocornut
993fa34749
Version 1.91.6
2024-12-11 15:05:36 +01:00