ocornut
0f0473bf1c
Fonts, Textures: main code for ImGuiBackendFlags_RendererHasTextures feature.
...
# Conflicts:
# imgui.h
# imgui_demo.cpp
2025-06-11 15:03:46 +02:00
ocornut
191a728ecc
(Breaking) added ImTextureRef struct. Changed ImDrawCmd::TextureId to TexRef.
...
Softly breaking. May require support from language binding generator.
Rebased and reworked completely on 2025/03/19.
2025-06-11 15:02:36 +02:00
ocornut
87a6443c5b
Scroll: fixed contents size, scrollbar visibility and scrolling reet issue with abnormally large contents ranges. ( #3609 , #8215 )
2025-05-30 21:52:51 +02:00
ocornut
6d939fcedc
(Breaking) TreeNode: renamed ImGuiTreeNodeFlags_NavLeftJumpsBackHere to ImGuiTreeNodeFlags_NavLeftJumpsToParent for clarity. ( #1079 , #8639 )
2025-05-15 17:35:29 +02:00
ocornut
afd3a36f69
Demo: added basic Fonts section under main demo (same as Metrics one) for visibility.
2025-05-05 19:39:56 +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
bf0f586b69
Platform IME: added ImGuiPlatformImeData::WantTextInput, ViewportId. Backends: SDL3: honor WantTextInput. ( #8584 , #7492 , #6341 )
2025-04-22 11:21:02 +02:00
ocornut
97d85338e8
Tabs: adjust handling of ellipsis now that Close Button visibility changed. ( #8387 ) Internals: remove extra parameter to RenderTextEllipsis().
...
This requires RenderTextEllipsis() to use fine CPU-side clippoing.
Users of RenderTextEllipsis(): #7024 , #6236 , #5267 , #5745 , #4269 , #2775
2025-04-16 20:29:43 +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
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
789de09dda
TreeNode: extracted TreeNodeDrawLineToChildNode() for usage by custom widgets ( #2920 )
2025-04-09 12:04:09 +02:00
ocornut
39f34e1e58
TreeNode: Don't latch GetColorU32(ImGuiCol_TreeLines). ( #2920 )
...
Trade off doesn't seem worth it for large trees. User who really needs to alter colors can do it by adjusting Push/Pop locations.
2025-04-08 19:58:59 +02:00
ocornut
e5b218e6d1
TreeNode: added ImGuiTreeNodeFlags_DrawTreeXXX flags. ( #2920 )
...
# Conflicts:
# docs/CHANGELOG.txt
2025-04-08 19:58:59 +02:00
ocornut
9701810bc3
TreeNode: adding ImGuiTreeNodeFlags_NoNavFocus in imgui_internal.h ( #8551 )
2025-04-07 11:41:21 +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
ca3ba28768
Internals: made MousePos an argument of UpdateHoveredWindowAndCaptureFlags(). ( #8431 , #1152 )
2025-03-21 17:21:45 +01:00
ocornut
0ecb2bbe74
Version 1.92.0 WIP
2025-03-19 17:45:20 +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
bfaef8ca17
Version 1.92.0 WIP
2025-03-17 19:09:07 +01:00
ocornut
97428e8ac9
Version 1.91.9
2025-03-14 17:13:11 +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
fdsa
3c3d943fb1
Docs: Fix some typos ( #8473 )
2025-03-09 16:42:16 +01:00
ocornut
1ec99f4fd3
Internals: added ImStrlen/ImMemchr #define to facilitate experimenting with variations. ( #8421 )
2025-03-07 11:09:07 +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
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
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
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
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
6e29450f76
Internals: added IsItemActiveAsInputText() helper.
2025-02-25 16:02:10 +01:00
ocornut
434b7710f3
Internals: packing ImGuiDataVarInfo + misc renaming + value of ImGuiDataType_Pointer doesn't need to be Count+1
2025-02-21 19:26:24 +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
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
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
50dbb086f2
Tables: sneakily honor ImGuiNextWindowDataFlags_HasChildFlags/ImGuiNextWindowDataFlags_HasWindowFlags as a way to facilitate various hacks/workarounds.
2025-02-07 22:57:15 +01:00
ocornut
e5668b8c73
Internals: rename ImGuiNextWindowData::Flags to HasFlags for consistency and to reduce mistakes.
2025-02-07 22:48:31 +01:00
ocornut
4982602f6f
Windows, Style: Added style.WindowBorderHoverPadding setting to configure inner/outer padding applied to hit-testing of windows borders.
...
Amend 3c7177c6 , 59f3c4fc2 , ae7f833c6 .
Could be latched inside windows to be multi-dpi friendly, but likely won't matter soon.
2025-02-07 18:16:04 +01:00
ocornut
f820bf7cd4
Version 1.91.9 WIP
2025-02-03 12:33:40 +01:00
ocornut
e2a99b5760
Internals: renamed GetIOEx() to GetIO(). Added GetPlatformIO() explicit context variant.
2025-01-31 18:28:31 +01:00
ocornut
dbb5eeaadf
Version 1.91.8
2025-01-31 16:08:17 +01:00
ocornut
dfd1bc3c5b
Tables, Menus: Fixed using BeginTable() in menu layer (any menu bar). ( #8355 )
2025-01-29 19:05:18 +01:00
ocornut
4230e98720
Error Handling, Debug Log: IMGUI_DEBUG_LOG_ERROR() doesn't need the extra variable.
...
Amend 236006152
2025-01-28 14:39:10 +01:00
ocornut
ea0da0bf47
Extracted PushPasswordFont() out of InputText code.
2025-01-27 18:04:44 +01:00
ocornut
9c4948a4d1
TabBar: Internals: added TabItemSpacing(). ( #8349 , #3291 )
2025-01-27 15:41:24 +01:00
ocornut
a05d547ae8
Windows: separating WindowItemStatusFlags from ChildItemStatusFlag, because IsItemXXX _after_ BeginChild()>Begin() shouldn't return last status emitted by e.g. EndChild()
...
As IsItemXXX() after is specced as returning title bar data we don't want to lock ourselves up from adding them to child window (e.g. MDI idea using windows to host child windows).
2025-01-27 14:39:26 +01:00