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)
ocornut2025-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)
ocornut2025-04-30 11:30:06 +02:00
3f8033324f
Demo: Dual List Box: fix sorting function, in theory should return 0 when equal. (#8601)
ocornut2025-04-30 11:10:54 +02:00
75ddd9a6cd
Backends: SDLGPU3: added support for ImDrawCallback_ResetRenderState. (#8599)
ocornut2025-04-28 23:10:29 +02:00
b3c96bde8c
Demo: use IM_ARRAYSIZE more consistently InputText calls in demo window (#8596)
Ryan JensenandGitHub2025-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)
ocornut2025-04-26 15:41:08 +02:00
75964a9860
CI: run on ubuntu-latest.
ocornut2025-04-24 14:39:17 +02:00
0fc4967ebc
Rework TextAligned() api to fix issues with baseline alignment + use standard CalcItemSize(). (#7024)
ocornut2025-04-23 15:08:57 +02:00
aed1bcc12c
Rework TextAligned() api to take size input. (#7024)
ocornut2025-04-23 14:52:29 +02:00
69d572bb10
Fonts: reworked text ellipsis logic to ensure a "..." is always displayed instead of a single character. (#7024)
ocornut2025-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().
ocornut2025-04-16 20:27:23 +02:00
e4a865177e
ImFont: added cpu clip fine option for ImFont::RenderChar() (which is technically internal).
ocornut2025-04-16 20:21:23 +02:00
faea193800
Internals: minor refactor of TabItemLabelAndCloseButton(), should be no-op.
ocornut2025-04-16 19:18:10 +02:00
7ab4728a36
Error Handling: added better error report and recovery when calling EndFrame() or Render() without NewFrame().
ocornut2025-04-16 18:12:53 +02:00
ee0d96ac0d
TreeNode: extract code out of TreePop() into TreeNodeDrawLineToTreePop(). (#2920)
ocornut2025-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)
ocornut2025-04-10 16:26:38 +02:00
5311253468
TreeNode: ImGuiTreeNodeFlags_DrawLinesFull uses ToNodes Y2 when they are close (using a threshold). (#2920)
ocornut2025-04-10 16:03:39 +02:00
ed50bb1676
TreeNode, Tables: fixed ImGuiTreeNodeFlags_DrawLinesXXX feature when TreePop() is called from a different column. (#2920)
ocornut2025-04-10 14:47:08 +02:00
bbb0f0ade4
TreeNode: fixed incorrect clipping of arrow/bullet when using ImGuiTreeNodeFlags_SpanAllColumns.
ocornut2025-04-10 14:08:10 +02:00
43caca05c2
TreeNode: DrawLines: tweak X2 offset to avoid losing line when ItemSpacing is large. (#2920)
ocornut2025-04-09 17:58:23 +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 Iperenandocornut2025-04-09 14:56:54 +02:00
789de09dda
TreeNode: extracted TreeNodeDrawLineToChildNode() for usage by custom widgets (#2920)
ocornut2025-04-09 12:04:09 +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)
ocornut2025-04-07 16:38:05 +02:00
9701810bc3
TreeNode: adding ImGuiTreeNodeFlags_NoNavFocus in imgui_internal.h (#8551)
ocornut2025-04-07 11:41:21 +02:00
fcab22f80f
Fonts: fixed CalcWordWrapPositionA() fallback when width is too small to wrap with multibyte codepoints.. (#8540)
ocornut2025-04-01 22:53:00 +02:00
b6786595a4
Backends: SDLGPU3: Made ImGui_ImplSDLGPU3_PrepareDrawData() reuse GPU Transfer Buffers which were unusually slow to recreate every frame. (#8534)
ocornut2025-03-31 14:43:17 +02:00
a26fcf58cc
Nav: fixed assertion when holding gamepad FaceLeft/West button + pressing a keyboard key. (#8525)
ocornut2025-03-30 16:40:36 +02:00
8bbdfefe05
Nav: added bool ConfigNavWindowingWithGamepad to disable windowing with gamepad. (#8525, #4828, #3255, #5641)
ocornut2025-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)
ocornut2025-03-30 14:46:07 +02:00
102f3f3a0d
IO: variations in analog-only components of gamepad events do not interfere with trickling of mouse position events (#4921, #8508)
ocornut2025-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)
ocornut2025-03-21 15:42:47 +01:00
d467950a5e
Style, InputText: added ImGuiCol_InputTextCursor to configure color of the InputText cursor/caret. (#7031)
ocornut2025-03-19 17:50:40 +01:00
ea2a12112d
Misc: Various zealous warning fixes for newer version of Clang.
ocornut2025-03-14 17:13:04 +01:00
b758b8223f
InputText: Pasting a multi-line buffer into a single-line edit replaces carriage return by spaces. (#8459)
ocornut2025-03-13 19:30:42 +01:00
d9dad2f4a1
Scrollbar: stabilize visibility of ScrollbarX when detecting a feedback loop. (#8488, #3285, #4539)
ocornut2025-03-12 14:15:51 +01:00
6e30c42101
Tables: fixed an issue with TableSetupColumn() overriding ini data. (#7934)
ocornut2025-03-12 19:29:41 +01:00
de4f77b0ac
Backends: DX12: comment about using SrvDescriptorAllocFn/SrvDescriptorFreeFn.
ocornut2025-03-12 15:47:37 +01:00
09654f4e8c
Revert "Examples: Updated all .vcxproj from VS2015 to VS2019 (toolset v140 to v142), Windows SDK 8.1 to 10."
ocornut2025-03-11 18:42:12 +01:00
1ec99f4fd3
Internals: added ImStrlen/ImMemchr #define to facilitate experimenting with variations. (#8421)
ocornut2025-03-07 11:09:02 +01:00
377a387a42
Add proper ImGuiTextBuffer::resize() support other than 0.
ocornut2025-03-05 16:23:31 +01:00
9f49292b35
Internals: Menus: reworked mangling of menu windows to use "###Menu_00" etc. instead of "##Menu_00".
ocornut2025-03-05 15:23:49 +01:00
119dfbc627
Debug Tools: Tweaked layout of ID Stack Tool and always display full path. (#4631)
ocornut2025-03-05 15:04:26 +01:00
fcec08f7ae
Demo: (Refactor) Moved ExampleTreeNode contents below ShowDemoWindow() so main entry point is more visible to casual reader.
ocornut2025-03-05 13:39:48 +01:00
324172fb1f
Demo: (Refactor) Moved DemoWindowWidgets() below the functions it calls, reducing amount of forward declarations.
ocornut2025-03-05 13:35:14 +01:00
a7657f2ed4
Examples: SDL3: Added comments to clarify setup for users of the unfortunate SDL_MAIN_USE_CALLBACKS feature. (#8455)
ocornut2025-03-04 14:36:00 +01:00
df31774327
Disabled: Fixed an issue restoring Alpha in EndDisabled() when using nested BeginDisabled() calls with PushStyleVar(ImGuiStyleVar_DisabledAlpha) within. (#8454, #7640)
ocornut2025-03-03 19:20:10 +01:00