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

2020 Commits

Author SHA1 Message Date
ocornut
ae6cfd32a0 Tables, Menus: Fixed tables or child windows submitted inside BeginMainMenuBar() being unable to save their settings. (#8356)
Amend error handling (fa178f4) to avoid us setting ImGuiWindowFlags_NoSavedSettings on the wrong window.
2025-01-30 14:34:51 +01:00
ocornut
fa178f4235 Error Handling: Recovery from missing EndMenuBar() call. (#1651) 2025-01-30 14:30:14 +01:00
ocornut
dfd1bc3c5b Tables, Menus: Fixed using BeginTable() in menu layer (any menu bar). (#8355) 2025-01-29 19:05:18 +01:00
ocornut
134fbe1245 Windows: Fixed IsItemXXXX() functions not working on append-version of EndChild(). (#8350)
Also made some of the fields accessible after BeginChild() to match Begin() logic.
2025-01-27 12:41:31 +01:00
ocornut
8a1613a382 Fonts: OversampleH/OversampleV value defaults to 0 for automatic selection. 2025-01-24 19:32:30 +01:00
ocornut
9eafb7bbfb ImFont: IndexLookup[] table hold 16-bit values even in ImWchar32 mode. 2025-01-24 16:54:59 +01:00
ocornut
ed7551c1d4 Selectable: Fixed horizontal label alignment when combined with using ImGuiSelectableFlags_SpanAllColumns. (#8338) 2025-01-24 14:59:37 +01:00
ocornut
9bc5b0406d Windows, Style: Fixed small rendering issues with menu bar, resize grip and scrollbar when using thick border sizes. (#8267, #7887)
Amend e.g. 742b5f4c.
2025-01-24 14:39:07 +01:00
ocornut
10199341b1 ImFontAtlas: made calling ClearFonts() call ClearInputData(). (#8174, #6556, #6336, #4723) 2025-01-23 11:31:32 +01:00
ocornut
71da34c48c Debug Tools: Tweaked font preview + indent "Glyphs" block. 2025-01-22 16:56:18 +01:00
ocornut
6906ac979e ColorEdit, ColorPicker: (Breaking) redesigned how alpha is displayed in the preview square. (#8335, #1578, #346)
Added ImGuiColorEditFlags_AlphaOpaque, ImGuiColorEditFlags_AlphaNoBg.
Removed ImGuiColorEditFlags_AlphaPreview.
2025-01-22 12:12:07 +01:00
ocornut
fdca6c08ad Inputs: added IsMouseReleasedWithDelay() helper. (#8337, #8320) 2025-01-22 11:28:47 +01:00
David Maas
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
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
Julian Rachele
aa1b4ea861 Backends: OSX: Remove notification observer when shutting down. (#8331) 2025-01-20 09:24:43 +01:00
Daniel K. O. (dkosmari)
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
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
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
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