ocornut
a908d73c16
Backends: avoid missing -Wmissing-declaration warning. ( #8087 , #7997 )
2024-10-24 17:24:47 +02:00
Nicolas Chavez
b4033b37ad
Backends: WGPU: update for Dawn WGPU String usage. ( #8082 , #8083 )
2024-10-24 14:59:06 +02:00
Eugene Sandulenko
a855bd8df3
Backends: SDL2: Replace SDL_Vulkan_GetDrawableSize() forward declaration with the actual include. ( #8095 , #7967 , #3190 )
2024-10-24 14:52:25 +02:00
ocornut
06092a9756
Backends: SDL2, SDL3: SDL_EVENT_MOUSE_WHEEL event doesn't require dividing by 100.0f on Emscripten. ( #4019 , #6096 , #1463 )
...
Ref https://github.com/libsdl-org/SDL/issues/10454#issuecomment-2434187317
2024-10-24 14:47:23 +02:00
ocornut
4994e75852
Backends: DX12: Unmap() call specify written range.
...
The range is informational and may be used by debug tools.
2024-10-23 12:40:20 +02:00
ocornut
42f47590f9
Fixed ad37b79
breaking IsItemHovered()->IsItemFocused() passthrough for navigation.
...
+ Backends: comments.
2024-10-14 19:22:05 +02:00
ocornut
d885fe4dd0
(Breaking) moved ImGuiConfigFlags_NavEnableSetMousePos -> io.ConfigNavMoveSetMousePos, ImGuiConfigFlags_NavNoCaptureKeyboard -> ConfigNavCaptureKeyboard. ( #2517 , #2009 )
2024-10-14 15:29:24 +02:00
ocornut
c4bc674482
IO: WantCaptureKeyboard is never set when ImGuiConfigFlags_NoKeyboard is enabled. ( #4921 )
...
+ Retroactively add missing changelog item in 1.90
+ Backends: Vulkan: use GetTexID() for consistency.
2024-10-11 15:31:17 +02:00
ocornut
a0b811dd37
Backends: SDLRenderer2/3: expose selected state in ImGui_ImplXXXX_RenderState structures during render loop. ( #6969 , #5834 , #7468 , #3590 + #7616 )
2024-10-09 16:39:36 +02:00
ocornut
c3629adbeb
Backends: Metal: fixed ImTextureID cast. ( #1641 )
...
Amend 92b9498
2024-10-08 14:34:41 +02:00
ocornut
92b94980c6
(Breaking) Default ImTextureID to use a Im64 instead of void* ( #1641 )
2024-10-08 14:21:44 +02:00
ocornut
f890d85381
Backends: Fixed typo in comments from old wip work 'io.BackendRendererRenderState' -> 'platform_io.Renderer_RenderState'. ( #6969 , #5834 , #7468 , #3590
...
Amend e94f95d
2024-10-07 22:12:09 +02:00
ocornut
42206b3d51
Backends: DX9, DX10, DX11, DX12, OpenGL, Vulkan, WGPU: Changed default texture sampler to Clamp instead of Repeat/Wrap. ( #7468 , #7511 , #5999 , #5502 )
2024-10-07 22:02:55 +02:00
ocornut
74dd38d27c
Backends: Vulkan: fixed warnings when building in 32-bit mode.
2024-10-07 21:53:46 +02:00
ocornut
e94f95d82b
Backends: DX11, DX12, Vulkan, WGPU: Expose some backend-specific render state usable for callbacks. ( #6969 , #5834 , #7468 , #3590 )
2024-10-07 21:45:19 +02:00
ocornut
9bd5d8a240
Backends: misc renaming of locals. Use 'draw_list' instead of 'cmd_list'. Avoid using 'ctx'.
...
This is likely to trigger merging issues. If it does, best to always get "theirs" and rename in there.
2024-10-07 17:57:11 +02:00
Mark Sibly
7f81fbc542
Backends: WGPU: Fix new WGPUStringView breaks shader compilation. ( #8009 , #8010 )
2024-09-23 13:56:21 +02:00
ocornut
0af2c4ef76
Backends: SDL3: Update for API changes: SDL_bool removal. SDL_INIT_TIMER removal. ( #7999 )
2024-09-19 16:02:23 +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
Aaron C Gaudette
1ac162f2b0
Backends: WGPU: add IMGUI_IMPL_WEBGPU_BACKEND_DAWN/IMGUI_IMPL_WEBGPU_BACKEND_WGPU to support more targets. ( #7977 , #7969 , #6602 , #6188 , #7523 )
2024-09-16 16:26:13 +02:00
Yan Pujante
6dcb7be35f
CI: amend build tests for emscripten ( #7965 )
...
+ Backends: GLFW: minor preemptive fix.
2024-09-12 20:23:01 +02:00
Yan Pujante
ac2ad79812
Backends: GLFW+Emscripten: use OSX behaviors automatically when using contrib glfw port. ( #7965 , #7915 )
2024-09-12 19:50:50 +02:00
scribam
4236bc088f
Backends: SDL2: use SDL_Vulkan_GetDrawableSize with Vulkan instead of SDL_GL_GetDrawableSize. ( #7967 , #3190 )
2024-09-09 17:33:28 +02:00
Yan Pujante
30dcdcbe73
Backends: GLFW: Emscripten: use OpenURL() when available and using EMSCRIPTEN_USE_PORT_CONTRIB_GLFW3. Fixes popup blocked in some browsers. ( #7915 , #7660 )
2024-09-03 19:32:00 +02:00
ocornut
4832027eb6
Examples: SDL3: Update for API changes: SDL_Init() returns 0 on failure.
2024-09-03 19:11:51 +02:00
Matt Guerrette
6a7319543c
Backends: SDL3: following SDL3 reverting their change, result of SDL_GetGamepads must be freed. ( #7918 , #7898 , #7807 )
2024-09-03 18:50:10 +02:00
ocornut
d15da2c47d
Backends: GLFW: undo accidentally not committing use of Platform_SetClipboardTextFn as I was testing the legacy path (amend 214977e
).
2024-08-22 20:27:50 +02:00
ocornut
214977e5fd
IO: (BREAKING) moved io.GetClipboardTextFn, io.SetClipboardTextFn to platform_io.Platform_GetClipboardTextFn, platform_io.Platform_SetClipboardTextFn.
2024-08-22 20:12:23 +02:00
ocornut
9ff60ae31d
IO: (BREAKING) moved GetIO().PlatformSetImeDataFn to GetPlatformIO(.Platform_SetImeDataFn. ( #7660 )
2024-08-22 20:11:55 +02:00
ocornut
ba2f4a2cd5
IO: (BREAKING) moved GetIO().PlatformOpenInShellFn to GetPlatformIO(.Platform_OpenInShellFn. ( #7660 )
2024-08-22 20:11:36 +02:00
ocornut
8e40104795
Backends: GLFW: passing null window to glfwGetClipboardString()/glfwSetClipboardString().
2024-08-22 18:13:34 +02:00
ocornut
2d99052d1d
Backends: SDL2, SDL3: storing SDL_WindowID inside ImGuiViewport::PlatformHandle instead of SDL_Window*. ( #7853 )
...
This will be used to support filtering of events with multi-viewports.
2024-08-19 14:43:43 +02:00
ocornut
1b61d55079
Backends: SDL2, SDL3: ignore events of other SDL windows, amends + wrapping into a function as it'll be convenient for multi-viewport check. ( #7853 )
...
+ Misc typo fix.
2024-08-19 14:43:40 +02:00
Anonymous Maarten
591a18a9c4
Backends: SDL2, SDL3: ignore events of other SDL windows. ( #7853 )
2024-08-19 13:54:39 +02:00
ocornut
71ee2ce367
Examples: GLFW: rework examples main loop to handle minimization without burning CPU or GPU by running unthrottled code. ( #7844 )
...
Backends: GLFW: added ImGui_ImplGlfw_Sleep() helper.
2024-07-31 17:33:24 +02:00
ocornut
3f9a90e2a3
Docs: added extraneous link to Getting Started section.
2024-07-25 16:59:40 +02:00
Cyao
fe09ebbe0a
Backends: OpenGL3: Fixed unsupported option warning with apple clang ( #7810 )
2024-07-22 21:10:35 +02:00
ocornut
eb72b5a8ee
Backends: SDL3: Update for API changes: SDL_GetGamepads() memory ownership change. ( #7807 )
2024-07-22 10:49:22 +02:00
ocornut
c2d21ab04f
Backends: SDL3: Update for API changes: SDL_GetClipboardText() string ownership change. ( #7801 )
2024-07-18 14:02:27 +02:00
ocornut
9c2f6003e4
Backends: SDL3: fixed typo leading to PlatformHandleRaw not being set leading to SHOWNA path not working for multi-viewports.
2024-07-15 11:17:21 +02:00
wermi
df3a74389e
Backends: SDL3: Update for API changes: SDL_GetProperty() change to SDL_GetPointerProperty(). ( #7794 )
2024-07-15 11:16:26 +02:00
ocornut
a8e96ae21a
Backends: GLFW+Emscripten: Fixed build ( #7647 )
2024-07-08 22:26:14 +02:00
Yan Pujante
2937339c17
Backends: GLFW+Emscripten: Added support for GLFW3 contrib port. ( #7647 )
2024-07-08 22:06:24 +02:00
Yan Pujante
6816789a6b
Backends: GLFW+Emscripten: (Breaking) Renamed ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback() to ImGui_ImplGlfw_InstallEmscriptenCallbacks(), added GLFWwindow* parameter. ( #7647 , #7600 )
...
+ Fixed Emscripten warning when using mouse wheel on some setups.
2024-07-08 22:02:48 +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
ocornut
0ebf49b4c1
IO: amend PlatformOpenInShellFn specs to return a bool. ( #7660 )
...
Amend 8f36798
2024-07-02 19:03:40 +02:00
ocornut
380b3559c6
Backends: GLFW,SDL2: Added ioPlatformOpenInShellFn handler for web/Emscripten versions. ( #7660 )
2024-07-02 18:06:19 +02:00
ocornut
fb799bba7f
(Breaking) IO, IME: renamed platform IME hook io.SetPlatformImeDataFn() -> io.PlatformSetImeDataFn() and added explicit context.
2024-07-02 15:48:32 +02:00
ocornut
ae708e3bcd
Backends: SDL3: add default case to fix warnings. ( #7763 )
2024-07-02 12:12:25 +02:00