Commit graph

10367 commits

Author SHA1 Message Date
ocornut
5f373fa3c6 WIP - Removed old code. 2025-03-31 17:37:39 +02:00
ocornut
af1732eb57 WIP - AddFont() actually does the work, so we can handle errors & return an accurate return value. 2025-03-31 17:37:39 +02:00
ocornut
49e35f0089 imgui_freetype: Removing old code. 2025-03-31 17:37:38 +02:00
ocornut
cf6b4c76c4 imgui_freetype: Added Freetype implementation for new architecture. 2025-03-31 17:37:38 +02:00
thedmd
eae2a05830 WIP - Backends: Metal: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 17:37:38 +02:00
ocornut
377f5beca0 WIP - Backends: Allegro5: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 17:37:38 +02:00
ocornut
437435846f WIP - Backends: SDLGPU3: reusing texture transfer buffer. 2025-03-31 17:37:38 +02:00
ocornut
0877cac68e WIP - Backends: SDLGPU3: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
50f1d3830e WIP - Backends: SDL_Renderer3: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
bed34ebbf8 WIP - Backends: SDL_Renderer2: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
ebc174a22e WIP - Backends: Vulkan: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
bd985153e6 WIP - Backends: OpenGL2: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
0cf0bd27f7 WIP - Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
a5fccb498e WIP - Backends: DirectX12: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
8beb6e922b WIP - Backends: DirectX10: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
e9ba9d6181 WIP - Backends: DirectX9: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
eec6305ae3 WIP - Backends: DirectX11: added ImGuiBackendFlags_RendererHasTextures support. 2025-03-31 14:53:54 +02:00
ocornut
74b711e072 WIP - Adding a RefCount to textures so backend can avoid destroying them on shutdown if atlas is shared. 2025-03-31 14:53:54 +02:00
ocornut
46325b4b59 WIP - Single Textures[] array allows backend to not have to care about atlases. 2025-03-31 14:53:54 +02:00
ocornut
8d9582ad1e WIP - Add ImTextureUserID_Invalid + introducing SetTexUserID().
Which gives us room for potentially updating ImDrawData during render.
2025-03-31 14:53:54 +02:00
ocornut
e27b013f28 WIP - Selecting font config source list done by shared code. 2025-03-31 14:53:54 +02:00
ocornut
8a7bc799f1 WIP - (squash) Rename FontBackend -> FontLoader 2025-03-31 14:53:54 +02:00
ocornut
e8cda61bc1 WIP - Main code for ImGuiBackendFlags_RendererHasTextures feature. 2025-03-31 14:53:54 +02:00
ocornut
889b03b320 WIP (Breaking) added ImTextureRef struct.
Softly breaking. May require support from language binding generator.
Rebased and reworked completely on 2025/03/19.
2025-03-31 14:53:54 +02:00
ocornut
8d8b125832 Backends: SDLGPU3: Made ImGui_ImplSDLGPU3_PrepareDrawData() reuse GPU Transfer Buffers which were unusually slow to recreate every frame. (#8534) 2025-03-31 14:52:48 +02:00
ocornut
df5690d91a Merge branch 'master' into docking
Some checks are pending
build / Linux (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Windows (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Android (push) Waiting to run
# 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
a26fcf58cc Nav: fixed assertion when holding gamepad FaceLeft/West button + pressing a keyboard key. (#8525)
Some checks are pending
build / Windows (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Android (push) Waiting to run
2025-03-30 16:40:39 +02:00
ocornut
8bbdfefe05 Nav: added bool ConfigNavWindowingWithGamepad to disable windowing with gamepad. (#8525, #4828, #3255, #5641) 2025-03-30 15:05:27 +02:00
ocornut
187acb8609 Nav: polling gamepad for ImGuiKey_NavGamepadMenu use routing-friendly Shortcut() so Ctrl+Tab equivalent may be hijacked. (#8525, #4828, #3255, #5641) 2025-03-30 14:46:58 +02:00
Green Sky
5c9fb8f064 Backends: SDL3: Update for API changes: Revert SDL_GetClipboardText() memory ownership change. (#8530, #7801)
see https://github.com/libsdl-org/SDL/pull/10390
2025-03-30 13:52:39 +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()
Some checks failed
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
2025-03-26 22:59:14 +01:00
gan74
7674cbc9b2 Added extra operators to ImVec4. (#8510)
Some checks failed
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
2025-03-23 13:09:14 +01:00
ocornut
dbd9ae287a Windows: fixed SetNextWindowCollapsed()/SetWindowCollapsed() breaking codepath that preserve last contents size when collapsed. (#7691) 2025-03-23 12:57:14 +01:00
ocornut
702a67807b Move Changelog entry. (#8509) 2025-03-21 20:17:49 +01:00
puugz
a806d2f9b8 Backends: SDLGPU: Fixed typo in function name Imgui_ImplSDLGPU3_PrepareDrawData() -> ImGui_ImplSDLGPU3_PrepareDrawData(). (#8509, 8163, #7998, #7988) 2025-03-21 20:16:56 +01:00
ocornut
ca3ba28768 Internals: made MousePos an argument of UpdateHoveredWindowAndCaptureFlags(). (#8431, #1152) 2025-03-21 17:21:45 +01:00
tanksdude
f5003aff69
Docs: Fix some typos (#8505) 2025-03-21 16:23:09 +01:00
ocornut
102f3f3a0d IO: variations in analog-only components of gamepad events do not interfere with trickling of mouse position events (#4921, #8508) 2025-03-21 16:18:36 +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
790f2b9a7a Merge branch 'master' into docking 2025-03-19 17:54:42 +01:00
ocornut
d467950a5e Style, InputText: added ImGuiCol_InputTextCursor to configure color of the InputText cursor/caret. (#7031) 2025-03-19 17:50:40 +01:00
ocornut
0ecb2bbe74 Version 1.92.0 WIP 2025-03-19 17:45:20 +01:00
ocornut
ee48ffe021 Added comments about line/rect thickness needing scaling. (#7031) 2025-03-19 17:42:19 +01:00
ocornut
5679de60c5 Error Handling: added better report and recovery for extraneous EndPopup() call. (#1651, #8499) 2025-03-18 17:35:43 +01:00
ocornut
4806a1924f Merge branch 'master' into docking 2025-03-17 20:18:29 +01:00
ocornut
f5befd2d29 Version 1.91.9b 2025-03-17 20:17:26 +01:00
ocornut
cfed7a3a54 Tables: fixed assert/issues loading settings. (#8496, #7934)
Not sure what I did with 05742f9b6f but I missed on the primary filter.
2025-03-17 20:04:50 +01:00
ocornut
93b446a962 Backtrack of version tagging 1.92.0 > 1.91.9b for publishing a hotfix (#8496) 2025-03-17 19:39:52 +01:00
ocornut
a7dc184772 Moved ImDrawIdx definition lower in imgui.h. Moved ImTextureID slightly below in its own section. 2025-03-17 19:19:25 +01:00
ocornut
bfaef8ca17 Version 1.92.0 WIP 2025-03-17 19:09:07 +01:00