Commit Graph

  • 0a222a3e2a Backends: Vulkan: fixed build with VK_NO_PROTOTYPES. ocornut 2025-05-07 15:42:23 +02:00
  • bf68040dc5 Backends: Vulkan: fixed build with VK_NO_PROTOTYPES. ocornut 2025-05-07 15:42:23 +02:00
  • 37fba4bed4 Backends: Vulkan: fixed validation errors during window detach in multi-viewport mode. [docking branch amend] (#8600, #8176) ocornut 2025-05-07 15:28:02 +02:00
  • 1c8fad73f8 Merge branch 'master' into docking ocornut 2025-05-07 15:24:46 +02:00
  • bbc89b6391 Backends: Vulkan: fixed validation errors during window detach in multi-viewport mode. (#8600, #8176) ChrisTom-94 2025-05-07 15:19:45 +02:00
  • 64a5e27486 Docs: bad merge error. ocornut 2025-05-07 14:22:19 +02:00
  • d1dc2a3298 Backends: Vulkan: Load dynamic rendering functions using vkGetDeviceProcAddr() + try both non-KHR and KHR versions. (#8600, #8326, #8365) ChrisTom-94 2025-05-07 11:47:58 +02:00
  • 46235e91f6 Examples: SDL3: specify SDL_WINDOW_HIGH_PIXEL_DENSITY and make centering consistent + call SDL_RenderScale(). ocornut 2025-05-05 20:04:12 +02:00
  • afd3a36f69 Demo: added basic Fonts section under main demo (same as Metrics one) for visibility. ocornut 2025-05-05 19:39:56 +02:00
  • c5e2bb7cd1 Backends: SDLGPU3: Fixed creating atlas texture earlier than other backends. ocornut 2025-05-05 19:19:33 +02:00
  • ef62aa7333 Backends: SDL3: macOS: Fixed secondary-viewports not appearing on a different monitor than the main viewport. ocornut 2025-05-05 19:03:50 +02:00
  • e3bfaab3f7 Examples: update xcode projects. ocornut 2025-05-05 17:12:06 +02:00
  • c0dfd65d67 Backends: Win32: Fixed an issue where externally losing mouse capture (due to e.g. focus loss) would fail to claim it again the next subsequent click. (#8594) ocornut 2025-04-30 16:23:58 +02:00
  • 20066a8964 Examples: DirectX12+Win32: also test for IsIconic() for sleeping since we don't seem to get a DXGI_STATUS_OCCLUDED signal when minimized. (#8603) ocornut 2025-04-30 11:30:06 +02:00
  • 3f8033324f Demo: Dual List Box: fix sorting function, in theory should return 0 when equal. (#8601) ocornut 2025-04-30 11:10:54 +02:00
  • 75ddd9a6cd Backends: SDLGPU3: added support for ImDrawCallback_ResetRenderState. (#8599) ocornut 2025-04-28 23:10:29 +02:00
  • b3c96bde8c Demo: use IM_ARRAYSIZE more consistently InputText calls in demo window (#8596) Ryan Jensen 2025-04-26 09:10:00 -05:00
  • cbb8edb0b7 Tables: fixed an assert when combining Tables, Frozen Rows, Clipper and BeginMultiSelect() in a certain order. (#8595, #8250) ocornut 2025-04-26 15:41:08 +02:00
  • fcdaa32793 Backends: GLFW: Disable multi-viewports under Wayland. (#8587) ocornut 2025-04-26 14:52:14 +02:00
  • fe298cf984 Revert "Backends: SDL2, SDL3: viewports created with ImGuiViewportFlags_NoInputs are passing SDL_WINDOW_TOOLTIP to SDL_CreateWindow(). (#8576)" ocornut 2025-04-25 20:10:46 +02:00
  • 75964a9860 CI: run on ubuntu-latest. ocornut 2025-04-24 14:39:17 +02:00
  • b81991ac01 Backends: SDLGPU3: clear ImGuiBackendFlags_RendererHasViewports flag on shutdown. ocornut 2025-04-24 13:48:21 +02:00
  • 2a000ee091 Backends: SDL2, SDL3: viewports created with ImGuiViewportFlags_NoInputs are passing SDL_WINDOW_TOOLTIP to SDL_CreateWindow(). (#8576) ocornut 2025-04-23 19:12:19 +02:00
  • f53de38e1f Viewports, Backends: Debug logging. ocornut 2025-04-23 16:47:00 +02:00
  • 3563f4db32 Rework TextAligned() api to fix issues with baseline alignment + use standard CalcItemSize(). (#7024) ocornut 2025-04-23 15:08:57 +02:00
  • f2ba3a937b Rework TextAligned() api to take size input. (#7024) ocornut 2025-04-23 14:52:29 +02:00
  • 0fc4967ebc Rework TextAligned() api to fix issues with baseline alignment + use standard CalcItemSize(). (#7024) ocornut 2025-04-23 15:08:57 +02:00
  • aed1bcc12c Rework TextAligned() api to take size input. (#7024) ocornut 2025-04-23 14:52:29 +02:00
  • 839e3274e1 Merge branch 'master' into docking ocornut 2025-04-23 14:42:36 +02:00
  • 6a42d6b339 Added wp TextAligned() TextAlignedV(), TextAlignedExV() to internal API. (#7024) ocornut 2025-04-23 14:39:59 +02:00
  • dcf0d8cab6 Tables: fixed TableHeader() eager vertical clipping of text. (#6236) ocornut 2025-04-22 18:34:56 +02:00
  • 7c6ce12fa4 Platform IME: minor amend to bf0f586 (#8584) ocornut 2025-04-22 11:24:02 +02:00
  • bf0f586b69 Platform IME: added ImGuiPlatformImeData::WantTextInput, ViewportId. Backends: SDL3: honor WantTextInput. (#8584, #7492, #6341) ocornut 2025-04-22 11:21:02 +02:00
  • facf671eca Demo: rename DockingSplitterSize slider label to DockingSeparatorSize for consistency. (#8579) Hinageshi 2025-04-20 17:25:20 +08:00
  • af987eb117 Backends: DX12: build fix for Clang. (#8582) ocornut 2025-04-20 11:24:30 +02:00
  • 87f12e56fe Backends: SDL_GPU: Added multi-viewport support. Amends + update example. (#8573, #8163, #7998, #7988) ocornut 2025-04-17 15:39:28 +02:00
  • baffc4e8b8 Backends: SDL_GPU: Added multi-viewport support. (#8573, #8163, #7998, #7988) Lekoopapaul 2025-04-15 20:45:18 +02:00
  • 0ddc36f543 RenderTextEllipsis()): pixel align every dot for consistent display. ocornut 2025-04-16 22:17:19 +02:00
  • 88d2df24be Merge branch 'master' into docking ocornut 2025-04-16 20:31:18 +02:00
  • 69d572bb10 Fonts: reworked text ellipsis logic to ensure a "..." is always displayed instead of a single character. (#7024) ocornut 2025-04-16 20:30:00 +02:00
  • 97d85338e8 Tabs: adjust handling of ellipsis now that Close Button visibility changed. (#8387) Internals: remove extra parameter to RenderTextEllipsis(). ocornut 2025-04-16 20:27:23 +02:00
  • e4a865177e ImFont: added cpu clip fine option for ImFont::RenderChar() (which is technically internal). ocornut 2025-04-16 20:21:23 +02:00
  • faea193800 Internals: minor refactor of TabItemLabelAndCloseButton(), should be no-op. ocornut 2025-04-16 19:18:10 +02:00
  • 7ab4728a36 Error Handling: added better error report and recovery when calling EndFrame() or Render() without NewFrame(). ocornut 2025-04-16 18:12:53 +02:00
  • b23a216ecd Examples: added SDL2+Vulkan, SDL3+Vulkan, GLFW+Vulkan makefiles. Amend ignore list. (#2480) ocornut 2025-04-16 13:28:57 +02:00
  • d3bb3336f5 Backends: OSX: remove duplicate variable. (#8565) 519q 2025-04-12 17:54:10 +03:00
  • 3ab50c334a TreeNode, Style: added style.TreeLinesRounding support. (#2920) ocornut 2025-04-10 19:26:29 +02:00
  • f4d9359095 Merge branch 'master' into docking ocornut 2025-04-10 17:26:11 +02:00
  • 9943137d1e TreeNode: fixed non-opened clipped child node not moving Y2 marker. (#2920) ocornut 2025-04-10 17:25:06 +02:00
  • ee0d96ac0d TreeNode: extract code out of TreePop() into TreeNodeDrawLineToTreePop(). (#2920) ocornut 2025-04-10 17:00:17 +02:00
  • 8c977bf7b3 TreeNode, Tables: fixed ImGuiTreeNodeFlags_DrawLinesXXX feature when TreePop() is called in table: in no column or at top of row. (#2920) ocornut 2025-04-10 16:26:38 +02:00
  • 5311253468 TreeNode: ImGuiTreeNodeFlags_DrawLinesFull uses ToNodes Y2 when they are close (using a threshold). (#2920) ocornut 2025-04-10 16:03:39 +02:00
  • ed50bb1676 TreeNode, Tables: fixed ImGuiTreeNodeFlags_DrawLinesXXX feature when TreePop() is called from a different column. (#2920) ocornut 2025-04-10 14:47:08 +02:00
  • bbb0f0ade4 TreeNode: fixed incorrect clipping of arrow/bullet when using ImGuiTreeNodeFlags_SpanAllColumns. ocornut 2025-04-10 14:08:10 +02:00
  • 06c2c9f456 Merge branch 'master' into docking ocornut 2025-04-09 19:08:45 +02:00
  • 43caca05c2 TreeNode: DrawLines: tweak X2 offset to avoid losing line when ItemSpacing is large. (#2920) ocornut 2025-04-09 17:58:23 +02:00
  • bcbbfdaad4 TreeNode: DrawLines: latch X1 offset during TreePush(). (#2920) ocornut 2025-04-09 17:43:48 +02:00
  • 5e7174dec6 TreeNode: removed TreeLinesSize > 0.0f optimization check. (#2920) ocornut 2025-04-09 17:39:22 +02:00
  • 74e453cf15 Backends: SDL2, SDL3: don't attempt to call SDL_CaptureMouse() on drivers where we don't call SDL_GetGlobalMouseState(). (#8561) Zane van Iperen 2025-04-09 14:56:54 +02:00
  • b811c42034 Backends: SDL2/SDL3: revert updating monitors and work area info every frame. Workaround for Windows. (#8415, #8558) ocornut 2025-04-09 14:28:43 +02:00
  • 789de09dda TreeNode: extracted TreeNodeDrawLineToChildNode() for usage by custom widgets (#2920) ocornut 2025-04-09 12:04:09 +02:00
  • 47d1ab192a Merge branch 'master' into docking ocornut 2025-04-08 19:59:38 +02:00
  • 39f34e1e58 TreeNode: Don't latch GetColorU32(ImGuiCol_TreeLines). (#2920) ocornut 2025-04-08 19:56:14 +02:00
  • e5b218e6d1 TreeNode: added ImGuiTreeNodeFlags_DrawTreeXXX flags. (#2920) ocornut 2024-07-03 19:03:25 +02:00
  • faa03031b4 Windows: loosened code to handle ImGuiButtonFlags_FlattenChildren so that master matches docking. (#8554) ocornut 2025-04-07 18:16:23 +02:00
  • 974bf58a21 Backends: Vulkan: Build and warning fixes. (#8282) ocornut 2025-04-07 17:38:28 +02:00
  • 91652c317e Backends: Vulkan: Deep-copy ImGui_ImplVulkan_InitInfo::PipelineRenderingCreateInfo's pColorAttachmentFormats buffer when set, in order to reduce common user-error of specifying a pointer to data that gets out of scope. (#8282) ocornut 2025-04-07 16:38:05 +02:00
  • 9701810bc3 TreeNode: adding ImGuiTreeNodeFlags_NoNavFocus in imgui_internal.h (#8551) ocornut 2025-04-07 11:41:21 +02:00
  • b4bd596a39 Fonts: word-wrapping code handle ideographic comma & full stop (U+3001, U+3002). (#8540) ocornut 2025-04-01 22:56:59 +02:00
  • fcab22f80f Fonts: fixed CalcWordWrapPositionA() fallback when width is too small to wrap with multibyte codepoints.. (#8540) ocornut 2025-04-01 22:53:00 +02:00
  • 8098d79ca2 Docs: fixed link typo (#8538) Shixian Sheng 2025-04-01 03:10:30 -04:00
  • 9fdeb41e52 Backends: Vulkan: Suppress trivially-copyable warning (#8537) Andrew Zonenberg 2025-03-31 11:42:18 -07:00
  • 4bdb0ac685 Comments ocornut 2025-03-31 15:12:28 +02:00
  • b6786595a4 Backends: SDLGPU3: Made ImGui_ImplSDLGPU3_PrepareDrawData() reuse GPU Transfer Buffers which were unusually slow to recreate every frame. (#8534) ocornut 2025-03-31 14:43:17 +02:00
  • df5690d91a Merge branch 'master' into docking ocornut 2025-03-30 16:42:28 +02:00
  • a26fcf58cc Nav: fixed assertion when holding gamepad FaceLeft/West button + pressing a keyboard key. (#8525) ocornut 2025-03-30 16:40:36 +02:00
  • 8bbdfefe05 Nav: added bool ConfigNavWindowingWithGamepad to disable windowing with gamepad. (#8525, #4828, #3255, #5641) ocornut 2025-03-30 15:05:27 +02:00
  • 187acb8609 Nav: polling gamepad for ImGuiKey_NavGamepadMenu use routing-friendly Shortcut() so Ctrl+Tab equivalent may be hijacked. (#8525, #4828, #3255, #5641) ocornut 2025-03-30 14:46:07 +02:00
  • 5c9fb8f064 Backends: SDL3: Update for API changes: Revert SDL_GetClipboardText() memory ownership change. (#8530, #7801) see https://github.com/libsdl-org/SDL/pull/10390 Green Sky 2025-03-29 21:04:17 +01:00
  • 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() ocornut 2025-03-26 22:59:14 +01:00
  • 7674cbc9b2 Added extra operators to ImVec4. (#8510) gan74 2025-03-21 20:40:38 +01:00
  • dbd9ae287a Windows: fixed SetNextWindowCollapsed()/SetWindowCollapsed() breaking codepath that preserve last contents size when collapsed. (#7691) ocornut 2025-03-23 12:55:59 +01:00
  • 702a67807b Move Changelog entry. (#8509) ocornut 2025-03-21 20:17:49 +01:00
  • a806d2f9b8 Backends: SDLGPU: Fixed typo in function name Imgui_ImplSDLGPU3_PrepareDrawData() -> ImGui_ImplSDLGPU3_PrepareDrawData(). (#8509, 8163, #7998, #7988) puugz 2025-03-21 20:05:32 +01:00
  • ca3ba28768 Internals: made MousePos an argument of UpdateHoveredWindowAndCaptureFlags(). (#8431, #1152) ocornut 2025-03-21 17:21:22 +01:00
  • f5003aff69 Docs: Fix some typos (#8505) tanksdude 2025-03-21 08:23:09 -07:00
  • 102f3f3a0d IO: variations in analog-only components of gamepad events do not interfere with trickling of mouse position events (#4921, #8508) ocornut 2025-03-21 16:18:36 +01:00
  • 979c7d76ab Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) ocornut 2025-03-21 15:42:47 +01:00
  • 790f2b9a7a Merge branch 'master' into docking ocornut 2025-03-19 17:54:42 +01:00
  • d467950a5e Style, InputText: added ImGuiCol_InputTextCursor to configure color of the InputText cursor/caret. (#7031) ocornut 2025-03-19 17:50:40 +01:00
  • 0ecb2bbe74 Version 1.92.0 WIP ocornut 2025-03-19 17:45:20 +01:00
  • ee48ffe021 Added comments about line/rect thickness needing scaling. (#7031) ocornut 2025-03-19 17:42:19 +01:00
  • 5679de60c5 Error Handling: added better report and recovery for extraneous EndPopup() call. (#1651, #8499) ocornut 2025-03-18 17:35:43 +01:00
  • 4806a1924f Merge branch 'master' into docking v1.91.9b-docking ocornut 2025-03-17 20:18:29 +01:00
  • f5befd2d29 Version 1.91.9b v1.91.9b ocornut 2025-03-17 20:17:26 +01:00
  • cfed7a3a54 Tables: fixed assert/issues loading settings. (#8496, #7934) ocornut 2025-03-17 19:51:46 +01:00
  • 93b446a962 Backtrack of version tagging 1.92.0 > 1.91.9b for publishing a hotfix (#8496) ocornut 2025-03-17 19:39:52 +01:00
  • a7dc184772 Moved ImDrawIdx definition lower in imgui.h. Moved ImTextureID slightly below in its own section. ocornut 2025-03-17 19:07:24 +01:00
  • bfaef8ca17 Version 1.92.0 WIP ocornut 2025-03-17 19:08:58 +01:00
  • 2737dbb1e1 Docs: Fixed typo. Very oops. (#8495) ocornut 2025-03-17 11:51:57 +01:00