Ben Carter and ocornut
fa279a6aa0
Drags, Sliders: Added deadzone to make selecting 0.0 on linear sliders easier, slider navigation delta accumulation. ( #3361 , #1823 , #1316 , #642 )
2020-08-17 22:10:42 +02:00
Ben Carter and ocornut
9f98b4e7f2
Drags, Sliders: Logarithmic: Added logarithmic mode support to drag widgets, extended API to add flags to drag/sliders ( #3361 , #1823 , #1316 , #642 )
2020-08-17 22:10:40 +02:00
Ben Carter and ocornut
a252a287bf
Drags, Sliders: Logarithmic: WIP experiments with trying to make logarithmic sliders sensible ( #3361 , #1823 , #1316 , #642 )
2020-08-17 22:10:40 +02:00
Ben Carter and omar
b5bae9781d
Texture-based thick lines: Only use textured lines for integer line widths
2020-07-08 17:38:02 +02:00
Ben Carter and omar
21d9e8e1f4
Texture-based thick lines: Simplified line width calculation code and removed hack for thickness 1.0 lines
2020-07-08 17:38:02 +02:00
Ben Carter and omar
403bf45245
Texture-based thick lines: Allow interpolation between textures for non-integer line widths
2020-07-08 17:38:01 +02:00
Ben Carter and omar
741ab74b55
Texture-based thick lines: Improvements to code for drawing anti-aliased lines using textures
...
Moved line width into a constant
Removed test code (now in imgui-tests)
Improved matching between geometry and texture rendering at non-integer sizes
2020-07-08 17:38:01 +02:00
Ben Carter and omar
1d3c3070d8
Texture-based thick lines: Initial version of AA line drawing using textures (press SHIFT to enable)
2020-07-08 17:38:01 +02:00
Ben Carter and omar
8e4046e13b
Atlas build use GetCustomRectByIndex() + comments, rename, and shallow merge from tex_antialiasing_lines branch.
2020-07-08 17:25:40 +02:00
Ben Carter and omar
d3b37180a3
ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex.
...
Amend 5363af7f47 , 051ce0765e
2020-06-13 14:16:29 +02:00
Ben Carter and omar
051ce0765e
AddCircle, AddCircleFilled: Add auto-calculation of circle segment counts
2020-01-23 14:52:48 +01:00
Ben Carter and omar
0e74103659
ImDrawList: Add AddNgon(), AddNgonFilled() API.
2019-12-09 11:23:06 +01:00
Ben Carter and omar
697f15e339
Added PrimUnreserve() API. Obsoleted calling ImDrawList::PrimReserve() with a negative count.
2019-12-08 16:06:32 +01:00
Ben Carter and omar
aeb57952d6
Added area calculation for draw lists in metrics
...
Added ability to hover over a draw list's summary stats and see all the contents in wireframe
(cherry picked from commit fd808347bd68a07ad318af6c151028bc9f7b82e7)
2019-11-25 11:10:00 +01:00