ocornut
651b721ba9
ImStrv: standardized code doing format copy, optimized ImStrStr
2026-01-08 17:21:03 +01:00
ocornut
bd152fd872
ImStrv: Fixed various compile errors/warnings.
2026-01-08 17:21:03 +01:00
ocornut
932c281377
ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks.
2026-01-08 17:21:03 +01:00
ocornut
ef598afc79
ImStrv: Step 2 - change ImStrv typedef to struct, perform all other logic conversion.
...
Squashed commits (initially a commit from rokups + many rework by ocornut. keeping them separate commits made rebasing unnecessarily tricking so merged from 2024/02)
ImStrv: many fixes (see details), added imconfig class extension example, added natvis description.
ImStrv: rework toward ensuring End is always set to constant can be compile time calculated
ImStrv: using length(), fix ambiguous empty() function, fix altered behaviors, removed unused operators.
ImStrv: various tweaks and fixes. removed ImGuiTextRange from ImGuiTextFilter, fix test engine hooks, removed constructor only used twice.
2026-01-08 17:20:03 +01:00
Rokas Kupstys
fd5f6016f8
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2024/12/11)
2026-01-08 17:19:36 +01:00
ocornut
7a02f4b545
Nav, Shortcuts, Tooltips: tooltip reference position not affected by remote shortcut activation. ( #9138 , #456 )
...
NavCalcPreferredRefPos() has different path for popups vs tooltip.
Amend 197f8904fe
2026-01-08 17:14:38 +01:00
ocornut
ca9b7b4071
InputText, Nav: amend 1566c96. (incorrectly commited old chunk)
2026-01-08 17:11:23 +01:00
ocornut
1566c96ccd
InputText, Nav: fixed remote/shortcut InputText() not teleporting mouse cursor when nav cursor is active and io.ConfigNavMoveSetMousePos is enabled.
...
Motivated by this, also made SetFocusID() immediately set g.NavIdIsAlive, which is more correct and might be other (positive) subtle side effects.
2026-01-08 17:04:52 +01:00
ocornut
3389dfd9dd
IsItemHovered() doesn't filter out the signal when activated item is a shortcut remote activation. ( #9138 , #456 )
...
Amend a201af7354
2026-01-08 15:58:12 +01:00
ocornut
7b3ad4a282
(Breaking) Popups: changed 'ImGuiPopupFlags popup_flags = 1' default value to be '= 0' for BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid(), OpenPopupOnItemClick(). ( #9157 , #9146 )
2026-01-07 18:15:15 +01:00
ocornut
960921f03a
Happy new year!
2026-01-03 01:07:58 +01:00
ocornut
05581da183
AddFontDefault() now automatically selects an embedded font between AddFontDefaultVector() and AddFontDefaultBitmap).
2025-12-23 18:16:33 +01:00
ocornut
73dd0e869d
(Breaking) Fonts: remove ImFontConfig::PixelSnapV. Post-rescale GlyphOffset is always rounded.
...
Amend 99f6b305c , 99bca397d8 .
2025-12-23 18:16:33 +01:00
ocornut
55ad3b4abd
Fonts: added ExtraSizeScale feature (undocumented).
2025-12-23 18:16:32 +01:00
ocornut
0ff810038d
Added GetItemFlags() in public API. ( #9127 )
2025-12-22 18:33:12 +01:00
ocornut
4e7c05504a
Renamed IM_ARRAYSIZE() -> IM_COUNTOF(). Kept legacy name for now.
2025-12-17 14:30:01 +01:00
ocornut
99bca397d8
Docs: clarify PixelSnapH / PixelSnapV + comment on PushTextWrapPos().
2025-12-17 12:02:07 +01:00
ocornut
dc48a7c88e
Docs: amend fc89c61
2025-12-15 16:59:22 +01:00
ocornut
4dac00ca0c
Windows: fixed always updating internal buffer for ### window titles even when Ctrl+Tab window is hidden. Instead forcing an update on mismatching when appearing.
...
3997e8b555 was already doing that. (Relates to 8e67fe1 : code assume pointer used to be nulled when ctrl+tab window is disabled. not the case).
2025-12-11 23:24:43 +01:00
omar
fc89c61089
Hashing: handling of "###" operator to reset to seed within a string identifier doesn't include the "###" characters in the output hash anymore.
...
This has various simplifying properties.
Need a test engine update too.
+ Demo: removed misleading/unnecessary usage of ###.
2025-12-11 23:02:20 +01:00
ocornut
9971251574
Fonts: amend/comment on FontDataOwnedByAtlas=false fix being a breaking change. ( #9086 , #8465 )
2025-12-10 21:42:07 +01:00
ocornut
7f78f52243
Demo: removed some hardcoded widths.
2025-12-05 18:46:13 +01:00
ocornut
60f8b0733c
Rework color marker internals to facilitate arbitrary override using SetNextItemColorMarker().
...
Amend fa4b47c
2025-12-05 18:28:55 +01:00
ocornut
fa4b47c5e2
Added RGBA color markers to ColorEdit3/ColorEdit4 + opt-in ImGuiSliderFlags_ColorMarkers for Drags/Sliders.
...
+ Added ImGuiColorEditFlags_NoColorMarkers
+ Added style.ColorMarkerSize.
2025-12-05 16:32:48 +01:00
ocornut
ded52c71d9
Debug Log: can output to debugger. Added ImGuiDebugLogFlags_OutputToDebugger.
2025-12-05 15:07:44 +01:00
ocornut
9d4fafa671
Nav: removed an unnecessary FindWindowByName() call.
...
Amend c7016c25e8 . It's not clear to me why it was committed like that, maybe a leftover of wip code which used the pointer before Begin().
2025-12-05 14:16:14 +01:00
ocornut
bfe137893a
Debug Log: fixed incorrectly printing characters in IO log when submitting non-ASCII values to io.AddInputCharacter(). ( #9099 )
2025-12-01 17:03:04 +01:00
ocornut
1a62292ac0
Tables: fixed an issue where a very thin scrolling table would advance parent layout slightly differently depending on its visibility.
2025-11-27 22:37:00 +01:00
ocornut
ae873b1e0d
Misc: rename extraneous parenthesizes from return statements.
2025-11-27 15:01:24 +01:00
ocornut
c36162fc6c
Internals: add SetContextName() helper. ( #9097 )
...
Amend 37c243b .
2025-11-26 17:29:37 +01:00
ocornut
285e3042ba
Docs: tweaks. Add reference to imgui-module from main README. ( #9092 , #8868 )
2025-11-26 14:49:11 +01:00
ocornut
d981b33dd0
Textures: amend to please static analyzer.
2025-11-26 14:24:55 +01:00
ocornut
e768f91dc2
Textures: fixed displaying texture # in metrics/debugger.
2025-11-26 14:21:48 +01:00
ocornut
3fef0d553d
Textures: fixed a building issue when ImTextureID is defined as a struct.
...
+ Added CI for this case.
2025-11-26 14:21:48 +01:00
ocornut
5f82275ba1
Docs: updated 1.91.5 logs for missing info that GetKeyIndex() was removed at this date.
...
Amend 6f287dd16
2025-11-24 14:49:16 +01:00
ocornut
324cea1f41
Version 1.92.6 WIP
2025-11-24 13:35:41 +01:00
ocornut
6d910d5487
Version 1.92.5
2025-11-20 17:49:52 +01:00
ocornut
4ab86e1d61
Nav: fixed scoring when using PageUp/PageDown from a focused item which is outside of visible boundaries. ( #9079 )
...
We only use ImGuiNavMoveFlags_AlsoScoreVisibleSet when starting point is visible.
2025-11-19 19:01:22 +01:00
ocornut
0faa0dba15
Drag and Drop: rework cancel drag and drop logic to be overridable. ( #9071 )
2025-11-19 18:26:44 +01:00
ocornut
db6b8e0fb3
Drag and Drop: handling of Escape after UpdateKeyboardInputs(). ( #9071 )
2025-11-19 18:26:43 +01:00
ocornut
23bd697f05
Drag and Drop: Pressing Escape while carrying a payload automatically cancel the active drag and drop. ( #9071 )
2025-11-18 19:18:10 +01:00
ocornut
37f9153105
Nav: improved/clarified behavior when requesting PageUp/PageDown from a focused item which is outside of visible boundaries. ( #9079 )
2025-11-18 18:59:06 +01:00
ocornut
81e01ddebe
Nav: reworked PageUp/PageDown to pick same-page top/bottom page based on inner rectangle rather than clipping rectangle.
2025-11-18 18:57:32 +01:00
ocornut
405c802607
Nav: shallow tweaks.
2025-11-18 18:22:36 +01:00
ocornut
91b5256c57
Clipper: fixed an issue when using up/down from an item outside of visible bound and using the clipper. ( #9079 )
2025-11-18 17:00:01 +01:00
ocornut
f145b0cffd
Debug Tools: ID Stack Tool: refactor, extract data/code into ImGuiDebugItemPathQuery for reuse.
2025-11-13 18:32:43 +01:00
ocornut
c254db7637
Debug Tools: ID Stack Tool: store ResultsComplete and don't display incomplete paths.
2025-11-13 16:19:27 +01:00
ocornut
5a0c67c4b8
Debug Tools: ID Stack Tool: extracted code into a StackToolGetResultAsPath() function.
2025-11-13 16:15:00 +01:00
ocornut
e60e5bff63
Misc: standardized casing of keyboard mods in comments and demo ("CTRL" -> "Ctrl").
2025-11-13 15:24:03 +01:00
ocornut
873fe34b31
Debug Tools: ID Stack Tool: preserve first data type, so user of PushOverrideID() e.g. TreeNode() elements don't get demoted from _String to _ID.
2025-11-13 15:05:16 +01:00