Commit Graph

  • ee357aaddf Textures: Add ImTextureUserID_Invalid + introducing SetTexID(). ocornut 2025-01-30 15:35:32 +01:00
  • 2cde9125d6 Fonts: Selecting font config source list done by shared code. ocornut 2025-01-17 18:06:25 +01:00
  • 0f0473bf1c Fonts, Textures: main code for ImGuiBackendFlags_RendererHasTextures feature. ocornut 2024-11-29 13:42:35 +01:00
  • 191a728ecc (Breaking) added ImTextureRef struct. Changed ImDrawCmd::TextureId to TexRef. ocornut 2025-03-17 19:13:17 +01:00
  • e55415bfef (Breaking) renamed/moved ImGuiConfigFlags_DpiEnableScaleFonts -> ioConfigDpiScaleFonts, ImGuiConfigFlags_DpiEnableScaleViewports -> io.ConfigDpiScaleViewports ocornut 2025-06-04 20:42:08 +02:00
  • b2f39318cb Adding .cache to ignore list. (#8674) ocornut 2025-06-11 13:41:06 +02:00
  • 201899b611 Backends: OpenGL3: Fixed using non-existing features on GLES 3.20 which would push a GL error. (#8664) Dylam De La Torre 2025-06-04 23:08:19 +02:00
  • eaac68ca2c Merge branch 'master' into docking ocornut 2025-06-04 22:30:43 +02:00
  • c3d7ada9df Demo: add indentation to simplify upcoming merges. ocornut 2025-06-04 22:27:34 +02:00
  • 91f72bbe1c Demo: omit ImGui:: prefix from ShowStyleEditor(), ShowUserGuide() code. ocornut 2025-06-04 21:29:12 +02:00
  • 9485aeb5c8 Demo: changed default framed item width to use Min(GetFontSize() * 12, GetContentRegionAvail().x * 0.40f). ocornut 2025-06-04 17:30:17 +02:00
  • e877f78b0e TreeNode: minor amend to b7ab2b7. (#2920) ocornut 2025-06-02 20:57:21 +02:00
  • ef503ab0c8 TreeNode: fixed out of bound access in ImGuiTreeNodeFlags_DrawLinesXXX feature. (#2920) ocornut 2025-06-02 20:50:12 +02:00
  • b7ab2b7523 TreeNode: fixed an issue where tree lines are not drawn on node opening frame. (#2920) ocornut 2025-06-02 20:41:01 +02:00
  • a92b53df7b Backends: Win32: Viewports: handle WM_DPICHANGED in backend when ImGuiConfigFlags_DpiEnableScaleViewports flag is enabled. ocornut 2025-06-02 19:08:45 +02:00
  • ac6b84a7d7 Viewports: fixed handling of simultaneous move + resize (e.g. toggling maximized) when ImGuiConfigFlags_DpiEnableScaleViewports is enabled. ocornut 2025-06-02 17:11:09 +02:00
  • 5e17c08010 Merge branch 'master' into docking ocornut 2025-05-30 22:00:26 +02:00
  • 69e1fb50ca Docs: fixed missing commit credit. (#8656) ocornut 2025-05-30 21:59:13 +02:00
  • e6913f58b9 imgui_freetype: Update lunasvg API to support v3.0+ (#8656, #6842, #6591) Romain Moret 2025-05-26 19:02:18 +02:00
  • c3a3a39e92 Nav: fixed abnormal clipping disable over large ranges, could lead to stall. (#3841, #1725) ocornut 2025-05-30 21:46:33 +02:00
  • 19289d587a Nav: fixed scroll fallback (when there are no interactive widgets to jump to) not being enabled on windows with menu or title bar. ocornut 2025-05-30 21:33:09 +02:00
  • c53c9a8644 Clipper: further mitigation/improvements for abnormally large contents ranges (larger than e.g. 2^31). (#3609, #8215) ocornut 2025-05-30 21:11:23 +02:00
  • 87a6443c5b Scroll: fixed contents size, scrollbar visibility and scrolling reet issue with abnormally large contents ranges. (#3609, #8215) ocornut 2025-05-30 20:47:50 +02:00
  • 2bf57bbad4 Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section. ocornut 2025-05-26 19:32:28 +02:00
  • 77f1d3b317 Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section. ocornut 2025-05-26 19:32:28 +02:00
  • 407a0b972e (Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale. ocornut 2025-01-24 18:10:42 +01:00
  • 346f5c6819 Platform IME: Fixed multi-viewports IME support, affecting SDL backends. (#8648, #8584, #7492, #6341) ocornut 2025-05-23 11:53:55 +02:00
  • 5f0acadf7d RenderTextEllipsis() added breaking comments. ocornut 2025-05-20 18:06:12 +02:00
  • 143924bbf3 Image(), ImageWithBg(): added extra comments. (#8131, #8238) ocornut 2025-05-20 17:53:17 +02:00
  • 1ffa7a40ac TextLinkOpenURL(): added bool return value on click. (#8645, #8451, #7660) ocornut 2025-05-20 17:31:58 +02:00
  • e11ad6b77e Merge branch 'master' into docking ocornut 2025-05-19 18:48:22 +02:00
  • 415dddf0fa Tooltips: tooltips have a maximum size corresponding to host display/monitor size. ocornut 2025-05-19 18:26:15 +02:00
  • 10a0eb3e1c Alter windows min/max size logic to prioritize enforcing size_max bounds rather than size_min. ocornut 2025-05-19 18:40:45 +02:00
  • cdb5cbe6f8 (Breaking) Commented out ImGuiListClipper::ForceDisplayRangeByIndices() which was obsoleted in 1.89.6. ocornut 2025-05-15 17:44:10 +02:00
  • d93d918eca (Breaking) Commented out PushAllowKeyboardFocus()/PopAllowKeyboardFocus() which was obsoleted in 1.89.4. (#3092) ocornut 2025-05-15 17:38:45 +02:00
  • 6d939fcedc (Breaking) TreeNode: renamed ImGuiTreeNodeFlags_NavLeftJumpsBackHere to ImGuiTreeNodeFlags_NavLeftJumpsToParent for clarity. (#1079, #8639) ocornut 2025-05-15 17:35:29 +02:00
  • 9361c35176 Backends: SDL2, SDL3: maximum room for sanitizer to not be zealous. ocornut 2025-05-15 15:36:42 +02:00
  • c008c7d494 Merge remote-tracking branch 'origin/master' into docking ocornut 2025-05-15 14:45:15 +02:00
  • c90ea1315a Viewports: added per-viewport FramebufferScale, Platform_GetWindowFramebufferScale() + Backends: GLFW, SDL2, SDL3, Apple: added support. (#1065, #1542, #1676, #1786, #2826, #3757, #5081, #5580, #5592, #6465, #7273, #7779 etc.) ) ocornut 2025-05-15 14:31:26 +02:00
  • 63554bcee5 Backends: OSX: rename internal struct for consistency with other backends. ocornut 2025-05-15 13:48:48 +02:00
  • b5a73033ab Examples: Apple: Amend build scripts and gitignore, fix misc OSX warnings. (#8637) ocornut 2025-05-14 18:05:23 +02:00
  • 2df9e9b103 Examples: Apple: add Makefile for example_apple_metal, example_apple_opengl2. (#8637) Pascal Thomet 2025-05-14 17:27:26 +02:00
  • 2fd474132d Update pull_request_template.md omar 2025-05-14 16:53:36 +02:00
  • 4e487cfa99 stb_textedit: subsequent comments to match ocornut/stb branch. (#8635, #7925) ocornut 2025-05-14 14:05:19 +02:00
  • 1387d356aa stb_textedit: subsequent fixes for next/prev word impl (not used by imgui) + PageUp/Home/End (no side effect but more correct) (#8635, #7925) ocornut 2025-05-14 13:37:30 +02:00
  • 5c3ac93335 stb_textedit: minor edits to match PR submitted upstream. ocornut 2025-05-14 13:14:31 +02:00
  • 61242e2e6a InputText: fixed cursor positioning issue using up/down keys on non-ASCII text. (#8635, #7925) ocornut 2025-05-14 11:35:38 +02:00
  • 08689c51a9 Backends: GLFW, SDL2, SDL3: include GLFW/SDL version number in io.BackendPlatformName. ocornut 2025-05-13 15:48:00 +02:00
  • 4a6ba95392 Backends: SDL3: Comments (#6146) ocornut 2025-05-12 19:19:23 +02:00
  • e33069ce56 Viewports: fallback DpiScale pulled from fallback Monitor for consistency. ocornut 2025-05-12 09:22:22 +02:00
  • b9ac32a0d5 Backends: DirectX12: Make sure texture sampling in the dx12 backend is not limited to the highest mip. (#8631) tamas-rabel 2025-05-11 23:04:44 +01:00
  • f484af34c2 Font: rename ImFont::AddRemapChar() parameters for clarity. (#609) ocornut 2025-05-08 18:05:05 +02:00
  • ba513ba804 Backends: DX10, DX11, DX12: honor FramebufferScale. (#8412) WSSDude 2025-02-19 14:00:06 +01:00
  • 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