ocornut
9ab0b66f50
Backends: fixed comment to state that ImGuiViewport::PlaformHandle is used to store SDL's WindowID, not SDL_Window*. ( #7853 )
...
Amend 2d99052
2025-02-25 15:55:54 +01:00
ocornut
dd89bb1469
Backends: DirectX11: configure swap chain creation for secondary viewports via undocumented ImGui_ImplDX11_SetSwapChainDescs(). ( #5437 , #7607 , #7286 , #2970 )
2025-02-24 10:19:12 +01:00
Marius PvW
3064e6d10c
Viewports + Backends: Win32: Fixed setting title bar text when application is compiled without UNICODE. ( #7979 , #5725 )
2025-02-21 22:41:15 +01:00
ocornut
6acdce78d1
Backends: Win32: use UnregisterClassW() for matching consistency. ( #8423 , #7979 )
...
Amend 3293ef8bb
2025-02-21 22:13:33 +01:00
ocornut
773060155f
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_osx.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_win32.cpp
# imgui.cpp
2025-02-21 19:56:20 +01:00
ocornut
434b7710f3
Internals: packing ImGuiDataVarInfo + misc renaming + value of ImGuiDataType_Pointer doesn't need to be Count+1
2025-02-21 19:26:24 +01:00
ocornut
1a7b5945c7
Backends: GLFW/SDL2/SDL3: Update monitors and work areas information every frame, as the later may change regardless of monitor changes. ( #8415 )
2025-02-21 19:23:39 +01:00
David Maas
ea59440662
Backends: Win32: WM_SETTINGCHANGE's SPI_SETWORKAREA message also triggers a refresh of monitor list. ( #8415 )
2025-02-21 17:10:11 +01:00
ocornut
1e18a6cf60
Examples: GLFW+Vulkan: make GLFW_DIR overridable in cmake bit. ( #8419 )
2025-02-21 16:55:35 +01:00
Tygyh
a6bcbb173b
Examples: Android: Update kotlin version ( #8409 )
2025-02-20 18:07:25 +01:00
ocornut
6dc376f676
ImFontAtlas: added software/drawlist version of ImGuiMouseCursor_Wait/ImGuiMouseCursor_Progress + moved GetMouseCursorTexData() to internals.
2025-02-20 12:17:21 +01:00
ocornut
85c488ee12
Hot-fix for broken MouseDrawCursor support for ImGuiMouseCursor_Wait/ImGuiMouseCursor_Progress/ImGuiMouseCursor_NotAllowed.
...
Amend 8a35386, eec097f.
2025-02-20 11:46:56 +01:00
ocornut
05742f9b6f
Tables: share code between TableSetupColumn() and TableLoadSettings(). ( #7934 )
2025-02-19 10:55:44 +01:00
ocornut
8b7b3ce03e
Tables: fixed an issue where Columns Width state wouldn't be correctly restored when hot-reloading .ini state. ( #7934 )
...
Amend 7cd31c355
column->SortDirection initialized setting was wrong in first block but without side-effect, since sorting always stored explicitly in .ini data.
2025-02-19 10:50:57 +01:00
ocornut
eec097fe35
Added ImGuiMouseCursor_Progress mouse cursor 8a35386+ support in SDL2,SDL3,Win32,Allegro5 backends.
...
Amend 8a35386
2025-02-18 18:52:08 +01:00
ocornut
8a35386ba7
Added ImGuiMouseCursor_Wait mouse cursor (busy/wait/hourglass shape) + support in SDL2,SDL3,Win32,Allegro5 backends.
2025-02-18 18:40:47 +01:00
ocornut
8f0411ff03
Backends: OpenGL3: Lazily reinitialize embedded GL loader for when calling backend from e.g. other DLL boundaries. ( #8406 )
2025-02-18 18:19:10 +01:00
ocornut
afd659bb92
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_vulkan.cpp
2025-02-17 11:46:16 +01:00
Nico van Bentum
c4a32a129d
Tabs: fixed middle-button to close not checking hovering, only close button visibility. ( #8399 , #8387 )
...
Main bug has been here since 54a60aaa4, but it's only ef7ffaff7 which made it very visible.
2025-02-17 11:44:35 +01:00
ocornut
78ec1272e9
ImDrawList: added InitialFringeScale in ImDrawListSharedData. Default to 1.0f.
...
This is to allow some DPI mods with less changes. Only the initial value in SetupDrawListSharedData() will need change.
2025-02-17 11:28:35 +01:00
ocornut
2860d7ba05
Selectable: Fixed horizontal label alignment with SelectableTextAlign.x > 0 and specifying a selectable size. ( #8338 )
...
Regression from ed7551c1d
2025-02-14 19:44:35 +01:00
ocornut
474305c476
ImFont: simpler constructor.
2025-02-14 16:15:09 +01:00
ocornut
ec4cd2cb8c
Backends: Vulkan: Fixed crash with using no prototypes + *BREAKING* Added ApiVersion to ImGui_ImplVulkan_LoadFunctions(). ( #8326 , #8365 , #8400 )
2025-02-14 12:19:39 +01:00
ocornut
a4ebe3d576
Viewports: Fixed assertion when multi-viewports disabled and no monitor submitted. Reworked 95c4111. ( #8401 , #8393 , #8385 )
2025-02-14 12:04:05 +01:00
ocornut
98c2f6b0c4
Tables, Error Handling: Recovery from invalid index in TableSetColumnIndex(). ( #1651 )
2025-02-13 16:19:41 +01:00
ocornut
e1ae7db4cc
Backends: Vulkan: Fixed building with older headers not supporting VK_HEADER_VERSION_COMPLETE. ( #8326 , #8365 )
2025-02-13 16:03:40 +01:00
ocornut
12963f5231
Examples: Vulkan: make ApiVersion a little more visible in examples. ( #8326 , #8365 )
2025-02-13 15:49:47 +01:00
ocornut
890ead6a71
Backends: Vulkan: Added ApiVersion field in ImGui_ImplVulkan_InitInfo. Dynamic rendering path loads "vkCmdBeginRendering/vkCmdEndRendering" without -KHR on API 1.3. ( #8326 , #8365 )
2025-02-13 15:40:49 +01:00
Gabriel Rodriguez
95c4111783
Viewports: default to first monitor is viewport is outside bounds. ( #8393 , #8385 )
...
Before the assert was introduced in d66f4e589 the viewport would be eventually clamped with ClampWindowPos using g.FallbackMonitor, but code would run temporarly with DpiScale=0.
2025-02-13 15:01:54 +01:00
Rémy Tassoux
f94a5f0e8c
Docs: Update doc about plutosvg ( #8395 )
2025-02-13 14:30:49 +01:00
ocornut
b78cc37891
Backends: SDL2: Fixed build for versions older than 2.0.14. ( #7660 )
2025-02-12 19:27:43 +01:00
ocornut
71d39a4634
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
# imgui_internal.h
2025-02-12 19:17:48 +01:00
ocornut
a931fb7f51
Fixed static analyzer warning.
...
(was harmless as initialized in NewFrame)
2025-02-12 19:15:00 +01:00
ocornut
7cd31c3557
Tables: tamed some .ini settings optimizations to more accurately allow overwriting/hot-reloading settings. ( #7934 )
2025-02-12 19:08:52 +01:00
ocornut
7221f5e739
Styles, Tabs: Fixed ef7ffaf. ( #8387 )
2025-02-12 19:01:02 +01:00
ocornut
ef7ffaff74
Styles, Tabs: (Breaking) Renamed TabMinWidthForCloseButton to TabCloseButtonMinWidthUnselected. Added TabCloseButtonMinWidthSelected. ( #8387 )
2025-02-12 15:46:17 +01:00
PuPuHX
3d900edba7
Examples: Win32+DirectX12: Fixed ExampleDescriptorHeapAllocator overflow free index.
...
Amend 40b2286d1.
2025-02-12 14:29:51 +01:00
fdsa
6916f935eb
InputText: Allow CTRL+Shift+Z to redo even outside of OSX. ( #8389 )
2025-02-12 14:25:38 +01:00
ocornut
3b2f2602b4
Windows: Fixed an issue where BeginChild() inside a collapsed Begin() wouldn't inherit the SkipItems flag.
...
Amend/fix a89f05a10 (old!)
Discovered while looking at glyph being processed in WIP branch.
2025-02-10 21:34:55 +01:00
ocornut
4dc9df6aae
Tables: fixed an issue where Columns Visible/Hidden state wouldn't be correctly overridden when hot-reloading .ini state. ( #7934 )
2025-02-10 19:29:18 +01:00
ocornut
88cda0cab6
Fixed minor warning. Added comment.
2025-02-10 12:39:54 +01:00
ocornut
a431e1277e
Backends: SDL2, SDL3: Using SDL_OpenURL() in platform_io.Platform_OpenInShellFn handler. ( #7660 )
2025-02-10 12:09:44 +01:00
ocornut
a18622c369
TextLinkOpenURL(): fixed default Win32 io.PlatformOpenInShellFn handler to handle UTF-8 regardless of system regional settings. ( #7660 )
2025-02-10 12:02:01 +01:00
ocornut
2206e31e54
Demo: Combos: demonstrate a very simple way to add a filter to a combo. ( #718 )
2025-02-10 11:38:17 +01:00
edenware
e8ad60cc4f
Fix typo ( #8382 )
2025-02-08 04:01:46 +01:00
ocornut
50dbb086f2
Tables: sneakily honor ImGuiNextWindowDataFlags_HasChildFlags/ImGuiNextWindowDataFlags_HasWindowFlags as a way to facilitate various hacks/workarounds.
2025-02-07 22:57:15 +01:00
ocornut
e368015d79
Tables: a clipped scrolling table correctly clears SetNextWindowXXX flags. ( #8196 )
...
Amend 43c51eb12
2025-02-07 22:56:02 +01:00
ocornut
e5668b8c73
Internals: rename ImGuiNextWindowData::Flags to HasFlags for consistency and to reduce mistakes.
2025-02-07 22:48:31 +01:00
ocornut
8679cfa2d8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# examples/example_apple_metal/example_apple_metal.xcodeproj/project.pbxproj
# imgui.cpp
2025-02-07 18:27:32 +01:00
ocornut
4982602f6f
Windows, Style: Added style.WindowBorderHoverPadding setting to configure inner/outer padding applied to hit-testing of windows borders.
...
Amend 3c7177c6, 59f3c4fc2, ae7f833c6.
Could be latched inside windows to be multi-dpi friendly, but likely won't matter soon.
2025-02-07 18:16:04 +01:00