1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-02-02 12:37:20 +01:00

1792 Commits

Author SHA1 Message Date
ocornut
6684984c49 Examples: DirectX12: Reduced number of frame in flight from 3 to 2 in provided example, to reduce latency. 2025-01-15 15:13:05 +01:00
ocornut
8a9de84cd0 FontAtlas: reduced baked IM_DRAWLIST_TEX_LINES_WIDTH_MAX from 63 to 32. (#3245) 2025-01-15 14:00:03 +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
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
290e402a02 TreeNode, Tables: added ImGuiTreeNodeFlags_LabelSpanAllColumns. (#8318, #3565) 2025-01-13 18:55:09 +01:00
ocornut
32cea85331 Debug Tools: Item Picker: Always available in menu. Tweak Demo Debug Options. (#2673, #1651) 2025-01-13 15:51:39 +01:00
ocornut
00f12b9a09 InputText: Fixed not calling CallbackEdit on revert/clear with Escape key. (#8273) + rework comments.
Seems like there is no reason to not run that path. Amend ancient 9501cd99, f3ab5e625
2025-01-13 15:25:20 +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
1d962820d8 Error Handling: Turned common EndTable() and other TableXXX functions fail cases into recoverable errors. (#1651, #8314) 2025-01-12 15:20:27 +01:00
ocornut
0b8ff4b238 Backends, Examples: Vulkan: add IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE. use in descriptor pools sizes. (#6642) 2025-01-09 23:29:44 +01:00
ocornut
596e09770d Backends: SDL3: Added ImGui_ImplSDL3_InitForSDLGPU() for consistency. (#8163, #7998, #7988) 2025-01-09 17:07:53 +01:00
ocornut
e799849272 Backends: SDLGPU3: Added sdl_gpu backend (amends). (#8163, #7998, #7988) 2025-01-09 16:55:03 +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
90094a871a Fonts: Fixed miscalculation of Ellipsis ("...") character width when automatically created from a single comma character. 2025-01-08 18:13:53 +01:00
Selim Sandal
e6a7c7689f Backends: Metal: Fixed memory leaks. (#8276, #8166) 2025-01-08 12:03:18 +01:00
ocornut
f04d3cbdaa Backends: DirectX10: Expose selected render state in ImGui_ImplDX10_RenderState, which you can access in 'void* platform_io.Renderer_RenderState' during draw callbacks. (#6969, #5834, #7468, #3590)
Amend e94f95d
2025-01-06 18:28:01 +01:00
ocornut
af271e7330 Backends: DX11: Expose vertex constant buffer in ImGui_ImplDX11_RenderState.
DX9 and DX12 users can already alter the projection matrix (in undocumented ways, but possible)
2025-01-06 18:21:41 +01:00
ocornut
93a93071a2 Examples: Add Win32+Vulkan example, amends. (#8180) 2025-01-06 17:58:37 +01:00
ocornut
a2e21727c0 Backends: Vulkan: moved helpers to backend: ImGui_ImplVulkanH_SelectPhysicalDevice(), ImGui_ImplVulkanH_SelectQueueFamilyIndex(). (#8180) 2025-01-06 17:35:20 +01:00
ocornut
e7e898ea17 Tables: Fixed TableAngledHeadersRow() creating an infinite horizontal scrolling region when the table is hosted in a viewport with negative coordinates. 2025-01-06 16:12:39 +01:00
ocornut
d0021e1621 Backends: Metal: Fixed resource leak when using multiple contexts. (#7419) 2025-01-06 15:01:59 +01:00
ocornut
2f1194a296 Demo: Added label edition to Property Editor demo + fix an ID issue. (#8266) 2025-01-06 14:35:57 +01:00
juur
f169102c8e Misc: fixed misc/cpp/imgui_stdlib.h/.cpp not supporting IMGUI_DISABLE. (#8294) 2025-01-06 14:16:10 +01:00
Helodity
2d2c7d3f95 Backends: Allegro5: Avoid calling al_set_mouse_cursor() repeatedly since it appears to leak on on X11 (#8256). 2025-01-06 13:54:39 +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
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
ocornut
fd93229770 Tables, MultiSelect: Fixed an issue where column width may be mismeasured when calling BeginMultiSelect() while inside a table. (#8250) 2024-12-19 18:14:22 +01:00
ocornut
9b0e61aaaa InputText: sanity checks to e.g. detect non zero-terminated buffers + removed a redundant strlen() call during activation. 2024-12-19 15:13:22 +01:00
ocornut
e900571ac2 InputText: Fixed issue when activating a ReadOnly field when the underlying value is being modified. (#8242) 2024-12-18 16:17:14 +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
f5f11e94be InputText: Fixed a bug where character replacements performed from a callback were not applied when pasting from clipbard. (#8229) 2024-12-15 15:46:33 +01:00
ocornut
4ad5496474 Drags: Added ImGuiSliderFlags_NoSpeedTweaks flag to disable keyboard modifiers altering the tweak speed. (#8223) 2024-12-12 18:39:28 +01:00
Mahmood - Zer0xFF
e487eb9da0 Backends: Vulkan: Fixed setting VkSwapchainCreateInfoKHR::preTransform for platforms not supporting VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR. (#8222) 2024-12-11 15:41:24 +01:00
ocornut
f25665f360 Version 1.91.7 WIP 2024-12-11 15:37:16 +01:00
ocornut
993fa34749 Version 1.91.6 2024-12-11 15:05:36 +01:00
ocornut
c3ffd4c53e Misc: Added IMGUI_USE_LEGACY_CRC32_ADLER to use old tables. (#8169, #4933) 2024-12-11 12:13:28 +01:00
ocornut
d78e823449 InputText: added ImGuiInputTextFlags_ElideLeft. (#1442, #1440, #4391, #7208, #8216) 2024-12-09 15:00:04 +01:00
ocornut
d2645423de InputText: reactivating last activated InputText() doesn't restore horizontal scrolling.
Honestly not sure if the opposite is preferable or not (added commented out in the inactivate render path to test that).
Current behavior added along with recycling: f9928e96c7c762f97bbdf8cf48e04097b56da84a
2024-12-09 14:31:15 +01:00
bmarques1995
53dd7552dc Backends: DX12: let the user specifies the DepthStencilView format. (#8217)
This is particullarly important for those who use RenderPasses.
2024-12-09 12:23:09 +01:00
ocornut
43c51eb12d Tables: fixed SetNextWindowScroll() value being ignored by BeginTable() during the first frame or when scrolling flags have changed. (#8196) 2024-12-02 13:23:18 +01:00
ocornut
19a1f2a5d2 Fonts: fixed AddCustomRect() not being packed with TexGlyphPadding + not accounted in surface area. (#8107) 2024-11-29 18:58:01 +01:00
Teselka
326dc95f9c Misc: use native crc32 instructions on SEE 4.2 targets. (#8169, #4933) 2024-11-27 12:23:27 +01:00
Teselka
e6dd8f626a Misc: changed CRC32 table to use crc32c polynomial in order to be compatible with SSE 4.2 instructions. (#8169, #4933) 2024-11-27 12:20:00 +01:00
Arseny Kapoulkine
61ab94d553 Backends: Vulkan: Make descriptor pool optional (#8172, #4867)
Comments/amends by ocornut
2024-11-27 11:54:05 +01:00
ocornut
551b6c4d66 Tools: binary_to_compressed_c: added -u8/-u32/-base85 export options. 2024-11-20 14:32:44 +01:00