10311 Commits

Author SHA1 Message Date
ocornut
9d0b72573a Windows: using SetNextWindowPos() with a pivot while a window is hidden and measuring size will still apply temporary position until size is figured out. (#9568) 2026-11-03 20:06:47 +01:00
ocornut
67f442d5de Tables: workaround/hack for max width 1-off issue when right-most column is resizable. (#4678)
Requires !Scroll && Resizable && (NoHostExtendX || RightMostColumnnIsFixed) to see a difference.
2026-11-02 19:13:36 +01:00
ocornut
c5131aff7e Tables: draw outer border before inner borders. 2026-11-02 19:13:36 +01:00
ocornut
852269e25f Tables: fixed Selectable/TreeNode highlight overlapping left/right-most edges when using a border + no scrolling. (#4678) 2026-11-02 19:13:36 +01:00
ocornut
c6affd1145 Tables: move code in BeginTableEx() so that RowPosY1 may be assigned before altering WorkRect with padding (subsequent commit). 2026-11-02 19:13:36 +01:00
Miloš Đorđević
7ee4dbac89
imgui_freetype: fixed undefined float to integer conversion when de-multiplying a color glyph with a color above its alpha. (#9599) 2026-11-02 14:27:23 +01:00
ocornut
391f714c37 RenderArrow doesn't need 64-bits rounding. Added ImRoundPositive() for consistency. 2026-10-30 19:54:08 +01:00
ocornut
1023d3ddaa InputText: fixed ImGuiInputTextCallbackData::InsertChars() mistakenly over growing internal buffer. (#9603, #7925)
Note that the 32-256 ranges may seem misleading because ImVector<> handle its growth policy but it is also the size we request to underlying user impl hence the clamps.
2026-10-30 17:32:06 +01:00
MilosLord
a13badd73e MultiSelect: fixed ImGuiSelectionBasicStorage::GetNextSelectedItem() reading past the end of storage when trailing items are unselected (#9604) 2026-10-30 16:04:17 +01:00
ocornut
f88ec043af Tables: use center-bias for horizontal borders to better support thick borders. (#9415)
+ Demo: adjust colors in 'Background Color' section to better showcase the blending difference between Bg0 and Bg1.
2026-10-29 21:27:34 +01:00
ocornut
89845f9db6 Tables: fixed various issues with using ImGuiTableFlags_NoHostExtendX. 2026-10-29 21:21:49 +01:00
ocornut
c1581882a4 Tables: fixed various border overshooting issues, some mostly visible with transparent borders: (#4678, #9415)
As a side effect of cleaning up a few things, altering border size becomes closer to being correct.
2026-10-29 21:21:49 +01:00
ocornut
0d0cd87dd2 Tables: fixed vertical inner borders slightly overlapping bottom outer border. (#4678, #9415) 2026-10-29 21:21:49 +01:00
ocornut
c39a91bfbe Tables: latch border size once, and pull all use from same place. (#9415) 2026-10-29 21:21:49 +01:00
ocornut
d2ba763635 Tables: fixed various issues with using ImGuiTableFlags_NoHostExtendY. 2026-10-29 21:21:49 +01:00
ocornut
b87728bd2b Tables: clamp vertical border Y2 position when not using scrolling table, so that ImDrawCmd AABB stays reasonable.
This does not fix any screen visible issue, and should not be noticeable if correct.
(context: investigated this while looking at #4678, but not actually directly related)
2026-10-29 21:21:47 +01:00
ocornut
2fb554b1c8 Modals: fixed an assert displaying a modal in an environment where io.DisplayFramebufferScale is not an integer. (#9598) 2026-10-28 15:41:13 +01:00
ocornut
80d572ce35 TreeNode: minor tidying up.
(should have no side-effect)
2026-10-27 18:10:59 +01:00
ocornut
1069a952e0 TabBar: Internals: added TabItemIsContentsAppearing() and reworked 50ae760. (#9581) 2026-10-27 16:32:36 +01:00
ocornut
50ae760fce TabBar: Internals: add tab_bar->VisibleTabContentsJustAppeared. (#9581) 2026-10-27 15:57:16 +01:00
ocornut
86b853ae8a TabBar: rename VisibleTabId->VisibleTabContentsId for clarify and correctness.
Toward #9581
2026-10-27 15:43:57 +01:00
Yaki Blake
2f1552d4d5 TreeNodeGetOpen(): added flags parameter. (#9569, #9592, #3823, #9251) 2026-10-27 15:23:55 +01:00
ocornut
048d7e10b5 Style: made default arrow stroked. Added SymbolArrowSizeFactor, SymbolArrowThicknessFactor to style arrow. (#5233, #2431, #2235, #6730, #8243)
Internal function takes a angle: #5812.
This doesn't cover generic rendering override for symbols: #8243, #2431 (arrows, somehow less needed now), #3351 (checkmarks), #6730 (tree nodes)
2026-10-27 14:09:35 +01:00
ocornut
726399ff76 Internals: RenderArrow: apply scale to horizontal offset. (#3895)
In the absence of a better standardized symbol/icon design this seem more consistent.
2026-10-27 13:56:16 +01:00
ocornut
4326411672 Internals: removed RenderArrowPointingAt(), moved to ColorPicker4 color. 2026-10-27 13:56:16 +01:00
ocornut
717f68fefe Style: StyleColorsDark(): tweaked WindowBg to be darker than in 1.93.0. 2026-10-27 13:56:15 +01:00
Harish Rajaselvan
4e99c0ab1a CI: added Windows ARM64 build jobs. Examples: added ARM64 support in build_win.bat files. (#9593) 2026-10-23 18:05:20 +02:00
ocornut
09fe7b19d7 Examples: refactored remaining batch files to detect architecture. (Amend)
Amend 20ba6c4
2026-10-23 16:11:49 +02:00
ocornut
20ba6c4a28 Examples: refactored remaining batch files to detect architecture.
(also came to this while reviewing #9593)
2026-10-23 16:09:59 +02:00
ocornut
6dd654f27a Examples: renamed various helper batch files from build_win32.bat to build_win.bat.
(also came to this while reviewing #9593)
2026-10-23 15:32:01 +02:00
ocornut
2b7a9dcca4 Examples: remove references to DXSDK_DIR which is for DX9.
(realized this while reviewing #9593)
2026-10-23 14:44:55 +02:00
Michał Cichoń
7bd38119c7
Internals: CallContextHooks(): fixed iterating a reallocated array when a hook callback adds a hook. (#9590)
Note that Test Engine GuiFunc code is called within a hook anyhow.
2026-10-23 14:22:52 +02:00
ocornut
4be0b47ecc (Breaking) Internals: ImStricmp/ImStrnicmp returned opposite sign when strings were different + ones in Demo.
Main functions unused by core imgui, so not strictly changing anything.
Demo functions were only comparing to 0.
2026-10-16 16:52:35 +02:00
ocornut
9d9a621f33 Fonts: expose ImFontBaked_BuildLoadGlyphAdvanceX() in imgui_internal.h. 2026-10-15 19:42:22 +02:00
ocornut
49a1450360 DrawList: added missing ImDrawFlags_RoundCornersMask_ -> ImDrawFlags_RoundMask_ legacy redirect.
Amend 0e756a6.
2026-10-15 18:53:04 +02:00
ocornut
c7d17f01cd ImVec2: added a check for cases where a custom IM_VEC2_CLASS_EXTRA macro adds an extra operator= to ImVec2 2026-10-15 17:56:20 +02:00
ocornut
f5d2b7dd01 CI: fixes for macOS. 2026-10-15 16:32:52 +02:00
ocornut
145a2fbab6 Docs: update binaries. 2026-10-15 16:24:58 +02:00
ocornut
4c9c888fc5 Build: warning fixes for VS2015 and <v141. 2026-10-15 15:39:58 +02:00
ocornut
1ff218165d (Breaking) Commented out legacy names/functions which were obsoleted in 1.91.1 (Sept 2024). 2026-10-15 14:56:24 +02:00
ocornut
93a14c8fda (Breaking) Commented out legacy names/functions which were obsoleted from 1.90.7 (May 2024) to 1.91.0 (Sept 2024). 2026-10-15 14:51:48 +02:00
ocornut
cbe3d5fb88 Version 1.93.1 WIP 2026-10-15 14:34:31 +02:00
Pascal Thomet
f996126249
Demo: correct demo markers wordings (#9586) 2026-10-15 14:28:13 +02:00
ocornut
6d32174508 Allow IM_NODEBUGSTEP to be defined by user. (#9584)
Amend e2e9533991
2026-10-15 14:03:51 +02:00
ocornut
c1aaac65e8 Version 1.93.0 v1.93.0 2026-10-14 17:55:08 +02:00
ocornut
a6fad9bbda Style: update StyleColorsDark() for 1.93: greyer WindowBg, dark FrameBg. 2026-10-14 16:45:24 +02:00
ocornut
a536894821 Examples: all examples now default to use a little bit of rounding (FrameRounding and GrabRounding). 2026-10-14 16:45:18 +02:00
ocornut
098c71133c Demo: Plot, Vertical Sliders, Colors: better scaling.
+ enforce some rounding in vertical slider demo.
2026-10-13 16:38:13 +02:00
ocornut
09cd4416e8 PlotHistogram: fixed passing inverted coordinates to AddRectFilled(). 2026-10-13 16:20:49 +02:00
Pascal Thomet
42a22377a4
Demo: Mixed Values: added IMGUI_DEMO_MARKER(). (#9582) 2026-10-12 23:07:30 +02:00