Commit Graph

  • 92615b4ae6 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
  • 7b681a6674 Demo: added SetKeyOwner(), ImGuiInputFlags_LockThisFrame, ImGuiInputFlags_LockUntilRelease demo. ocornut 2022-09-20 19:48:54 +02:00
  • 56b37bf93c Inputs: SetItemKeyOwner(): does not set ownership is key is already taken. master 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 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
  • f110094bd4 ImStrv: detect and fixed misuses of CalcTextSize() old signature. (9321) features/string_view ocornut 2026-03-25 12:22:53 +01:00
  • 862420cec7 ImStrv: Added ImStrv formatter for LLDB (e.g. Xcode) David Mentler 2025-10-01 20:45:42 +02:00
  • 9ee1b9d8f2 ImStrv: made length() returns an int as it simplify the most common case (of passing %.*s to printf) ocornut 2024-07-02 18:50:28 +02:00
  • 8f6d1f077c ImStrv: allow constructing from two null pointers. ocornut 2024-05-03 16:24:52 +02:00
  • 6f5bf05ad5 ImStrv: Combo(), ListBox(): seems better to not introduce the ImStrv [] versions? ocornut 2024-04-03 10:02:32 +09:00
  • 6c9a64d666 ImStrv: convert Combo()/ListBox() to use ImStrv in their getters. ocornut 2024-04-03 09:58:36 +09:00
  • b46cfb2cb1 ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079) ocornut 2022-09-29 22:51:33 +02:00
  • d189242988 ImStrv: backtracked for now on supporting ImStrv for format strings. ocornut 2022-08-25 12:54:07 +02:00
  • 45541ccc62 ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906) 璀境石 2022-08-22 11:05:58 +02:00
  • 541e3e93f7 ImStrv: standardized code doing format copy, optimized ImStrStr ocornut 2021-05-25 14:08:20 +02:00
  • dd7b5ceff9 ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks + fixed various compiles errors/warnings. ocornut 2021-03-31 15:06:32 +02:00
  • 0d2f32c8fb ImStrv: changed ImStrv xxx=NULL args to an explicit xxx=ImStrv() ocornut 2021-02-01 17:04:50 +01:00
  • 5778f2d5dc ImStrv: Step 2 - change ImStrv typedef to struct, perform all other logic conversion. ocornut 2020-08-24 11:37:01 +03:00
  • 439a195710 ImStrv: Step 1 - change string type to ImStrv in API. (REBASED) Rokas Kupstys 2020-07-14 14:14:17 +03: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
  • e9ae3cfb78 Shadows: Added experimental texture-based shadows (stripped of dynamic tex config and back-end code) features/shadows Ben Carter 2020-04-24 18:16:48 +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
  • 0e318a5182 Backends: SDL2: Made ImGui_ImplSDL2_GetContentScaleXXX helpers return a minimum of 1.0f, as some Linux setup seems to report <1.0f value and this breaks scaling border size. (#9369) ocornut 2026-04-16 11:32:07 +02:00
  • 19753a30d8 Multi-Select: Box-Select+Tables: fixed Column return value when UnClipRect is active. (#7994, #8250) ocornut 2026-04-15 15:08:41 +02:00
  • 6fb74f38af Demo: Assets Browser: make default icon size font dependant. ocornut 2026-04-15 14:22:42 +02:00
  • 4b80d409e7 Backends: Metal: use a dedicated bufferCacheLock to avoid crashing when bufferCache is replaced by a new object while being used for synchronize(). (#9367) Andy Grundman 2026-04-13 19:16:15 -04:00
  • ed4dd679f1 Fixed vertical scrollbar top coordinates when using thick borders on windows with no title bar and no menu bar. (#9366) ocornut 2026-04-14 16:39:08 +02:00
  • 3cd8683061 Fonts: assert when using MergeMode with an explicit size over a target font with an implicit size, as scale factor are likely erroneous. (#9361) ocornut 2026-04-13 16:45:18 +02:00
  • bbd0af7256 Multi-Select: Box-Select+Tables: fixed using BeginMultiSelect() before table layout is locked. (#8250) ocornut 2026-04-09 19:38:15 +02:00
  • f83a378d62 TabBar: changed edge's TabItem ClipRect to not pass an inverted PushClipRect(). ocornut 2026-04-13 14:11:19 +02:00
  • 84b4b35902 Fonts: rework UpdateCurrentFontSize() check. (#9364) Flyinghead 2026-04-12 15:50:54 +02:00
  • 2dc64f99bc Minor optimization: reduce redudant label scanning in common widgets. ocornut 2026-04-10 18:37:08 +02:00
  • 5da7eb0a84 DrawList: remove/strip old FixRectCornerFlags() code. ocornut 2026-04-10 17:42:13 +02:00
  • d55608a5bb Viewports: added opaque void* PlatformIconData storage in viewport and ImGuiWindowClass to allow passing icon information to a custom backend or hook. (#2715) ocornut 2026-04-09 23:39:09 +02:00
  • f678c91617 Multi-Select: disable MultiSelectAddSetRange() attempt at merging consecutive requests submitted from box-selection. ocornut 2026-04-09 23:07:51 +02:00
  • 6ce4b44547 Mulit-Select: Box-Select: fixed an issue using in a table while relying on the TableNextColumn() return value to perform coarse clipping. (#7994) ocornut 2026-04-09 22:48:52 +02:00
  • f08b33fd0c Multi-Select: Box-Select: fixed an issue where items out of horizontal view would sometimes lead to incorrect merging of sequential selection requests. (#7994, #1861, #6518) ocornut 2026-04-09 22:15:32 +02:00
  • b444694b3d Multi-Select: Box-Select: fixed an issue using ImGuiMultiSelectFlags_BoxSelect2d mode, where items out of view wouldn't be properly selected. (#7994, #1861, #6518) ocornut 2026-04-09 21:36:50 +02:00
  • 24677c561e Multi-Select: Box-Select: add compile-time debug options. (#7994, #1861, #6518) ocornut 2026-04-09 21:02:01 +02:00
  • 01a4ad3a50 Docs: update legacy TODO list. ocornut 2026-04-09 15:01:40 +02:00
  • f4ed421a88 InputText: CharFilter callback event sets CursorPos/SelectionStart/SelectionEnd. (#816) ocornut 2026-04-09 14:52:49 +02:00