ocornut
5181e95a46
DrawList: removed g_LEGACY_STROKES.
2026-10-07 18:53:53 +02:00
ocornut
f2cd901be6
DrawList: added PushDrawFlag(), PopDrawFlag(), ImSmallStack_<>. ( #9504 )
2026-10-07 18:53:53 +02:00
ocornut
7ccc8348bc
(Breaking) Obsoleted style.AntiAliasedLinesUseTex which now only makes sense for legacy strokes. Added style.AntiAliasedLineEnds.
...
# Conflicts:
# imgui.cpp
2026-10-07 18:53:53 +02:00
ocornut
02adb46a9f
(Breaking) DrawList: removed ImDrawListFlags_in favor of using ImDrawFlags.
...
# Conflicts:
# imgui.cpp
2026-10-07 18:53:53 +02:00
ocornut
e8c8a10a2d
DrawList: amends/review legacy stroke paths + minor tweaks.
2026-10-07 18:53:51 +02:00
Mikko Mononen
237a498c2d
DrawList: Textured Round Corners: Added flags to disable textured rounded corners ( #1962 )
...
- added ImFontAtlasFlags_NoBakedRoundCorners which controls if rounded corners should be baked to texture
- added ImDrawListFlags_RoundCornersUseTex which controls if we should try to use textured roudned corners
- fixed how _FringeScaleIsInteger is calculated (we want to detect integer pixel scale)
- fixed how _FringeScale is used with textured rounded corners
2026-10-07 18:53:49 +02:00
Mikko Mononen
37f16412d5
Fixed layout/pixel-perfect issues in various widgets (w/ g_LEGACY_STROKES toggle). ( #9504 )
2026-10-07 18:53:49 +02:00
Mikko Mononen
6335dfb19c
(Breaking) DrawList: removed half pixel offset from ImDrawList::AddLine(). ( #9504 )
2026-10-07 18:53:48 +02:00
ocornut
4989b4c754
Fonts: added IMGUI_DISABLE_STB_TRUETYPE. ( #9573 )
2026-10-05 19:41:20 +02:00
ocornut
dfa3c0c0bb
(Breaking) Fonts: rename AddRemapChar() to AddRemapCodepoint(). ( #609 , #5748 , #9559 )
2026-09-30 18:39:11 +02:00
ocornut
09d740ba32
(Breaking) Fonts: refactor ImFontLoader to allow loading from glyph_index. ( #9559 , #5647 )
...
cc #9540 , #8466 , #8465
2026-09-30 18:39:11 +02:00
Stanislaw Halik
db436a15bc
Misc: fixed strict aliasing violation in ImHashData() affecting Clang 23 + SSE 4.2 + -flto. ( #9557 , #9560 )
2026-09-28 17:19:42 +02:00
ocornut
5c6a86a9d2
imgui_freetype: fixed ExtraSizeScale (used by embedded ProggyForever) leading to non-pixel aligned vertical offset. ( #9348 , #9233 ) + Added ImRoundPositive64(), ImRoundSigned64().
2026-09-25 14:22:08 +02:00
Brenton Bostick
e728936797
Docs: fixed typos/repeated words. ( #9555 )
2026-09-24 14:33:24 +02:00
Daniel Castonguay
623ba46120
DrawList: fixed dangling ImDrawList::_OwnerName when using animated label. ( #9552 )
2026-09-23 16:04:56 +02:00
ocornut
d12321803d
Popups: reworked GetMousePosOnOpeningCurrentPopup() to be legal to call within the BeginPopup/EndPopup scope of a popup which was just closed. ( #9551 )
2026-09-22 15:57:40 +02:00
ocornut
58d7570b8b
ImGuiTextFilterItem: shallow renames.
2026-09-21 18:26:00 +02:00
ocornut
e19fea020f
ImGuiTextFilter: moved ImGuiTextFilterItem to internals. ( #2435 )
2026-09-21 15:12:59 +02:00
ocornut
d5c68c301a
ImGuiTextFilter: reworked filter to make space an AND operator. Demo: tweaked demo.
...
Removed FilterOp, MinWordSize added a few commits ago.
2026-09-21 14:29:04 +02:00
ocornut
249e5a939d
ImGuiTextFilter: added undocumented FilterOp support. ( #2435 )
2026-09-18 22:10:31 +02:00
ocornut
565564bb5c
ImGuiTextFilter: reworked items parsing/storage to be able to simplify PassFilter().
...
As PassFilter() is the bottleneck.
2026-09-18 22:10:31 +02:00
ocornut
c0041b7d3c
ImGuiTextFilter: added undocumented MinWordSize support. ( #2435 )
2026-09-18 22:09:14 +02:00
ocornut
c74e7e93a3
ImGuiTextFilter: Added support for space ' ' as separator. Added support for quoted "xxx" blocks. ( #2435 , #30 )
2026-09-18 22:08:22 +02:00
ocornut
54f86be71e
ImGuiTextFilter: fixed filtering when mixing "include" and "-exclude" keyword so that an "-exclude" match always filters out. ( #2435 )
...
+ fix typo in ImToUpper
2026-09-18 22:07:26 +02:00
ocornut
fc98dc4a72
(Internal) ImGuiTextFilter: renaming ImGuiTextRange->ImGuiTextFilterItem, Filters->Items. ( #2435 )
2026-09-18 22:04:44 +02:00
ocornut
a14bebd948
(Breaking) ImGuiTextFilter: removed float width parameter of Draw(const char* filter, float width). ( #6206 , #6395 , #6447 )
...
The reasoning is to (1) keep things consistent with DrawWithHint() without polluting the new function with width. (2) keep things consistent with other items.
2026-09-18 19:33:21 +02:00
ocornut
f7ada78e32
ImGuiTextFilter: added DrawWithHint(). ( #6206 , #6395 , #6447 )
2026-09-18 19:33:21 +02:00
ocornut
c8fc1829d0
ImGuiTextFilter: minor tweaks, made ImGuiTextRange fields match upcoming ImStrv. Removed exposed ImGuiTextRange helpers.
...
Rename CountGrep to CountInclude (#3906 )
Toward #2435
2026-09-18 19:33:21 +02:00
ocornut
6d07f6eb09
Selectable: fixed ImGuiSelectableFlags_SelectOnNav triggering during NavInit.
...
Style Editor: fixed style/colors combo box applying style when opening Combo.
2026-09-18 15:49:00 +02:00
ocornut
b5135f270f
Backends: SDLRenderer3: added support for platform_io.DrawCallback_SetSamplerFromTex. ( #9378 )
2026-09-17 19:08:19 +02:00
ocornut
e0a2f6dea9
Drag and Drop: minor refactor into a helper RenderDragDropTargetRectForViewport() function.
2026-09-10 18:32:44 +02:00
ocornut
148d128f6e
Mixed Value: use ImGuiCol_TextMixedValue (= ImGuiCol_TextDisabled). Set MixedValueLabel to null to display original value. ( #5518 , #5677 , #6865 )
2026-09-08 16:47:04 +02:00
ocornut
04b37d6d23
Added ImGuiItemFlags_MixedValue support for Drags, Sliders, InputScalar, InputText, RadioButton, Combo. ( #5518 , #5677 , #6865 )
2026-09-07 18:56:32 +02:00
ocornut
9090ba71e5
Fixed Tesselation -> Tessellation in comments.
2026-09-07 16:38:38 +02:00
ocornut
687f7fb8ac
Drags, Sliders: ongoing drags may be cancelled using Right-Mouse mouse button, reverting to the initial value. ( #8564 , #9534 )
2026-09-07 16:16:55 +02:00
Lukasz Stalmirski
4ebb04333b
IO: restore default platform handlers on ClearPlatformHandlers. ( #9537 , #8945 , #2769 )
...
Amend d4f722d5b.
2026-09-07 13:05:15 +02:00
ocornut
f562ab8e32
DrawList: reworked assert in PushTexture() to allow convenience grace period of using texture already queued for destroy during the same frame. ( #9528 , #8465 )
...
Amend 131f5c57ab
2026-09-01 16:22:14 +02:00
nilFinx
e0537bf72b
Fixed build issue with MacPorts Clang 16 (missing TARGET_OS_OSX). ( #9498 )
2026-08-31 18:42:46 +02:00
ocornut
0af8f475d1
Fixed GetBackgroundDrawList()/GetForegroundDrawList() not being properly reset every frame when cumulated session time is very large. ( #9521 )
...
Using a FrameCount for compare. Kept time as float to be consistent with other GC-related timestamps: if there is an actual need to use double we'll switch everywhere.
2026-08-23 13:05:33 +02:00
ocornut
6a6d7bc3ca
Internals: added SetNextWindowFlags(), SetNextWindowChildFlags() helpers + made BeginChildEx() itself read from them. ( #9503 , #8280 , #9412 , #9499 , #9393 , #8488 )
...
As a result BeginTable() doesn't need to read itself and pass that to BeginChildEx().
2026-08-05 21:16:35 +02:00
ocornut
2de0a07cd4
Fixed PVS Studio false positive.
2026-08-04 14:33:31 +02:00
ocornut
5108603789
DrawList: apply current pixel density to DrawList's fringe scale. Added ImDrawList::_SetPixelDensity(). Reword FontRasterizerDensity as CurrentPixelDensity.
...
Amend 94a4322.
# Conflicts:
# imgui.cpp
# imgui.h
# imgui_draw.cpp
# imgui_internal.h
2026-08-04 13:15:05 +02:00
ocornut
fdc1152281
(Breaking) Style: obsoleted style.CurveTessellationTol in favor of style.CurveTesselationMaxError.
...
cc #3127 , #3664 , #3665
2026-08-03 17:05:44 +02:00
ocornut
ebd752a0ec
Version 1.93.0 WIP
2026-08-03 14:42:56 +02:00
ocornut
f1cc2ae15e
Version 1.92.9b
2026-07-31 16:14:42 +02:00
ocornut
950d27137e
Tweaks.
2026-07-29 15:51:15 +02:00
ocornut
a9e7a8c880
ImDrawData: fixed a regression in 1.92.9 where legacy ImDrawData::CmdListsCount was always 0.
2026-07-26 15:42:48 +02:00
ocornut
01380c5797
Version 1.92.9
2026-07-25 13:28:06 +02:00
ocornut
e722165561
Docs: rework FAQ index, added multi-threading and string-view details.
2026-07-25 12:41:02 +02:00
ocornut
f594633b54
Popups: added bool return value to OpenPopup(), OpenPopupOnItemClick() functions. ( #9429 )
...
Following on 795cf6fcb5.
2026-07-23 17:49:39 +02:00