ocornut
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 )
2025-04-30 16:23:58 +02:00
ocornut
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 )
...
Amend ec1d2be96f . (#2496 , #3907 , #6308 , #7615 )
This technically prevents multi-viewports from working with io.ConfigViewportsNoDefaultParent=true but this is a more fringe case to handle for our example app, better tradeoff imho to use IsIconic().
2025-04-30 11:30:06 +02:00
ocornut
3f8033324f
Demo: Dual List Box: fix sorting function, in theory should return 0 when equal. ( #8601 )
2025-04-30 11:10:58 +02:00
ocornut
75964a9860
CI: run on ubuntu-latest.
2025-04-24 14:39:25 +02:00
ocornut
0fc4967ebc
Rework TextAligned() api to fix issues with baseline alignment + use standard CalcItemSize(). ( #7024 )
2025-04-23 15:08:57 +02:00
ocornut
aed1bcc12c
Rework TextAligned() api to take size input. ( #7024 )
2025-04-23 14:52:29 +02:00
ocornut
6a42d6b339
Added wp TextAligned() TextAlignedV(), TextAlignedExV() to internal API. ( #7024 )
2025-04-23 14:39:59 +02:00
ocornut
dcf0d8cab6
Tables: fixed TableHeader() eager vertical clipping of text. ( #6236 )
2025-04-22 18:34:56 +02:00
ocornut
7c6ce12fa4
Platform IME: minor amend to bf0f586 ( #8584 )
2025-04-22 11:24:02 +02:00
ocornut
bf0f586b69
Platform IME: added ImGuiPlatformImeData::WantTextInput, ViewportId. Backends: SDL3: honor WantTextInput. ( #8584 , #7492 , #6341 )
2025-04-22 11:21:02 +02:00
ocornut
3ab50c334a
TreeNode, Style: added style.TreeLinesRounding support. ( #2920 )
2025-04-10 19:26:29 +02:00
ocornut
9943137d1e
TreeNode: fixed non-opened clipped child node not moving Y2 marker. ( #2920 )
2025-04-10 17:25:06 +02:00
ocornut
ee0d96ac0d
TreeNode: extract code out of TreePop() into TreeNodeDrawLineToTreePop(). ( #2920 )
2025-04-10 17:00:29 +02:00
ocornut
8c977bf7b3
TreeNode, Tables: fixed ImGuiTreeNodeFlags_DrawLinesXXX feature when TreePop() is called in table: in no column or at top of row. ( #2920 )
2025-04-10 16:53:14 +02:00
ocornut
5311253468
TreeNode: ImGuiTreeNodeFlags_DrawLinesFull uses ToNodes Y2 when they are close (using a threshold). ( #2920 )
2025-04-10 16:03:39 +02:00
ocornut
ed50bb1676
TreeNode, Tables: fixed ImGuiTreeNodeFlags_DrawLinesXXX feature when TreePop() is called from a different column. ( #2920 )
2025-04-10 14:47:08 +02:00
ocornut
bbb0f0ade4
TreeNode: fixed incorrect clipping of arrow/bullet when using ImGuiTreeNodeFlags_SpanAllColumns.
2025-04-10 14:08:17 +02:00
ocornut
43caca05c2
TreeNode: DrawLines: tweak X2 offset to avoid losing line when ItemSpacing is large. ( #2920 )
2025-04-09 18:57:20 +02:00
ocornut
bcbbfdaad4
TreeNode: DrawLines: latch X1 offset during TreePush(). ( #2920 )
2025-04-09 18:56:56 +02:00
ocornut
5e7174dec6
TreeNode: removed TreeLinesSize > 0.0f optimization check. ( #2920 )
...
This is desirable but we'd need to avoid exposing 0.0f in style editor + assert on it.
2025-04-09 17:40:15 +02:00
ocornut
789de09dda
TreeNode: extracted TreeNodeDrawLineToChildNode() for usage by custom widgets ( #2920 )
2025-04-09 12:04:09 +02:00
ocornut
faa03031b4
Windows: loosened code to handle ImGuiButtonFlags_FlattenChildren so that master matches docking. ( #8554 )
...
This essentially merges 059560d2 back into master.
2025-04-07 18:21:34 +02:00
ocornut
974bf58a21
Backends: Vulkan: Build and warning fixes. ( #8282 )
2025-04-07 17:39:00 +02:00
ocornut
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 )
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# docs/CHANGELOG.txt
2025-04-07 16:40:14 +02:00
ocornut
9701810bc3
TreeNode: adding ImGuiTreeNodeFlags_NoNavFocus in imgui_internal.h ( #8551 )
2025-04-07 11:41:21 +02:00
ocornut
4bdb0ac685
Comments
2025-03-31 15:12:28 +02:00
ocornut
b6786595a4
Backends: SDLGPU3: Made ImGui_ImplSDLGPU3_PrepareDrawData() reuse GPU Transfer Buffers which were unusually slow to recreate every frame. ( #8534 )
2025-03-31 14:45:29 +02:00
ocornut
a26fcf58cc
Nav: fixed assertion when holding gamepad FaceLeft/West button + pressing a keyboard key. ( #8525 )
2025-03-30 16:40:39 +02:00
ocornut
8bbdfefe05
Nav: added bool ConfigNavWindowingWithGamepad to disable windowing with gamepad. ( #8525 , #4828 , #3255 , #5641 )
2025-03-30 15:05:27 +02:00
ocornut
187acb8609
Nav: polling gamepad for ImGuiKey_NavGamepadMenu use routing-friendly Shortcut() so Ctrl+Tab equivalent may be hijacked. ( #8525 , #4828 , #3255 , #5641 )
2025-03-30 14:46:58 +02:00
ocornut
702a67807b
Move Changelog entry. ( #8509 )
2025-03-21 20:17:49 +01:00
ocornut
ca3ba28768
Internals: made MousePos an argument of UpdateHoveredWindowAndCaptureFlags(). ( #8431 , #1152 )
2025-03-21 17:21:45 +01:00
ocornut
102f3f3a0d
IO: variations in analog-only components of gamepad events do not interfere with trickling of mouse position events ( #4921 , #8508 )
2025-03-21 16:18:36 +01:00
ocornut
979c7d76ab
Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. ( #8508 )
2025-03-21 15:42:47 +01:00
ocornut
d467950a5e
Style, InputText: added ImGuiCol_InputTextCursor to configure color of the InputText cursor/caret. ( #7031 )
2025-03-19 17:50:40 +01:00
ocornut
0ecb2bbe74
Version 1.92.0 WIP
2025-03-19 17:45:20 +01:00
ocornut
ee48ffe021
Added comments about line/rect thickness needing scaling. ( #7031 )
2025-03-19 17:42:19 +01:00
ocornut
f5befd2d29
Version 1.91.9b
2025-03-17 20:17:26 +01:00
ocornut
cfed7a3a54
Tables: fixed assert/issues loading settings. ( #8496 , #7934 )
...
Not sure what I did with 05742f9b6f but I missed on the primary filter.
2025-03-17 20:04:50 +01:00
ocornut
93b446a962
Backtrack of version tagging 1.92.0 > 1.91.9b for publishing a hotfix ( #8496 )
2025-03-17 19:39:52 +01:00
ocornut
a7dc184772
Moved ImDrawIdx definition lower in imgui.h. Moved ImTextureID slightly below in its own section.
2025-03-17 19:19:25 +01:00
ocornut
bfaef8ca17
Version 1.92.0 WIP
2025-03-17 19:09:07 +01:00
ocornut
2737dbb1e1
Docs: Fixed typo. Very oops. ( #8495 )
2025-03-17 11:51:57 +01:00
ocornut
4d4f1fd364
Docs: retroactively document ConfigData->Sources renaming. ( #8495 )
...
Amend 4c0604e
2025-03-17 11:50:32 +01:00
ocornut
b758b8223f
InputText: Pasting a multi-line buffer into a single-line edit replaces carriage return by spaces. ( #8459 )
2025-03-13 19:30:59 +01:00
ocornut
79bba34c5f
Revert "Added ImGuiKey_AbntC1, ImGuiKey_AbntC2 + Backends: GLFW, Win32: added support. ( #8468 )"
...
This reverts commit 557c77e455 .
2025-03-13 16:32:50 +01:00
ocornut
d9dad2f4a1
Scrollbar: stabilize visibility of ScrollbarX when detecting a feedback loop. ( #8488 , #3285 , #4539 )
2025-03-13 12:27:47 +01:00
ocornut
6e30c42101
Tables: fixed an issue with TableSetupColumn() overriding ini data. ( #7934 )
...
Amend 05742f9b6f
2025-03-12 19:29:41 +01:00
ocornut
de4f77b0ac
Backends: DX12: comment about using SrvDescriptorAllocFn/SrvDescriptorFreeFn.
...
Amend 40b2286d16
2025-03-12 15:47:37 +01:00
ocornut
39585aa90d
Amend Changelog to talk about OEM keys. ( #7136 , #7201 , #7206 , #7306 , #7670 , #7672 , #8468 )
...
+ more consistently use Ctrl+XXX instead of Ctrl-XXX.
2025-03-10 18:16:08 +01:00
ocornut
a9e53829d2
Backends: Win32, SDL2, SDL3, GLFW: prioritize scancodes instead of translated keycodes when dealing with OEM keys + Added ImGuiKey_Oem102. ( #7136 , #7201 , #7206 , #7306 , #7670 , #7672 , #8468 )
2025-03-10 18:01:29 +01:00
ocornut
377a387a42
Add proper ImGuiTextBuffer::resize() support other than 0.
2025-03-05 16:23:31 +01:00
ocornut
9f49292b35
Internals: Menus: reworked mangling of menu windows to use "###Menu_00" etc. instead of "##Menu_00".
2025-03-05 15:47:57 +01:00
ocornut
119dfbc627
Debug Tools: Tweaked layout of ID Stack Tool and always display full path. ( #4631 )
2025-03-05 15:04:26 +01:00
ocornut
fcec08f7ae
Demo: (Refactor) Moved ExampleTreeNode contents below ShowDemoWindow() so main entry point is more visible to casual reader.
2025-03-05 13:39:48 +01:00
ocornut
324172fb1f
Demo: (Refactor) Moved DemoWindowWidgets() below the functions it calls, reducing amount of forward declarations.
2025-03-05 13:35:14 +01:00
ocornut
a7657f2ed4
Examples: SDL3: Added comments to clarify setup for users of the unfortunate SDL_MAIN_USE_CALLBACKS feature. ( #8455 )
2025-03-04 14:36:00 +01:00
ocornut
df31774327
Disabled: Fixed an issue restoring Alpha in EndDisabled() when using nested BeginDisabled() calls with PushStyleVar(ImGuiStyleVar_DisabledAlpha) within. ( #8454 , #7640 )
2025-03-03 19:20:10 +01:00
ocornut
71b160cdbb
Demo: (Refactor) Moved code into DemoWindowWidgetsDisableBlocks() section.
2025-03-03 18:56:21 +01:00
ocornut
7a919e80c9
Demo: (Refactor) Moved code into DemoWindowWidgetsQueryingStatuses() section.
2025-03-03 18:54:02 +01:00
ocornut
0758594bd2
Demo: (Refactor) Moved code into DemoWindowWidgetsDragAndDrop() section.
2025-03-03 18:54:01 +01:00
ocornut
9b486e47fe
Demo: (Refactor) Moved code into DemoWindowWidgetsDragsAndSliders(), DemoWindowWidgetsMultiComponents(), DemoWindowWidgetsVerticalSliders() sections.
2025-03-03 18:47:11 +01:00
ocornut
caf3faa054
Demo: (Refactor) Moved code into DemoWindowWidgetsColorAndPickers() section.
2025-03-03 18:46:44 +01:00
ocornut
510a9a77d6
Demo: (Refactor) Moved code into DemoWindowWidgetsDataTypes() section.
2025-03-03 18:46:44 +01:00
ocornut
4d0c776a80
Demo: (Refactor) Moved code into DemoWindowWidgetsPlotting(), DemoWindowWidgetsProgressBars(), DemoWindowWidgetsTabs() sections.
2025-03-03 18:46:44 +01:00
ocornut
4450d61ac2
Demo: (Refactor) Moved code into DemoWindowWidgetsSelectables(), DemoWindowWidgetsTextFilter(), DemoWindowWidgetsTextInputs() sections.
2025-03-03 18:46:44 +01:00
ocornut
22baec494b
Demo: (Refactor) Moved code into DemoWindowWidgetsComboBoxes(), DemoWindowWidgetsImages(), DemoWindowWidgetsListBoxes() sections.
2025-03-03 18:46:44 +01:00
ocornut
94877a137d
Demo: (Refactor) Moved code into DemoWindowWidgetsBullets(), DemoWindowWidgetsCollapsingHeaders(), DemoWindowWidgetsCollapsingText() sections.
2025-03-03 18:46:44 +01:00
ocornut
de3f68a233
Demo: (Refactor) Moved code into DemoWindowWidgetsTooltips(), DemoWindowWidgetsTreeNodes() sections.
2025-03-03 18:46:44 +01:00
ocornut
b2c55c9db5
Demo: (Refactor) Moved code into DemoWindowWidgetsBasic() section.
2025-03-03 18:46:44 +01:00
ocornut
eefd2da0f6
Demo: (Refactor) Added new empty sections.. Renamed existing helper functions.
2025-03-03 18:46:43 +01:00
ocornut
ce13f6b73e
Backends: GLFW: Fixed clipboard handler assertion when using GLFW <= 3.2.1 compiled with asserts enabled. ( #8452 )
...
Amend 8e4010479
2025-03-03 13:11:16 +01:00
ocornut
9c2876b9f8
ShowFontAtlas() uses ImageWithBg(). ( #8131 , #8238 )
...
Amend 494ea57
2025-02-27 22:04:56 +01:00
ocornut
1aab00da85
Misc shallow tweaks/tidying up. ( #8446 )
2025-02-27 21:58:02 +01:00
ocornut
482a1f50b6
Internals: rename ImGuiDataVarInfo to ImGuiStyleVarInfo. Move ImGuiStyleMod, ImGuiColorMod to own section.
...
# Conflicts:
# imgui.cpp
2025-02-27 21:51:07 +01:00
ocornut
494ea57b65
Image: removed 'tint_col', 'border_col' parameters from Image(). Added ImageWithBg(). Added style.ImageBorderSize, ImGuiStyleVar_ImageBorderSize. ( #8131 , #8238 )
...
Displaying a black background behind Font Atlas texture.
2025-02-27 21:48:24 +01:00
ocornut and ocornut
4c0604ec2e
Font: shallow refactor, rename ConfigData[] fields to Sources[], ConfigDataCount to SourcesCount.
...
In theory this is all internal stuff.
2025-02-25 17:41:29 +01:00
ocornut
030746faff
Debug Tools: Added io.ConfigDebugHighlightIdConflictsShowItemPicker. ( #7961 , #7669 )
2025-02-24 17:45:16 +01:00
ocornut
ef969a53f5
Tabs: fixed Unsaved Marker not being visible when Close Button is. ( #8430 , #8387 )
2025-02-24 11:44:48 +01:00
ocornut
5dce79e941
Backends: DirectX12: Fixed an issue where pre-1.91.5 legacy ImGui_ImplDX12_Init() signature started breaking in 1.91.8 due to missing command queue. ( #8429 )
2025-02-24 10:52:15 +01:00
ocornut
6dc376f676
ImFontAtlas: added software/drawlist version of ImGuiMouseCursor_Wait/ImGuiMouseCursor_Progress + moved GetMouseCursorTexData() to internals.
2025-02-20 12:17:21 +01:00
ocornut
85c488ee12
Hot-fix for broken MouseDrawCursor support for ImGuiMouseCursor_Wait/ImGuiMouseCursor_Progress/ImGuiMouseCursor_NotAllowed.
...
Amend 8a35386 , eec097f .
2025-02-20 11:46:56 +01:00
ocornut
eec097fe35
Added ImGuiMouseCursor_Progress mouse cursor 8a35386+ support in SDL2,SDL3,Win32,Allegro5 backends.
...
Amend 8a35386
2025-02-18 18:52:08 +01:00
ocornut
8a35386ba7
Added ImGuiMouseCursor_Wait mouse cursor (busy/wait/hourglass shape) + support in SDL2,SDL3,Win32,Allegro5 backends.
2025-02-18 18:40:47 +01:00
ocornut
8f0411ff03
Backends: OpenGL3: Lazily reinitialize embedded GL loader for when calling backend from e.g. other DLL boundaries. ( #8406 )
2025-02-18 18:19:10 +01:00
ocornut
78ec1272e9
ImDrawList: added InitialFringeScale in ImDrawListSharedData. Default to 1.0f.
...
This is to allow some DPI mods with less changes. Only the initial value in SetupDrawListSharedData() will need change.
2025-02-17 11:28:35 +01:00
ocornut
2860d7ba05
Selectable: Fixed horizontal label alignment with SelectableTextAlign.x > 0 and specifying a selectable size. ( #8338 )
...
Regression from ed7551c1d
2025-02-14 19:44:35 +01:00
ocornut
474305c476
ImFont: simpler constructor.
2025-02-14 16:15:09 +01:00
ocornut
98c2f6b0c4
Tables, Error Handling: Recovery from invalid index in TableSetColumnIndex(). ( #1651 )
2025-02-13 16:19:41 +01:00
ocornut
e1ae7db4cc
Backends: Vulkan: Fixed building with older headers not supporting VK_HEADER_VERSION_COMPLETE. ( #8326 , #8365 )
2025-02-13 16:03:40 +01:00
ocornut
12963f5231
Examples: Vulkan: make ApiVersion a little more visible in examples. ( #8326 , #8365 )
2025-02-13 15:49:47 +01:00
ocornut
890ead6a71
Backends: Vulkan: Added ApiVersion field in ImGui_ImplVulkan_InitInfo. Dynamic rendering path loads "vkCmdBeginRendering/vkCmdEndRendering" without -KHR on API 1.3. ( #8326 , #8365 )
2025-02-13 15:40:49 +01:00
ocornut
b78cc37891
Backends: SDL2: Fixed build for versions older than 2.0.14. ( #7660 )
2025-02-12 19:27:43 +01:00
ocornut
a931fb7f51
Fixed static analyzer warning.
...
(was harmless as initialized in NewFrame)
2025-02-12 19:15:00 +01:00
ocornut
7cd31c3557
Tables: tamed some .ini settings optimizations to more accurately allow overwriting/hot-reloading settings. ( #7934 )
2025-02-12 19:08:52 +01:00
ocornut
7221f5e739
Styles, Tabs: Fixed ef7ffaf. ( #8387 )
2025-02-12 19:01:02 +01:00
ocornut
ef7ffaff74
Styles, Tabs: (Breaking) Renamed TabMinWidthForCloseButton to TabCloseButtonMinWidthUnselected. Added TabCloseButtonMinWidthSelected. ( #8387 )
2025-02-12 15:46:17 +01:00
ocornut
3b2f2602b4
Windows: Fixed an issue where BeginChild() inside a collapsed Begin() wouldn't inherit the SkipItems flag.
...
Amend/fix a89f05a10 (old!)
Discovered while looking at glyph being processed in WIP branch.
2025-02-10 21:34:55 +01:00
ocornut
4dc9df6aae
Tables: fixed an issue where Columns Visible/Hidden state wouldn't be correctly overridden when hot-reloading .ini state. ( #7934 )
2025-02-10 19:29:18 +01:00
ocornut
88cda0cab6
Fixed minor warning. Added comment.
2025-02-10 12:39:54 +01:00