ocornut
cbf4f05419
DrawList: added io.ConfigDebugDrawListDefaultsToStrokeLegacy. ( #9504 )
2026-10-07 18:53:55 +02:00
ocornut
d23a638613
Demo: Custom Rendering: added zig-zag concave shape, tweak color, tidy up section.
...
Demo: Custom Rendering: tweak animated rounding.
2026-10-07 18:53:55 +02:00
ocornut
cb66fcdaac
DrawList: rename ImDrawFlags_MiterOnly->ImDrawFlags_JoinMiter, ImDrawFlags_SquareCap->ImDrawFlags_CapSquare.
2026-10-07 18:53:55 +02:00
ocornut
475b793baa
Docs: reworked Changelog, comments.
2026-10-07 18:53:55 +02:00
ocornut
0e756a649d
(Breaking) DrawList: renamed ImDrawFlags_RoundCornersXXX to ImDrawFlags_RoundXXX. ( #9504 )
2026-10-07 18:53:55 +02:00
ocornut
deb9c70ace
DrawList: ImDrawFlags_AALineEnds also requires ImDrawFlags_AALine, which makes it easier for widgets to opt-in AAEnds.
2026-10-07 18:53:54 +02:00
ocornut
20f17eeb6f
DrawList: fixed using ImDrawFlags_UseTexForRoundCorners when ImFontAtlasFlags_NoBakedRoundCorners has also been set.
2026-10-07 18:53:54 +02:00
ocornut
f2cd901be6
DrawList: added PushDrawFlag(), PopDrawFlag(), ImSmallStack_<>. ( #9504 )
2026-10-07 18:53:53 +02:00
ocornut
008e0990b3
DrawList: comment about ImFontAtlasFlags_NoBakedLines. Demo: amend test bed to exercices more flags.
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
cf85b48e55
DrawList: new ImDrawFlags API (yet unused in this commit)
2026-10-07 18:53:52 +02:00
ocornut
eb75c8056e
DrawList: inverted ImDrawFlags_NoAAEnds into ImDrawFlags_AAEnds.
2026-10-07 18:53:52 +02:00
Mikko Mononen
478813c359
DrawList: restored non-AA rendering mode.
...
- the ImDrawListFlags_AntiAliasedFill and ImDrawListFlags_AntiAliasedLines flags work again
- added non-AA rendering for polyline and convex poly filled
- do not use corner textures when AA is not used
- Add missing no-AA for single line case
2026-10-07 18:53:52 +02:00
Mikko Mononen
ed50e4790b
Demo: added rounding slider+animate to allow better test range of rounding values.
2026-10-07 18:53:52 +02:00
Mikko Mononen
7ec1bc17fd
DrawList: debug build optimizations.
...
- changed truncated tests to use macro, and inline the computation in debug builds (~15% was spent on calling the functions)
- inlined the common rectangle cases in AddRect() for debug build speed up
2026-10-07 18:53:51 +02:00
ocornut
c59367efcb
DrawList: renamed ImDrawFlags_StrokeCenterAligned to ImDrawFlags_StrokeCenterBiased.
2026-10-07 18:53:51 +02:00
ocornut
d453a59b9c
DrawList: avoid using output references in _SelectFringeTexture() + misc tweaks, comments.
...
Matching coding style and more consistent for matching with other languages.
2026-10-07 18:53:51 +02:00
ocornut
6f00e0b39f
Demo: fixed using Miter/Square/NoAAends checkboxes interfering with stroke mode. warnings.
...
Demo: update "Lines" demo to help diagnose brightness change.
2026-10-07 18:53:51 +02:00
Mikko Mononen
91e769fbba
DrawList: fixed visual pop in stroke rendering when thickness is between 1 and 2 pixels.
...
- added animated thickness to demo to make it easier to evaluate thickness visual progression
- added super sampled textures in thickness range [1..3] to avoid visual pop
2026-10-07 18:53:51 +02:00
ocornut
4d5fcdd4ba
DrawList: Textured Round Corners: use same array for fill and strokes.
...
Feels like a little less book-keeping.
2026-10-07 18:53:50 +02:00
ocornut
e3fb7657ba
DrawList: renamed ImDrawFlags_StrokeCenterPixelAligned to ImDrawFlags_StrokeCenterAligned.
2026-10-07 18:53:50 +02:00
ocornut
0e219e6c4d
Demo: rework Custom Rendering's Primitives rendering. Fill + Stroke overlap.
...
Use {} style for ImVec2.
2026-10-07 18:53:50 +02:00
Mikko Mononen
170a374f59
DrawList: added ImDrawFlags_NoAAEnds which allows to disable line end AA.
2026-10-07 18:53:50 +02:00
ocornut
5d9b691248
DrawList: misc fixes, amends (replace uses of GetColorU32, macros fixes, default flags). Demo: added rotating square, added MiterOnly checkbox.
2026-10-07 18:53:50 +02:00
Mikko Mononen
c2e029fb98
DrawList: added stroke position to path rendering.
...
- added generic stroke position to all path rendering
- removed stroke folding in favor of limiting the miter width (simplifies the geometry cases)
- removed fractional stroke rendering in favor of using the integer sized rendering for everything
- the rationale is that the in-between sizes are a bit blurry anyways, and the error we get from scaling is visually acceptable
- added stroke position option for the demo
- updated the degenerate shape handling
- remove AddLine() stroke pos handling
- removed up commented out code.
2026-10-07 18:53:50 +02:00
Mikko Mononen
ea2e5c79c0
DrawList: added square cap rendering.
...
- Added square cap rendering to the DrawPolyline, which can be turned on by ImDrawFlags_SquareCap
- Added draw flags to AddBezierCubic() and AddBezierQuadratic()
2026-10-07 18:53:50 +02:00
Mikko Mononen
a5b8a920c3
DrawList: added better handling for rendering degenerate geometry. ( #2183 , #7972 )
...
- Add ImDrawFlags_MiterOnly which is used to indicate that a path contains simple geometry and can be rendered using mitered corners
- Added handling of degenerated shapes for stroked rectangle, circle, ngon, and ellipse
- Render shapes filled when outline covers the whole shape
- Clamp very small circles and ngons, and use alpha fade below one pixel
- Added correct offset for ellipse
2026-10-07 18:53:50 +02:00
Mikko Mononen
c98d220e6f
DrawList: added improved polyline rendering. ( #2183 , #7972 )
...
- added 2 variants of polyline rendering
- one handles integer-sized thickness using one strip of triangles along the line
- second handles any thickness using 2 strips of triangles long the line
2026-10-07 18:53:50 +02:00
Mikko Mononen
442834a428
DrawList: changed CenterPixelAligned growth to be smoother, added stroke pos to AddLine()
...
- changed vertical AddLine() to be consistent with AddLineV()
- changed CenterPixelAligned growth to be smoother
- added (temporary) specialized stroke pos support for AddLine()
2026-10-07 18:53:50 +02:00
ocornut
5a5a16da4d
DrawList: added _GetStrokePos() helper indirection, made flags=0 select default at runtime.
2026-10-07 18:53:50 +02:00
ocornut
d6fee823b4
Demo: Custom Rendering: expose Stroke Position.
...
Demo: Custom Rendering: amend tests (to include legacy AddLine() for vertical/horizontal lines to compare.
2026-10-07 18:53:50 +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
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
f7ada78e32
ImGuiTextFilter: added DrawWithHint(). ( #6206 , #6395 , #6447 )
2026-09-18 19:33:21 +02:00
ocornut
b00dd14a34
TabBar: using <> scrolling buttons while the selected Tab is at either end of the section mid-section but not fully visible always makes it fully visible.
2026-09-14 19:50:43 +02:00
ocornut
c8b9f0d6be
TabBar: Improved scroll target when clicking a Tab that is larger than the scrolling region width.
...
The margin that is useful to indicate other tabs being available gets in the way of visibility in this case.
2026-09-14 19:05:13 +02:00
ocornut
e8602501bb
Mixed Value: various fixes. ( #5518 , #5677 , #6865 )
...
- With MixedValue+LiveEdit: a single edit that ends up with same output reports as edited.
- Standardize path sin TempInputscalar(), InputScalar(), InputTextEx().
- Refer to changes in imgui_test_suite, in particular "widgets_datatype_1", "widgets_status_liveedit_off",
2026-09-09 20:44:34 +02:00
ocornut
334f484892
ColorEdit4, ColorPicker4: added support for ImGuiItemFlags_MixedValue. ( #5518 , #5677 , #6865 )
2026-09-07 19:48:28 +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
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
ffbf21af6b
Demo: Custom Rendering: enable LiveEdit. Tweaks.
2026-07-30 16:20:09 +02:00
ocornut
950d27137e
Tweaks.
2026-07-29 15:51:15 +02:00
ocornut
01380c5797
Version 1.92.9
2026-07-25 13:28:06 +02:00
ocornut
26b8292635
Split ImGuiItemFlags_LiveEdit into ImGuiItemFlags_LiveEditText, ImGuiItemFlags_LiveEditScalar. Added Demo contents. ( #9476 , #701 )
...
cc #3936 , #3946 , #5904 , #6284 , #8149 , #8065 , #8665 , #9117 , #9299 , #700 , #1351 , #1875 , #2060 , #2215 , #2380 , #2550 , #3083 , #3338 , #3556 , #4373 , #4714 , #4885 , #5184,#5777, #6707 , #6766 , #8004 , #8303 , #8915 , #9308
2026-07-16 15:46:47 +02:00
ocornut
68fce9f3bd
Settings: added DiscardAll option to CleanupIniSettings() / ImGuiSettingsCleanupArgs. ( #9460 )
...
+ Demo: tweak for scaling.
2026-07-08 15:03:19 +02:00
ocornut
f626c1c793
ColorPicker: added option to fix Saturation/Value triangle in wheel picker. Amends. ( #9337 )
...
ConfigColorPickerRotateTriangle -> !ImGuiColorEditFlags_PickerNoRotate
2026-07-07 16:18:34 +02:00
ocornut
5d56c09432
ColorPicker: added option to fix Saturation/Value triangle in wheel picker. Amends. ( #9337 )
2026-07-07 16:14:13 +02:00