Commit Graph

  • 75f985998b Using custom ceilf inline impl in ImGui::CalcTextSize(). ocornut 2026-05-29 15:59:44 +02:00
  • 12b7977555 Tweak CalcTextSize() awkward width rounding/ceiling code to reduce floating-point imprecisions altering the result by 1 even at relatively small width. (#791) + apply same fudge factor to less important roundings. ocornut 2026-05-28 19:19:11 +02:00
  • 4cb21e4a1e Merge branch 'master' into docking ocornut 2026-05-28 15:46:34 +02:00
  • 33bb693b4c DrawList: skip PathLineTo/PathStroke calls for common AddLine(), AddLineH(), AddLineV() functions. (#4091) ocornut 2026-05-28 15:37:29 +02:00
  • 783eba926f Docs: retroactively amend 1.92.8 changelog about ImDrawFlags_Closed value. ocornut 2026-05-28 11:37:37 +02:00
  • ac07da2b5b Fonts: Added macros to disable ProggyClean/ProggyVector separately. (#9407) qwer 2026-05-20 21:07:56 -07:00
  • 243097ca8f Docs: retroactively amend changelog for AddLineH(), AddLineV(). ocornut 2026-05-26 20:36:29 +02:00
  • fbcf95193f ImFontAtlas: moved common TexData calls into a same helper functions, so adding new ones is easier. ocornut 2026-05-22 20:03:30 +02:00
  • 24a80f74a4 InputText, Style: added InputTextCursorSize to configure cursor/caret thickness. (#7031, #9409) ocornut 2026-05-22 19:11:33 +02:00
  • 904b663184 Clarify support for "%s" shortcuts in functions taking format strings. (#9404, #3466, #6846) ocornut 2026-05-19 18:50:39 +02:00
  • 3e7b79aa17 Backends: Win32: use SetProcessDpiAwarenessContext instead of SetThreadDpiAwarenessContext when available, to fix the OpenGL3 Win32 example DPI scaling issue. (#9403) MouriNaruto 2026-05-19 23:21:36 +08:00
  • e41d691da1 Demo: Tree Nodes: extract 'Tree Nodes->Selectable Nodes' into its own thing. ocornut 2026-05-18 14:13:49 +02:00
  • 93e396ffb7 Textures: call ImTextureDataUpdateNewFrame() for textures registered via RegisterUserTexture(). (#8789, #8465) ocornut 2026-05-15 16:38:05 +02:00
  • 068e055510 Textures: extract ImTextureDataUpdateNewFrame() out of ImFontAtlasUpdateNewFrame(). (#8465) ocornut 2026-05-15 16:34:53 +02:00
  • 5a76f2adf1 Merge branch 'master' into docking ocornut 2026-05-15 15:14:52 +02:00
  • db161b84c9 Windows: clicking on a window's empty-space to move/focus a window checks for lack of queued focus request. (#9382) ocornut 2026-05-15 13:45:03 +02:00
  • 4088a4f40c Windows: clicking on a window's empty-space to move/focus a window checks for lack of mouse button ownership. (#9382) ocornut 2026-05-15 13:33:51 +02:00
  • 46a050fff2 Nav: minor optimization NavUpdate(). ocornut 2026-05-15 13:38:32 +02:00
  • c7767926ce Version 1.92.9 WIP ocornut 2026-05-15 11:31:46 +02:00
  • 310c719a1f Rework definition of ImDrawFlags_InvalidMask_ so it more strictly fits in an int32 for non C/C++ languages where it matters. (#9396, #9397) ocornut 2026-05-15 10:48:24 +02:00
  • b2546a5c93 Comments on not needing to use ImDrawFlags_RoundCornersAll. ocornut 2026-05-13 12:46:07 +02:00
  • e0f5f9a14c Amend AddRect(), AddPolyline() error detection to safely return an trigger error handling mechanism. ocornut 2026-05-12 17:40:28 +02:00
  • 201b7e8022 Demo: added variety of usage scenarios, hooking Alt, Mouse Wheel, Home, CTRL+Tab demos. features/demo_input_owner_and_routing ocornut 2022-09-20 19:50:12 +02:00
  • ba331feb28 Demo: added SetKeyOwner(), ImGuiInputFlags_LockThisFrame, ImGuiInputFlags_LockUntilRelease demo. ocornut 2022-09-20 19:48:54 +02:00
  • b61e56346a Merge branch 'master' into docking v1.92.8-docking ocornut 2026-05-12 16:43:34 +02:00
  • 8936b58fe2 Version 1.92.8 v1.92.8 ocornut 2026-05-12 15:48:41 +02:00
  • eebaddd340 Docs: added SECURITY.md. omar 2026-05-11 19:03:08 +02:00
  • 73afb6b6e6 Fonts: clarify that ClearFonts() be useful over calling Clear(). ocornut 2026-05-11 17:45:20 +02:00
  • b8f6c51af7 Fonts: move ClearFonts(), ClearInputData(), ClearTexData() implementation (no other changes) ocornut 2026-05-11 17:42:08 +02:00
  • 4ac473b2c7 Fixed BeginMenu() leading to window with is_resizable_width=true. Fix/amend 95bd1577d + ac1f57b. (#9355) ocornut 2026-05-11 16:35:40 +02:00
  • ac1f57ba0c Fixed BeginMenu() leading to window with is_resizable_width=true. Fix/amend 95bd1577d. (#9355) ocornut 2026-05-11 16:34:33 +02:00
  • 821a396556 Fixed warning on Clang 26. ocornut 2026-05-11 15:59:42 +02:00
  • 2b31f65167 Examples: WebGPU+GLFW/SDL2/SDL3: wire up the IMGUI_WGVK_DIR path. (#9387) manuel 2026-05-01 12:57:48 +02:00
  • b58836f287 Backends: WebGPU: detect WGSL support at runtime instead of excluding WGVK at compile time. (#9387) manuel 2026-05-01 12:57:48 +02:00
  • bca5a69928 BeginMenu()/MenuItem(): fixed accidental triggering of child menu items when opening a menu inside a small host window forcing the child menu window to be repositioned under the mouse cursor. (#8233, #9394) ocornut 2026-05-11 15:32:39 +02:00
  • eb453f2be6 Checkbox, Style: added ImGuiCol_CheckboxSelectedBg. (#9392) ocornut 2026-05-11 14:30:34 +02:00
  • 56b37bf93c Inputs: SetItemKeyOwner(): does not set ownership is key is already taken. ocornut 2026-05-07 21:22:02 +02:00
  • 0eae77f783 Inputs: SetItemKeyOwner(): return true if ownership has been requested, which can to be checked to accurately gate further input test. ocornut 2026-05-07 20:51:32 +02:00
  • 02ccd9f348 Scrolling, Inputs: using mouse wheel to scroll takes and keeps ownership of the corresponding keys while a wheeling window is locked. ocornut 2026-05-07 20:45:49 +02:00
  • 163b8670c8 Demo: added image viewer with magnifier and grid. ocornut 2026-05-07 19:55:12 +02:00
  • c51f1a6e47 Merge branch 'master' into docking ocornut 2026-05-07 16:59:11 +02:00
  • a70b97ee48 Warning fixes. ocornut 2026-05-07 16:50:03 +02:00
  • 6df50a0667 (Breaking) DrawList: swapped the last two arguments of AddRect(), AddPolyline(), PathStroke(). thickness<>flags. ocornut 2026-04-27 22:13:42 +02:00
  • 976c5c0f3a Textures: extract ImTextureDataQueueUpload() out of ImFontAtlasTextureBlockQueueUpload() (#8465) ocornut 2026-05-06 16:17:17 +02:00
  • 310f3c8370 Merge branch 'master' into docking ocornut 2026-05-06 12:30:38 +02:00
  • dc5c6b3688 Amend comments about io.ConfigViewportsNoDefaultParent, ImGuiBackendFlags_HasParentViewport. ocornut 2026-05-05 16:43:24 +02:00
  • 691b89baae ImDrawList: added AddLineH(), AddLineV() helpers. (#9360) Mikko Mononen 2026-04-14 12:30:16 +03:00
  • c0b693b1d4 MultiSelect: Box-Select + Tables: fixed when using SpanAllColumns paths. (#9383, #7994) ocornut 2026-04-28 15:56:50 +02:00
  • 865a6dfa59 InputScalar: fixed not parsing user input when the display format is configured not to show the scalar value. (#9385) Alexander "FireFox" Ong 2026-04-28 20:44:20 +10:00
  • dee9b15bbe Backends: Metal: add sampler states and DrawCallback_SetSamplerLinear / DrawCallback_SetSamplerNearest callbacks. (#9381, #9371, #9378) Vlad 2026-04-27 16:06:33 +09:00
  • d1a8995634 MultiSelect: Box-Select + Tables: fixed when using SpanAllColumns paths. (#9383, #7994) ocornut 2026-04-28 14:58:29 +02:00
  • ab36fbaf48 Drag and Drop, Style: added ImGuiStyleVar_DragDropTargetRounding. (#9056) ocornut 2026-04-27 18:23:56 +02:00
  • ed9d1e7427 Docking, Tabs: toggling tab bar visibility marks saved settings as dirty. (#9380) ocornut 2026-04-27 16:53:57 +02:00
  • e3033c3975 Examples: moving example_win32_directx11 on top of the .sln makes it the default selected project. ocornut 2026-04-24 17:38:51 +02:00
  • 417f5ed66d Merge branch 'master' into docking ocornut 2026-04-24 17:36:26 +02:00
  • 10c378cdfc InputInt, InputFloat, InputScalar: reinstated and fixed ImGuiInputTextFlags_EnterReturnsTrue. (#8665, #9299, #8065, #3946, #6284, #9117) ocornut 2026-04-24 15:07:53 +02:00
  • db23a78c60 Internals: store ImGuiItemStatusFlags_EditedInternal bypassing ImGuiItemFlags_NoMarkEdited. ocornut 2026-04-24 13:52:36 +02:00
  • bda49826cf Backends: OpenGL3: build fix for WebGL/ES2/Emscripten. (#9378) ocornut 2026-04-24 12:26:21 +02:00
  • ef229bc351 Premake: Only build example_sdl2_vulkan with both sdl2 and vulkan (7852) features/premake5 Mark Jansen 2024-08-06 14:41:40 +02:00
  • 33803c9883 Premake: Add example_sdl2_sdlrenderer2 (7862) Mark Jansen 2024-08-05 23:47:50 +02:00
  • 2f3ac76c1b Premake: experimental premake5 script. ocornut 2022-05-29 21:52:05 +02:00
  • a31071573b Merge branch 'master' into docking ocornut 2026-04-23 22:11:04 +02:00
  • 6b05f711fd Backends: WebGPU: build fix for WebGL/ES2. ocornut 2026-04-23 22:06:42 +02:00
  • 86ebb3bc11 Backends: removed samplers from ImGui_ImplDX10_RenderState, ImGui_ImplDX11_RenderState + fixed all Changelogs. (#9378) ocornut 2026-04-23 22:03:11 +02:00
  • 7e7f3adb80 Removed DrawCallback_SetSamplerCustom feature for now. Too unreliable to get working everywhere. (#9378) ocornut 2026-04-23 21:00:13 +02:00
  • dfe6f9ebca Backends: WebGPU: added SetSamplerLinear/Nearest draw callbacks. (#9378) ocornut 2026-04-23 19:22:04 +02:00
  • 37952fb3b8 Backends: Vulkan, SDLGPU3: remove samplers from RenderState. (#9378) ocornut 2026-04-22 18:06:17 +02:00
  • 0a811e8ea1 Backends: DX9, DX10, DX11, DX12, Allegro5, OpenGL2, OpenGL3, SDLRenderer2, SDLRenderer3, SDLGPU3, Vulkan: added standard draw callbacks when possible. (#9378) omar 2019-09-20 18:55:00 +02:00
  • 82f46a73f8 (Breaking) Moved ImDrawCallback_ResetRenderState -> ImGui::GetPlatformIO().DrawCallback_ResetRenderState + added room in ImGuiPlatformIO for more standard backend-agnostic draw callbacks. (#9378) ocornut 2026-04-23 16:14:53 +02:00
  • a6a16cf8a2 Backends: WebGPU: protect better against zero tex id. ocornut 2026-04-23 20:13:25 +02:00
  • e887098740 Backends: WebGPU: always use SPIR-V shader on WGVK, as it cannot be detected at runtime. (#9316, #9246, #9257) ocornut 2026-04-23 19:42:08 +02:00
  • f934719fbf TabBar: comments about ImGuiTabBarFlags_FittingPolicyMixed and TabMinWidthShrink. (#9376, #3421, #8800) ocornut 2026-04-23 18:31:53 +02:00
  • ce3fe4078a Backends: WGPU: fixed build. ocornut 2026-04-23 17:31:14 +02:00
  • f2f843c113 Fixed some extremely zealous warnings (GCC -Wconversion, -Wdouble-promotion) ocornut 2026-04-23 17:01:02 +02:00
  • adc0027912 Backends: Vulkan: remove unused artefacts (mistakenly commited in 0453ae9). ocornut 2026-04-23 16:08:11 +02:00
  • dee5bf3ec3 Merge branch 'master' into docking ocornut 2026-04-23 16:07:01 +02:00
  • ac06ad7b48 ImDrawList: made AddCallback() user data default to NULL + minor amends/comments. ocornut 2026-04-22 15:47:33 +02:00
  • 4739af2d51 Update VS toolset in all .vcxproj from VS2015 (v140) to VS2017 (v141). ocornut 2026-04-23 15:58:04 +02:00
  • b065713cec Backends: OpenGL2/3, SDLRenderer2/3, DirectX9, Metal: moved Init/Shutdown code lower in the file. ocornut 2026-04-22 17:20:27 +02:00
  • fb308c14ce Remove noise from 0453ae9 + amend comments. (#914) ocornut 2026-04-22 14:48:56 +02:00
  • ac261203a5 (Breaking) Backends: Vulkan: redesigned to use separate ImageView + Sampler instead of Combined Image Sampler. (fixes, amends) (#914) ocornut 2026-04-22 14:25:08 +02:00
  • 0453ae96e8 (Breaking) Backends: Vulkan: redesigned to use separate ImageView + Sampler instead of Combined Image Sampler. (WIP) (#914) yaz0r 2025-09-09 00:21:45 -07:00
  • a5fd597be3 Backends: Vulkan: minor changes. ocornut 2026-04-22 14:23:42 +02:00
  • 382b99c334 PlotHistogram: add comments. (#9372) ocornut 2026-04-21 22:32:01 +02:00
  • 2d131ef5b7 Backends: Vulkan: renaming and moving code around to reduce diff in upcoming change. Should be no-op. ocornut 2026-04-21 22:07:03 +02:00
  • a1e05521e9 Backends: GLFW: added a Win32-specific implementation of ImGui_ImplGlfw_GetContentScaleXXXX functions for legacy GLFW 3.2. (#9003) ocornut 2026-04-21 17:24:41 +02:00
  • 6b61e60e22 Merge branch 'master' into docking ocornut 2026-04-20 13:51:59 +02:00
  • d7b40ab9a9 MultiSelect: Box-Select + Tables: Amend ac88294. fix usage of box-selection columns with items straying out of columns. (#7994, #2221) ocornut 2026-04-20 11:40:01 +02:00
  • ac88294b4a MultiSelect: Box-Select +Tables: fix usage of box-selection columns with items straying out of columns. (#7994, #2221) ocornut 2026-04-20 11:07:45 +02:00
  • ea1c04f7ab Multi-Select + Tables: fixed an issue which could lead to an extra vertical offset in the Header row. (#8250, #7994) ocornut 2026-04-17 19:21:51 +02:00
  • cdb046ac3f Demo: Assets Browser: fixed not submitting anything after a SetCursorScreenPos() call when no items. Would not manifest because BeginMultiSelect() altered CursorMaxPos. (#5548) ocornut 2026-04-17 19:19:21 +02:00
  • 97939e6837 Multi-Select: Box-Select: fixes for using accross nested child windows. (#8364) ocornut 2026-04-17 16:30:53 +02:00
  • c91b03060d Multi-Select: Box-Select: improve dirty unclip rectangle calculation + use in ImGuiMultiSelectFlags_BoxSelect1d mode when needed (e.g. wheel scrolling up). (#7994, #8250, #7821, #7850, #7970) ocornut 2026-04-16 23:59:19 +02:00
  • a2eb6d99ed MultiSelect: Box-Select +Tables: revert 4d00bf8ad which seems unneeded since enforce table layout in BeginMultiSelect(). (#7970, #7821). ocornut 2026-04-15 16:42:56 +02:00
  • a2916923a1 MultiSelect: Box-Select + Clipper: extend UnclipRect by ItemSpacing. (#7994, #8250, #7821, #7850, #7970) ocornut 2026-04-16 23:32:34 +02:00
  • 2cbdb7a337 TextLink(), BeginCombo(): fixed two remainig instances of needlessly scanning for ##. ocornut 2026-04-16 16:47:13 +02:00
  • d4783bd553 Added missing Test Engine hooks for PlotXXX(), VSliderXXX(), TableHeader(). ocornut 2026-04-16 16:39:07 +02:00
  • 329c5a6b3b Merge branch 'master' into docking ocornut 2026-04-16 15:29:57 +02:00
  • ce855cada2 Tables, Multi-Select: Fixed an issue using Multi-Select within a Table causing column width measurement to be invalid when trailing column contents is not submitted in the last row. (#9341, #8250) ocornut 2026-04-16 15:07:56 +02:00
  • 39e7bf5a08 Separator(): enforce a minimum border size if style.SeparatorSize is 0.0f. (#9369) ocornut 2026-04-16 11:32:40 +02:00