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
cfed18afc7
Add ImFontConfig::GlyphExtraAdvanceX as a replacement for GlyphExtraSpacing.x ( #242 )
...
Partly restore 1a31e31.
2025-02-06 12:34:37 +01:00
ocornut
1a31e31ae9
(Breaking) Fonts: removed ImFontConfig::GlyphExtraSpacing option which seems largely obsolete and unused. ( #242 )
2025-02-03 17:55:35 +01:00
ocornut
5dd84082ab
InputTextWithHint(): Fixed buffer overflow when user callback modifies the buffer contents in a way that alters hint visibility. ( #8368 )
2025-02-03 15:11:22 +01:00
ocornut
6265339995
Fixed IsItemDeactivatedAfterEdit() signal being broken for Checkbox(), RadioButton(), Selectable(). ( #8370 )
...
Item is already made inactive at the time of calling MarkItemEdited().
Fix a604d4f71
2025-02-03 14:03:43 +01:00
ocornut
f820bf7cd4
Version 1.91.9 WIP
2025-02-03 12:33:40 +01:00
ocornut
e4db4e423d
Internals: renamed GetIOEx() to GetIO(). Added GetPlatformIO() explicit context variant. - OOPS
2025-01-31 19:50:18 +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
fa178f4235
Error Handling: Recovery from missing EndMenuBar() call. ( #1651 )
2025-01-30 14:30:14 +01:00
ocornut
dabc990189
Rename internal id for standardizing naming convention. "##menubar" -> "##MenuBar", "###NavWindowingList" -> "###NavWindowingOverlay"
...
"###NavUpdateWindowing" one should have zero side effect on anyone.
2025-01-29 19:59:41 +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
ocornut
134fbe1245
Windows: Fixed IsItemXXXX() functions not working on append-version of EndChild(). ( #8350 )
...
Also made some of the fields accessible after BeginChild() to match Begin() logic.
2025-01-27 12:41:31 +01:00
ocornut
5a28f188ff
Fixed parameter names to SetLastItemData() to align with current names.
2025-01-27 12:27:15 +01:00
ocornut
8a1613a382
Fonts: OversampleH/OversampleV value defaults to 0 for automatic selection.
2025-01-24 19:32:30 +01:00
ocornut
53244aaac7
Amend 9bc5b04 with a shadowed variable warning fix.
2025-01-24 15:00:21 +01:00
ocornut
9bc5b0406d
Windows, Style: Fixed small rendering issues with menu bar, resize grip and scrollbar when using thick border sizes. ( #8267 , #7887 )
...
Amend e.g. 742b5f4c.
2025-01-24 14:39:07 +01:00
ocornut
71da34c48c
Debug Tools: Tweaked font preview + indent "Glyphs" block.
2025-01-22 16:56:18 +01:00
ocornut
6906ac979e
ColorEdit, ColorPicker: (Breaking) redesigned how alpha is displayed in the preview square. ( #8335 , #1578 , #346 )
...
Added ImGuiColorEditFlags_AlphaOpaque, ImGuiColorEditFlags_AlphaNoBg.
Removed ImGuiColorEditFlags_AlphaPreview.
2025-01-22 12:12:07 +01:00
ocornut
fdca6c08ad
Inputs: added IsMouseReleasedWithDelay() helper. ( #8337 , #8320 )
2025-01-22 11:28:47 +01:00
ocornut
7ae7c90790
Tabs, Style: reworked selected overline rendering to better accommodate for rounded tabs. ( #8334 )
2025-01-21 13:55:44 +01:00
ocornut
487d7f9a29
Font: Internals: make used page maps smaller. Since it's extremely rarely used and for iterations only. ~34->16 bytes with ImWchar32.
2025-01-16 22:30:43 +01:00
ocornut
f2262eb81a
Windows: latch FontRefSize at time of Begin(), consistent with e.g. TitleBarHeight, and to avoid calling CalcFontSize() on non-current window.
2025-01-16 19:46:54 +01:00
ocornut
b7c27c5333
Windows: legacy SetWindowFontScale() is properly inherited by nested child windows. ( #2701 , #8138 , #1018 )
2025-01-16 19:08:39 +01:00
ocornut
100075f2be
Backends: DirectX12: Texture upload use the command queue provided in ImGui_ImplDX12_InitInfo instead of creating its own.
...
+ minor tweaks to faciliate branch merging.
2025-01-15 12:15:24 +01:00
ocornut
c59a2267d0
Version 1.91.8 WIP
2025-01-15 11:58:47 +01:00
ocornut
5c1d2d1e4c
Version 1.91.7
2025-01-14 13:29:25 +01:00
ocornut
9f8481a842
(Breaking) TreeNode: renamed ImGuiTreeNodeFlags_SpanTextWidth to ImGuiTreeNodeFlags_SpanLabelWidth. ( #6937 )
2025-01-14 13:14:50 +01:00
ocornut
a604d4f717
Fixed IsItemDeactivated(), IsItemDeactivatedAfterEdit() to work when interrupted before/after the active id is submitted. ( #5184 , #5904 , #6766 , #8303 , #8004 )
2025-01-13 14:09:41 +01:00
ocornut
a28ffa81c4
Docs: added more references to IsKeyDown(), InFlags. ( #8317 )
2025-01-13 13:35:26 +01:00
ocornut
940d9540f3
Fixed MinGW builds uses UTF-8 friendly _wfopen(). ( #8300 )
...
Amend bbd0a37bd, 40db2ca09
2025-01-09 15:28:48 +01:00
ocornut
1c67a3412e
BeginChild: also caller to manually set ImGuiNextWindowDataFlags_HasChildFlags / ChildFlags. ( #8280 )
2025-01-08 14:55:51 +01:00
ocornut
2b8545684c
Refactor: moved Window Focus related functions to a dedicated section.
2025-01-08 14:22:37 +01:00
ocornut
bbbdc70f26
Refactor: moved FindBlockingModal() in its section.
2025-01-08 14:22:04 +01:00
ocornut
a0f907933d
Happy new year!
2025-01-06 14:07:06 +01:00
ocornut
18929bd6d6
Internals: merge ScaleWindowsInViewport() from docking branch.
2024-12-20 23:26:21 +01:00
ocornut
2a600bddcb
ImGuiDebugLogFlags_EventFont should not be set by default (had no effect on master tho)
2024-12-20 23:11:37 +01:00
ocornut
7219fa65c0
Revert "Fonts: Allowing PushFont()/PopFont() to be called outside the imgui frame scope. ( #3621 )"
...
This reverts commit 61d4bf95dc5345c77b97b279011fce2c46efcaa8.
2024-12-20 17:20:57 +01:00
ocornut
61d4bf95dc
Fonts: Allowing PushFont()/PopFont() to be called outside the imgui frame scope. ( #3621 )
2024-12-20 17:17:40 +01:00
ocornut
d30e102f3a
Scrollbar, TestEngine: for consistency, scrollbars are registered in _Menu layer.
...
Amend f31d530.
2024-12-20 15:22:34 +01:00
ocornut
91e8f2b0fe
Debug Tools: Debug Log: hovering 0xXXXXXXXX values in log is allowed even if a popup is blocking mouse access to the debug log window. ( #5855 )
2024-12-20 15:13:49 +01:00
ocornut
eed9502795
Error Handling: Fixed bugs recovering from within a table that created a child window, and from nested child windows. ( #1651 )
2024-12-20 14:28:04 +01:00
Raffaello Bertini
cd6c83cdcc
Fixes GCC warnings ( #8241 )
2024-12-18 17:58:19 +01:00
ocornut
f31d53093b
TestEngine: for consistency, title bar / window items are registered in _Menu layer.
2024-12-18 13:02:48 +01:00
ocornut
13c4084362
Nav: Fixed an issue where Alt key would clear current active item on windows with the ImGuiWindowFlags_NoNavInputs flag. ( #8231 )
2024-12-16 10:51:33 +01:00
ocornut
8237ab450e
Drags, Sliders: store initial value on activation, as a convenience for some mods. ( #8223 )
2024-12-12 18:52:07 +01:00
ocornut
f25665f360
Version 1.91.7 WIP
2024-12-11 15:37:16 +01:00
ocornut
993fa34749
Version 1.91.6
2024-12-11 15:05:36 +01:00
ocornut
c3ffd4c53e
Misc: Added IMGUI_USE_LEGACY_CRC32_ADLER to use old tables. ( #8169 , #4933 )
2024-12-11 12:13:28 +01:00