ocornut
3e6bdc2242
Examples: SDL3+SDL_GPU: use SDL_GPU_PRESENTMODE_MAILBOX swapchain parameters.
2025-01-22 10:22:31 +01:00
ocornut
bf13442c7c
Moved ImGuiColorEditFlags_AlphaPreview/ImGuiColorEditFlags_AlphaPreviewHalf flags. Demo: reorganized some of color edit/picker demo section.
2025-01-21 14:59:29 +01:00
David Maas and ocornut
2af26b75d1
ColorEdit, ColorPicker: Fixed alpha preview broken in 1.91.7. ( #8336 , #8241 ). [@PathogenDavid]
...
ImAlphaBlendColors() was broken by ImLerp() change. (cd6c83c )
2025-01-21 14:26:00 +01:00
ocornut
7ae7c90790
Tabs, Style: reworked selected overline rendering to better accommodate for rounded tabs. ( #8334 )
2025-01-21 13:55:44 +01:00
ocornut
e8779a67b1
Font: direct AddText()/RenderText() calls don't need to call strlen() if below clipping region.
...
Unlikely to meaningful affect anyone but still..
2025-01-20 18:00:03 +01:00
ocornut
4c2e7bb035
Backends: SDL2,SDL3: removed assert preventing using ImGui_ImplSDL2_SetGamepadMode()/ImGui_ImplSDL3_SetGamepadMode() with ImGui_ImplSDL2_GamepadMode_Manual/ImGui_ImplSDL3_GamepadMode_Manual and an empty array. ( #8329 )
2025-01-20 15:24:46 +01:00
ocornut
8b0af7fddc
Backends: SDL: update comments regarding API stability, regarding SDL_GPU and SDL_Renderer.
2025-01-20 14:30:40 +01:00
Julian Rachele and ocornut
aa1b4ea861
Backends: OSX: Remove notification observer when shutting down. ( #8331 )
2025-01-20 09:24:43 +01:00
Daniel K. O. (dkosmari) and ocornut
aa23f3801b
Backends: SDL_Renderer2/3: Use endian-dependent RGBA32 texture format, to match SDL_Color. ( #8327 )
2025-01-18 17:26:36 +01:00
ocornut
80c9cd1f6e
Font: reduce unnecessary padding in ImFontConfig struct too.
2025-01-18 16:45:58 +01:00
ocornut
d7454de80a
Font: minor tweak to struct alignment.
2025-01-17 18:09:28 +01:00
ocornut
dd89a3741b
Backends: Vulkan: sharing duplicate code. ( #5446 , #8326 )
2025-01-17 17:11:22 +01:00
ocornut
487d7f9a29
Font: Internals: make used page maps smaller. Since it's extremely rarely used and for iterations only. ~34->16 bytes with ImWchar32.
2025-01-16 22:30:43 +01:00
ocornut
f2262eb81a
Windows: latch FontRefSize at time of Begin(), consistent with e.g. TitleBarHeight, and to avoid calling CalcFontSize() on non-current window.
2025-01-16 19:46:54 +01:00
ocornut
b7c27c5333
Windows: legacy SetWindowFontScale() is properly inherited by nested child windows. ( #2701 , #8138 , #1018 )
2025-01-16 19:08:39 +01:00
ocornut
4c64ba16c5
imgui_freetype: fixed issue where glyph advances would incorrectly be snapped to pixels.
2025-01-16 17:42:00 +01:00
Diego Mateos and GitHub
007735737a
Ignore vscode artifacts ( #8324 )
2025-01-16 17:10:26 +01:00
ocornut
b4a5d1dc53
Backends: SDLGPU3: Rename GpuDevice->Device. Expose ImGui_ImplSDLGPU3_CreateDeviceObjects(), ImGui_ImplSDLGPU3_DestroyDeviceObjects(). Misc renaming. ( #8163 , #7998 , #7988 )
2025-01-16 12:43:06 +01:00
ocornut
0f33d7185f
Examples: Vulkan: vkAcquireNextImageKHR() and vkQueuePresentKHR() returning VK_SUBOPTIMAL_KHR keeps moving forward. ( #7825 , #7831 )
2025-01-15 17:31:38 +01:00
ocornut
8ebf22d3c1
Backends: Vulkan: use ImVector<> for simplicity.
2025-01-15 16:21:16 +01:00
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
0e21bde77b
Misc shallow merge to reduce diff in other branches.
2025-01-15 14:00:03 +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
21902e2f53
Backends: SDL_GPU: fixed SDL_GPUViewport initialisation. ( #8163 , #7998 , #7988 )
...
Probably harmless. Amend 8bbccf7
2025-01-13 19:51:15 +01:00
ocornut
c38c18c1a0
Avoid using 1<<31 for ImGuiWindowFlags_NavFlattened as it seems to confuse some binding generators.
2025-01-13 19:39:57 +01:00
ocornut
c5f60942bd
Demo: tweak demo for ImGuiTreeNodeFlags_LabelSpanAllColumns. ( #8318 , #3565 )
2025-01-13 19:19:30 +01:00
ocornut
290e402a02
TreeNode, Tables: added ImGuiTreeNodeFlags_LabelSpanAllColumns. ( #8318 , #3565 )
2025-01-13 18:55:09 +01:00
ocornut
6fb7d44255
Backends: SDL2/SDL3: Comments. ( #7672 , #7670 )
2025-01-13 17:40:38 +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
Daniel Walz and GitHub
e7fb97208a
Backends: Metal: Added missing IM_UNUSED ( #8302 )
2025-01-09 23:12:07 +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
Delta and ocornut
8bbccf7a97
Backends: SDLGPU3: Added sdl_gpu backend. ( #8163 , #7998 , #7988 )
...
+Squashed: Optimized shader source code encoding by ocornut (#8163 , #7998 , #7988 )
(squashed to avoid storing both in git history, 130 KB->62 KB)
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
c7983115e9
Fonts: Further tweaks for Ellipsis ("...") character width when automatically created from a single comma character: use AdvanceX as min.
2025-01-08 18:27:01 +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
ocornut
1c67a3412e
BeginChild: also caller to manually set ImGuiNextWindowDataFlags_HasChildFlags / ChildFlags. ( #8280 )
2025-01-08 14:55:51 +01:00
ocornut
2b8545684c
Refactor: moved Window Focus related functions to a dedicated section.
2025-01-08 14:22:37 +01:00
ocornut
bbbdc70f26
Refactor: moved FindBlockingModal() in its section.
2025-01-08 14:22:04 +01:00
Selim Sandal and ocornut
e6a7c7689f
Backends: Metal: Fixed memory leaks. ( #8276 , #8166 )
2025-01-08 12:03:18 +01:00
ocornut
0514332474
Avoid clang/gcc warnings: -Wnontrivial-memaccess in backends. ( #8295 , #8129 , #8135 )
2025-01-08 11:44:00 +01:00
ocornut
3115ae0815
Demo: Font selector combo sets default focus.
2025-01-07 14:53:00 +01:00
ocornut
cec8ff1885
Backends: Vulkan: Fixed building with using VK_NO_PROTOTYPES. ( #8180 )
...
Broken by a2e2172
2025-01-06 18:41:17 +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
Jovan Ristic and ocornut
38e606a153
Examples: Add Win32+Vulkan example. ( #8180 )
2025-01-06 17:40:11 +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
omar and GitHub
dbf76f62f9
Update issue_template.yml
2025-01-06 17:17:48 +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
ocornut
80aafbc81b
Data types: moved ImGuiDataType_String to public API as a convenience enum value only. ( #8266 )
2025-01-06 14:22:03 +01:00
juur and ocornut
f169102c8e
Misc: fixed misc/cpp/imgui_stdlib.h/.cpp not supporting IMGUI_DISABLE. ( #8294 )
2025-01-06 14:16:10 +01:00
ocornut
a0f907933d
Happy new year!
2025-01-06 14:07:06 +01:00
ocornut
c147a59bb0
Clarified alternative for ImGuiButtonFlags_Repeat being ImGuiItemFlags_ButtonRepeat. ( #8293 )
2025-01-06 13:58:02 +01:00
Helodity and ocornut
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
Admiral H. Curtiss and GitHub
87f3109c1a
Fix capitalization of ImGuiID in comment. ( #8283 )
2025-01-03 21:07:42 +01:00
ocornut
6982ce43f5
InputText: fixed badly broken clipboard copy/bug ( #8254 , #8242 )
...
Broken by 32f1140
2024-12-22 17:53:09 +01:00
ocornut
18929bd6d6
Internals: merge ScaleWindowsInViewport() from docking branch.
2024-12-20 23:26:21 +01:00
ocornut
2a600bddcb
ImGuiDebugLogFlags_EventFont should not be set by default (had no effect on master tho)
2024-12-20 23:11:37 +01:00
ocornut
006721fbd6
Added ImFontAtlas section index in comments + minor tweaks to DX12 backends.
2024-12-20 22:56:05 +01:00
ocornut
7219fa65c0
Revert "Fonts: Allowing PushFont()/PopFont() to be called outside the imgui frame scope. ( #3621 )"
...
This reverts commit 61d4bf95dc .
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
d30e102f3a
Scrollbar, TestEngine: for consistency, scrollbars are registered in _Menu layer.
...
Amend f31d530 .
2024-12-20 15:22:34 +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
Tiamat-Defender and GitHub
ae839620b9
Docs: Updated EXAMPLES.md ( #8246 )
2024-12-19 14:22:56 +01:00
ocornut
457fae24e7
Silence more zealous GCC warning. ( #8241 )
2024-12-18 18:13:55 +01:00
Raffaello Bertini and ocornut
cd6c83cdcc
Fixes GCC warnings ( #8241 )
2024-12-18 17:58:19 +01:00
ocornut
32f11402f9
InputText: use TextSrc more consistently to facilitate accessing user buffer in text processing code. ( #8242 )
...
Followup to e900571
Removed SetClipboardText() trick used in abd07f6d (#7925 )
2024-12-18 16:53:38 +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
f31d53093b
TestEngine: for consistency, title bar / window items are registered in _Menu layer.
2024-12-18 13:02:48 +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
324d4bb140
InputText: calling ReloadUserBuf doesn't clear undo stack. ( #2890 )
2024-12-12 19:03:09 +01:00
ocornut
8237ab450e
Drags, Sliders: store initial value on activation, as a convenience for some mods. ( #8223 )
2024-12-12 18:52:07 +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
ocornut
f9f4e22f6f
InputText: some tidying up. ( #7925 )
2024-12-12 18:30:57 +01:00
ocornut
4cc464eadc
BeginListBox(): Comments ( #8220 )
2024-12-12 16:44:20 +01:00
ocornut
1d069cf435
Fonts: store 0 for unset EllipsisChar/FallbackChar. Pull config in BuildLookupTable().
2024-12-11 16:43:29 +01:00
Mahmood - Zer0xFF and ocornut
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
Stewart Mccready and GitHub
2ca83f0bc7
Fixed missing symbols when using IMGUI_DISABLE_DEMO_WINDOWS (e.g. with ImPlot) ( #8221 )
2024-12-11 14:14:46 +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: f9928e96c7
2024-12-09 14:31:15 +01:00
ocornut
f3147f446a
Backends: OpenGL3: call glGetString(GL_VERSION) even in GS ES 2.0 path. ( #8197 )
...
Apparently as per specs works. I reckon the best way to confirm it is to try.
2024-12-09 12:58:32 +01:00