Commit Graph

  • 2f1d1c8b2f Focus, InputText: fixed an issue where SetKeyboardFocusHere() did not work on InputTextMultiline() with ImGuiInputTextFlags_AllowTabInput. (#8928) ocornut 2025-09-10 18:31:34 +02:00
  • 1cd08b883c TabBar: fixed calling TabBarQueueFocus() before submitting tabs. (#8929, #6681) ocornut 2025-09-10 18:03:34 +02:00
  • 4e98fb20e2 TabBar: Internals: added TabBarFindByID(), TabBarRemove() helpers. ocornut 2025-09-10 17:59:26 +02:00
  • 045645e5f1 Demo: tweaked ShowFontSelector() and ShowStyleSelector() to update selection while navigating and to not close popup automatically. ocornut 2025-09-09 17:50:40 +02:00
  • 8e4955bb23 Selectable: moved ImGuiSelectableFlags_SelectOnNav to public API. ocornut 2025-09-09 17:37:20 +02:00
  • e66afbbbe0 Selectable: ImGuiSelectableFlags_SelectOnNav doesn't close popups. ocornut 2025-09-09 17:18:26 +02:00
  • 2841c5135d Backends: OpenGL3: add GL_NEAREST and samplers functions in loader. ocornut 2025-09-08 16:56:37 +02:00
  • bf52f4a83c Backends: OpenGL3: added HasBindSampler storage for readability and consistency. ocornut 2025-09-08 17:03:23 +02:00
  • 14e076c5bb Backends: Internal renaming of samplers. ocornut 2025-09-08 15:56:42 +02:00
  • ea8a5a9e17 DrawList: made AddCallback() assert when passing a null callback. ocornut 2025-09-08 15:20:18 +02:00
  • ab760992ad Merge branch 'master' into docking ocornut 2025-09-08 13:35:24 +02:00
  • 230418a75d InputText: Word-Wrap: attempt to track cursor while resizing frame/parent. (#3237, #952, #1062, #7363) ocornut 2025-09-02 15:37:27 +02:00
  • 16415aa39f InputText: Word-Wrap: added custom implementation for Home/End that is word-wrap friendly. (#3237, #952, #1062, #7363) ocornut 2025-08-29 18:18:18 +02:00
  • 985723ed94 InputText: Word-Wrap: mouse clicks on word-wrapping points set cursor side correctly. (#3237, #952, #1062, #7363) ocornut 2025-08-28 19:37:52 +02:00
  • a82f66a9b0 InputText: Word-Wrap: added ImGuiInputTextFlags_WordWrap support. (#3237, #952, #1062, #7363) ocornut 2025-08-29 18:17:46 +02:00
  • e422a38e4c InputText: internals: expose LineCount, GetPreferredOffsetX(). ocornut 2025-08-29 18:15:43 +02:00
  • 11fff1ccf5 ImFont::RenderText() takes ImDrawTextFlags_CpuFineClip instead of bool cpu_fine_clip + forward ImDrawTextFlags to word-wrap code. ocornut 2025-08-27 22:17:28 +02:00
  • 3cc7d1c81a InputText: InputTextCalcTextSize() uses ImFontCalcTextSizeEx(). ocornut 2025-08-27 21:59:25 +02:00
  • 56189cd814 Internals: added ImDrawTextFlags_StopOnNewLine support to ImFontCalcTextSizeEx(), ImDrawTextFlags_WrapKeepTrailingBlanks to ImTextCalcWordWrapNextLineStart(). ocornut 2025-08-27 21:55:40 +02:00
  • a9945899c6 stb_textedit: extracted stb_textedit_move_line_start()/stb_textedit_move_line_end(), adding STB_TEXTEDIT_MOVELINESTART,STB_TEXTEDIT_MOVELINEEND support. (#3237, #952, #1062, #7363) ocornut 2025-08-18 17:40:39 +02:00
  • bc6478f651 Internals: added ImDrawTextFlags_WrapKeepTrailingBlanks required for text-edit style word-wrapping. ocornut 2025-08-18 16:38:31 +02:00
  • 34ab6c8a89 Internals: extracted ImFont::CalcTextSizeA() into ImFontCalcTextSizeEx() so we can make change to its signature. ocornut 2025-08-27 21:43:07 +02:00
  • c63b5bd8fb Internals: extracted ImFont::CalcWordWrapPosition() into ImFontCalcWordWrapPositionEx() so we can make change to its signature. ocornut 2025-08-18 16:11:46 +02:00
  • 8a35ce0e98 CalcWordWrapPosition() breaks on \n instead of relying on caller to do it + expose ImTextCalcWordWrapNextLineStart(). (#3237, #952, #1062, #7363) ocornut 2025-08-18 14:27:15 +02:00
  • f77f68a5ed CI: Windows: update to 1.4.326 + pull Vulkan from KhronosGroup's Vulkan-Headers and Vulkan-Loader. (#8925, #8778) yaz0r 2025-09-07 20:27:00 -07:00
  • bed08daede Backends: SDLGPU3: fixed double assignment. (#8924) fgungor 2025-09-08 11:32:38 +02:00
  • 09ebcf1779 Docs: fixed mismatched parentheses & other small changes. (#8922) fdsa 2025-09-06 01:18:35 -07:00
  • a959617d2e Backends: Vulkan: rewrite pColorAttachmentFormats deep-copy to avoid issues when calling multiple times. (#8282, #8110) ocornut 2025-09-04 18:13:49 +02:00
  • 02af06ea5f Backends: Vulkan: rewrite pColorAttachmentFormats deep-copy to avoid issues when calling multiple times. (#8282, #8110) ocornut 2025-09-04 18:13:49 +02:00
  • f937a32742 Backends: Vulkan: added ImGui_ImplVulkan_CreateMainPipeline() - amend for docking branch. (8110, 8111, 8053) Ronan Cailleau 2025-09-04 16:27:33 +02:00
  • fdcd351488 Merge branch 'master' into docking ocornut 2025-09-04 18:06:35 +02:00
  • 026d47cd35 Backends: Vulkan: store pColorAttachmentFormats deep-copy into an ImVector. (#8282, #8110) ocornut 2025-09-04 17:47:36 +02:00
  • c63714822f Backends: Vulkan: reorder InitInfo fields. ocornut 2025-09-04 16:41:20 +02:00
  • 26aa81a8b1 Backends: Vulkan: misc amends (makes ImGui_ImplVulkan_MainPipelineCreateInfo::PipelineRenderingCreateInfo consistent with InitInfo). (#8110, #8111, #8053) ocornut 2025-09-04 16:39:16 +02:00
  • 1ecc34a0b1 Backends: Vulkan: misc amends (e.g. changelog, coding style). (8110, 8111, 8053) ocornut 2025-09-04 14:24:06 +02:00
  • ee03cef14f Backends: Vulkan: revert using a struct for ImGui_ImplVulkan_CreatePipeline() for now. (#8110, #8111, #8053) ocornut 2025-09-04 14:37:14 +02:00
  • e51d93e2f5 Backends: Vulkan: added ImGui_ImplVulkan_CreateMainPipeline(). (#8110, #8111, #8053) Ronan Cailleau 2024-10-29 13:58:08 +01:00
  • 7d33524042 InputText: fixed an issue where using Escape with ImGuiInputTextFlags_EscapeClearsAll. (#8915, #8273) ocornut 2025-09-04 13:15:18 +02:00
  • 605a751571 InputText, InputInt, InputFloat: fixed an issue where using Escape to revert would not write back the reverted value. (#8915, #8273) ocornut 2025-09-04 13:13:58 +02:00
  • b7cb3d93a4 Comments about using MSVC SAL for printf annotation. (#8871) ocornut 2025-09-03 19:39:55 +02:00
  • 20160ff1d5 Fonts: fixed merging a font and specifying a font target in DstFont that's not the last added font (regression in 1.92). (#8912) ocornut 2025-09-03 19:36:02 +02:00
  • 3766d40394 Nav: fixed Ctrl+Tab window appearing as empty when the sole active and focused window has the ImGuiWindowFlags_NoNavFocus flag. (#8914) ocornut 2025-09-03 17:50:10 +02:00
  • 0dd3c845eb Docs: add missing anchor in FAQ.md (#8913) Ян Ли 2025-09-03 10:17:23 +03:00
  • 740c566305 Merge branch 'master' into docking ocornut 2025-09-02 16:10:59 +02:00
  • 8dc457fda2 Internals: added indent, shallow tweaks + unused context pointer to InputTextCalcTextLenAndLineCount() to reduce noise in wip patch. ocornut 2025-08-18 16:43:44 +02:00
  • 0ef9610e70 InputText, stb_textedit: Revert special handling when pressing Down/PageDown on last line of a buffer without a trailing carriage return. ocornut 2025-08-29 17:55:45 +02:00
  • 5c92699f5f stb_textedit: trim trailing blanks for simplicity. ocornut 2025-08-28 18:43:41 +02:00
  • 771fae623d ImRect: added AsVec4() helper. Using ImRect in InputTextEx(). ocornut 2025-08-27 20:06:18 +02:00
  • 6351f00ff1 Clipper, Tables: removed row_increase >= 0 assert. (#8886) ocornut 2025-08-27 20:31:05 +02:00
  • 55cbc66508 InputText: allow passing an empty string with buf_size==0. (#8907) ocornut 2025-08-27 20:21:31 +02:00
  • 9f969944d5 stb_textedit: fixed misleading cursor-1 in STB_TEXTEDIT_K_LINESTART handlers. (#7925) ocornut 2025-08-18 17:37:40 +02:00
  • 4d216d4510 Merge branch 'master' into docking ocornut 2025-08-27 18:57:56 +02:00
  • aa2f40c3bb Clipper, Tables: added ImGuiListClipperFlags, ImGuiListClipperFlags_NoSetTableRowCounters. (#8886) ocornut 2025-08-27 18:34:10 +02:00
  • a309d2dcac Fonts: fixed assertion failure when ImFontAtlasRectEntry::Generation overflows. (#8906) Christian Fillion 2025-08-27 00:05:30 -04:00
  • 87c1ab7988 Windows: changed how g.CurrentItemFlags is modified before windows' CloseButton() submission to be less misleading. (#8903) ocornut 2025-08-26 18:48:08 +02:00
  • 319c481abb AddFontDefault(): shallow simplification. ocornut 2025-08-26 17:57:51 +02:00
  • 229d56e37a Debug Tools: ID Stack Tool: when ### is used, uncontributing prefix before the ### is now skipped. (#8904, #4631) ocornut 2025-08-26 16:30:13 +02:00
  • 7d230594de Fixed ImHashSkipUncontributingPrefix() not looping in case of multiple ### elements. ocornut 2025-08-26 16:25:33 +02:00
  • 75a4a48d1f Internals: extracted ImHashSkipUncontributingPrefix() out of CreateNewWindowSettings() and added note about it. ocornut 2025-08-26 16:19:08 +02:00
  • 9e864012ae Debug Tools: ID Stack Tool: added option to hex-encode non-ASCII characters in output path. (#8904, #4631) ocornut 2025-08-26 15:58:59 +02:00
  • 783f1e62cc Debug Tools: ID Stack Tool: fixed using fixed-size buffers preventing long identifiers from being displayed in the tool. (#8905, #4631) ocornut 2025-08-26 15:36:56 +02:00
  • e728b96600 Fixed Bullet() fixed tesselation amount which looked out of place in very large sizes. ocornut 2025-08-20 20:22:31 +02:00
  • fe03035112 Docs: advertise ProggyVector font as an alternative. ocornut 2025-08-20 19:58:19 +02:00
  • a28cb615ff Viewports, Docking: Fixed a bug where closing a viewport using OS facilities would erroneously close all windows located in the viewport. (#8887) ocornut 2025-08-20 19:09:45 +02:00
  • 515c0b526f Backends: SDL_GPU: typo + changelog. (#8892) ocornut 2025-08-20 18:53:25 +02:00
  • 03e39ca7f5 Backends: SDL_GPU: add swapchain parameters to ImGui_ImplSDLGPU3_InitInfo. (#8892) PTSVU 2025-08-19 12:48:59 +03:00
  • 7c6fa8f8f7 Backends: SDL_GPU: add swapchain parameters to ImGui_ImplSDLGPU3_InitInfo. (#8892) PTSVU 2025-08-19 12:48:59 +03:00
  • 4ebfe1cba5 Merge branch 'master' into docking ocornut 2025-08-20 18:28:39 +02:00
  • 42656b3aa1 Scrollbar, Style: added style.ScrollbarPadding, ImGuiStyleVar_ScrollbarPadding. (#8895) ocornut 2025-08-20 18:27:35 +02:00
  • 89b7fc906a DrawList: fixed CloneOutput() taking a copy of the ImDrawListSharedData pointer. Missing Changelog. (#8894, #1860) ocornut 2025-08-20 17:57:06 +02:00
  • 0c4f50090a DrawList: fixed CloneOutput() taking a copy of the ImDrawListSharedData pointer. (#8894, #1860) ocornut 2025-08-20 17:48:03 +02:00
  • 720e94f3da Rework FormatTextureIDForDebugDisplay() ImDrawCmd version as FormatTextureRefForDebugDisplay(). ocornut 2025-08-19 15:32:38 +02:00
  • 321e9eb919 Fixes for printing out ImTextureID value when it is typedef to other types. (#8889) ocornut 2025-08-19 15:32:12 +02:00
  • 655601169b Examples: Android+OpenGL3: update Gradle project, amend. (#8888, #8878) scribam 2025-08-16 18:34:02 +02:00
  • 361e370fe0 Examples: Android+OpenGL3: update Gradle project (#8888, #8878) scribam 2025-08-16 18:34:02 +02:00
  • 86ec5c8342 Version 1.92.3 WIP ocornut 2025-08-19 15:15:41 +02:00
  • 1f7f1f54af Revert IsItemHovered() change for TabId. (#8877, #8883) v1.92.2b-docking ocornut 2025-08-13 17:32:36 +02:00
  • 160e3683ab Merge branch 'master' into docking ocornut 2025-08-13 17:31:15 +02:00
  • 45acd5e0e8 Version 1.92.2b v1.92.2b ocornut 2025-08-13 17:31:01 +02:00
  • 774ddb58bd Fixed IsItemHovered() failing on disabled items and items that have no identifier. Made holding on disabled items not leak IsItemDisabled() between disabled items when window has _NoMove. (#8877, #8883) ocornut 2025-08-13 17:06:05 +02:00
  • 4dee11a089 Make ImGuiInputSource int. ocornut 2025-08-13 17:01:57 +02:00
  • 43e3ac0dc6 Docs: fixed unneeded usage of Build(). (#8883) omar 2025-08-13 15:17:53 +02:00
  • 02f654cbce Backends: Allegro5: fixed missing support for ImGuiKey_PrintScreen under Windows. ocornut 2025-08-12 20:02:08 +02:00
  • e1baadba84 Backends: Allegro5: Fixed texture format setup. (#8770, #8465) ocornut 2025-08-12 15:02:58 +02:00
  • e2a662eed8 Backends: Allegro5: fixed use of obsolete IM_OFFSETOF(). ocornut 2025-08-12 11:41:11 +02:00
  • e1a93805db Backends: Allegro5: Added ImGui_ImplAllegro5_SetDisplay(). ocornut 2025-08-12 11:33:10 +02:00
  • af920e1e6f Version 1.92.3 WIP ocornut 2025-08-12 11:30:41 +02:00
  • 863e989c25 imgui_freetype.cpp: fix gcc -Wmissing-declarations (#8879) Wouter Vermaelen 2025-08-11 19:39:26 +02:00
  • 031a18c417 Merge branch 'master' into docking v1.92.2-docking ocornut 2025-08-11 16:47:16 +02:00
  • 2b24f5fa71 Version 1.92.2 v1.92.2 ocornut 2025-08-11 16:27:27 +02:00
  • e10300ed3c Docs: Special thanks. ocornut 2025-08-11 16:26:10 +02:00
  • 104f58fc48 Merge branch 'master' into docking ocornut 2025-08-11 15:44:21 +02:00
  • 5a6fa33b88 Fixed an inconsistency between IsItemHovered() and internal hovering check, where IsItemHovered() would return true if mouse was first clicked on the background of a non-moveable window. (#8877) ocornut 2025-08-11 15:36:54 +02:00
  • 8239a0e0c4 Nav, Tables: fix NavIsScrollPushableX logic clamping value stored in NavApplyItemToResult(), which would break scrolling. (#8816, #2221) ocornut 2025-08-11 15:17:02 +02:00
  • 50115596dc Demo: About Box: include IMGUI_ENABLE_TEST_ENGINE in Config/Build info. ocornut 2025-08-11 12:29:13 +02:00
  • 1c57dc21c2 Misc: fixes zealous MSVC static analyzer warnings + make GetInputSourceName(), GetMouseSourceName() a little more tolerant. (#8876) ocornut 2025-08-11 11:01:13 +02:00
  • 47c41483bd Tables, Nav: fixed navigation within scrolling tables when item boundaries goes beyond columns limits. (#8816, #2221) ocornut 2025-08-11 10:47:55 +02:00
  • ea075ed973 ImVector: skip memcpy in operator= if Data isn't initialized to play nice with -fsanitize=undefined. (#8874) Ian 2025-08-10 14:10:42 -04:00
  • b431114194 Viewports: added io.ConfigViewportPlatformFocusSetsImGuiFocus. (#6299, #6462) ocornut 2025-08-08 17:37:17 +02:00
  • cbf9e3f554 Merge branch 'master' into docking ocornut 2025-08-08 15:51:56 +02:00