ocornut
b580c11303
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl2.cpp
2025-06-20 15:19:36 +02:00
ocornut
e97e55adbc
Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends.
...
dx12: 'ImGui_ImplDX12_Data* bd' shadowed local in spite of being in lambda.
2025-06-20 15:18:00 +02:00
ocornut
e55415bfef
(Breaking) renamed/moved ImGuiConfigFlags_DpiEnableScaleFonts -> ioConfigDpiScaleFonts, ImGuiConfigFlags_DpiEnableScaleViewports -> io.ConfigDpiScaleViewports
2025-06-11 15:02:06 +02:00
ocornut
a92b53df7b
Backends: Win32: Viewports: handle WM_DPICHANGED in backend when ImGuiConfigFlags_DpiEnableScaleViewports flag is enabled.
2025-06-02 19:21:22 +02:00
ocornut
1c8fad73f8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_win32.cpp
2025-05-07 15:24:46 +02:00
ocornut
c0dfd65d67
Backends: Win32: Fixed an issue where externally losing mouse capture (due to e.g. focus loss) would fail to claim it again the next subsequent click. ( #8594 )
2025-04-30 16:23:58 +02:00
ocornut
df5690d91a
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
2025-03-30 16:42:28 +02:00
ocornut
0c079e453b
Backends: Win32: Viewports: fixed an issue when closing a window from the OS close button (with io.ConfigViewportsNoDecoration=false) while user code is discarding the 'bool *p_open=false output' from Begin()
2025-03-26 22:59:14 +01:00
ocornut
979c7d76ab
Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. ( #8508 )
2025-03-21 15:42:47 +01:00
ocornut
79bba34c5f
Revert "Added ImGuiKey_AbntC1, ImGuiKey_AbntC2 + Backends: GLFW, Win32: added support. ( #8468 )"
...
This reverts commit 557c77e455
.
2025-03-13 16:32:50 +01:00
ocornut
557c77e455
Added ImGuiKey_AbntC1, ImGuiKey_AbntC2 + Backends: GLFW, Win32: added support. ( #8468 )
2025-03-11 18:38:45 +01:00
ocornut
6972b6c380
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_win32.cpp
2025-03-10 20:02:36 +01:00
ocornut
a9e53829d2
Backends: Win32, SDL2, SDL3, GLFW: prioritize scancodes instead of translated keycodes when dealing with OEM keys + Added ImGuiKey_Oem102. ( #7136 , #7201 , #7206 , #7306 , #7670 , #7672 , #8468 )
2025-03-10 18:01:29 +01:00
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
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
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
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
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
fdsa
4f1d3809c3
Fixed tabs and spaces ( #8377 )
2025-02-06 19:54:43 +01:00
ocornut
d80347613a
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.mm
# imgui.cpp
# imgui_internal.h
2025-02-03 18:42:24 +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
a9cd0f5e42
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_allegro5.cpp
# backends/imgui_impl_allegro5.h
# backends/imgui_impl_android.cpp
# backends/imgui_impl_android.h
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx10.h
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_dx9.h
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# 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_sdl2.h
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_sdl3.h
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_vulkan.h
# backends/imgui_impl_win32.cpp
# backends/imgui_impl_win32.h
# imgui.cpp
2024-12-11 12:27:25 +01:00
ocornut
43fbd7ce84
Backends: standardized top of file comments.
2024-12-05 12:43:04 +01:00
ocornut
566558b17c
Replacing NULL with nullptr in examples/backends when they creeped back. ( #6313 , #7071 , #4537 )
2024-12-05 12:25:02 +01:00
ocornut
dad1047b04
Backends: Win32: Fixed a crash when multiple processes are running with multi-viewports, caused by misusage of GetProp(). ( #8162 , #8069 )
...
Amend fedf45c77
2024-11-21 15:01:21 +01:00
ocornut
83660e37e3
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glut.cpp
# backends/imgui_impl_glut.h
# backends/imgui_impl_metal.mm
# imgui.cpp
# imgui_demo.cpp
2024-11-06 17:58:35 +01:00
ocornut
6f287dd16d
(Breaking) Removed pre-1.87 obsolete io.KeyMap[], io.KeysDown[], io.NavInputs[]. Remove IMGUI_DISABLE_OBSOLETE_KEYIO. ( #4921 )
2024-11-06 17:54:59 +01:00
ocornut
ee1deccc08
Backends: Win32 + Viewports: remove current context change from ImGui_ImplWin32_WndProcHandler_PlatformWindow().
...
Amend fedf45c
+ cba656a. Amend 416cfdb9
.
2024-10-28 17:41:56 +01:00
ocornut
9d6ec825cb
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_win32.cpp
2024-10-28 17:27:38 +01:00
ocornut
3b8c7d0326
Backends: Win32: rework to add ImGui_ImplWin32_WndProcHandlerEx() not using current context (experimental). ( #8069 , #6293 , #5856 , #586 )
...
+ GetIOEx(). Amend fedf45c
+ cba656a. Amend 416cfdb9
.
2024-10-28 17:22:17 +01:00
ocornut
fedf45c77e
Backends: Win32 + Viewports: tweak ImGui_ImplWin32_WndProcHandler_PlatformWindow() to be easier to rework in a parallal friendly way. ( #8069 )
2024-10-28 17:11:37 +01:00
ocornut
d67e2eea1a
Backends: Win32: internal rename.
2024-10-28 16:44:32 +01:00
ocornut
942b64abfc
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
2024-10-24 18:15:51 +02:00
ocornut
a908d73c16
Backends: avoid missing -Wmissing-declaration warning. ( #8087 , #7997 )
2024-10-24 17:24:47 +02:00
ocornut
514a97a9b7
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx11.h
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx12.h
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdlrenderer2.cpp
# backends/imgui_impl_sdlrenderer2.h
# backends/imgui_impl_sdlrenderer3.cpp
# backends/imgui_impl_sdlrenderer3.h
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_vulkan.h
# backends/imgui_impl_wgpu.cpp
# backends/imgui_impl_wgpu.h
# backends/imgui_impl_win32.cpp
# imgui.cpp
# imgui_demo.cpp
2024-10-14 19:23:23 +02:00
ocornut
d885fe4dd0
(Breaking) moved ImGuiConfigFlags_NavEnableSetMousePos -> io.ConfigNavMoveSetMousePos, ImGuiConfigFlags_NavNoCaptureKeyboard -> ConfigNavCaptureKeyboard. ( #2517 , #2009 )
2024-10-14 15:29:24 +02:00
ocornut
22503bfe75
Backends: changed all backends to allow enabling ImGuiConfigFlags_ViewportsEnable after initialization. ( #5371 )
2024-10-08 20:47:24 +02:00
ocornut
3293ef8bbc
Backends: Win32: Use ResisterClassW()/CreateWindowExW() for secondary viewports. ( #7979 , #5725 )
2024-10-03 12:04:54 +02:00
ocornut
bc77cccd31
Merge branch 'master' into docking
2024-09-19 14:52:43 +02:00
ocornut
42272505c9
Backends: ensure that ImGuiPlatformMonitor list is available after backend Init call. ( #7995 )
2024-09-19 14:25:01 +02:00
ocornut
cfae5ac71b
Backends: make ImGui_ImplSDL2_KeyEventToImGuiKey(), ImGui_ImplSDL3_KeyEventToImGuiKey(), ImGui_ImplGlfw_KeyToImGuiKey(), ImGui_ImplWin32_KeyEventToImGuiKey(), ImGui_ImplAllegro5_KeyCodeToImGuiKey(), ImGui_ImplOSX_KeyCodeToImGuiKey(), non-static. ( #7997 )
...
Backends: Win32: Refactor ImGui_ImplWin32_KeyEventToImGuiKey() logic.
Ref #7672
2024-09-19 14:10:00 +02:00
ocornut
08b1496b7e
Backends: Win32: fixed an issue where a viewport destroyed while clicking would hog mouse tracking and temporary lead to incorrect update of HoveredWindow. ( #7971 )
...
# Conflicts:
# backends/imgui_impl_win32.cpp
# docs/CHANGELOG.txt
2024-09-16 17:25:57 +02:00
ocornut
8ba7efb738
Backends: Win32: fixed an issue where a viewport destroyed while clicking would hog mouse tracking and temporary lead to incorrect update of HoveredWindow. ( #7971 )
2024-09-16 17:23:33 +02:00
ocornut
44a74509af
Backends: Win32: fixed direct calls to platform_io.Platform_SetWindowPos()/Platform_SetWindowSize() on windows created by application (typically main viewport).
2024-09-16 13:56:25 +02:00
ocornut
65840c19c4
Backends: SDL2, SDL3, Win32: don't submit monitor with 0 DpiScale (e.g. accessibility virtual monitor?). to prevent assert. ( #7902 )
...
I am not too confident on this but I believe pushing this is the fastest way we will get feedback.
2024-08-19 12:19:06 +02:00
ocornut
5ea96c15cd
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_win32.cpp
2024-07-15 11:21:18 +02:00
Aemony
9504068f66
Backends: Win32: fixed ImGuiMod_Super being mapped to VK_APPS instead of VK_LWIN||VK_RWIN ( #7768 , #4858 , #2622 )
...
Amend 075576744
The `ImGui_ImplWin32_UpdateKeyModifiers()` function maps `ImGuiMod_Super` to `VK_APPS`, the "Application" key located between the Right Windows (Super) and Right Control keys on the keyboard, see https://conemu.github.io/en/AppsKey.html
This means that when using `ImGui::GetIO().KeySuper` to try to get the down state of the `VK_RWIN` or `VK_LWIN` keys, it'll always return FALSE when either of those keys are held down, and only return TRUE when `VK_APPS` is held down.
2024-07-08 13:59:07 +02:00