egui/crates/epaint/src
Emil Ernerfeldt 41f9df5cb3
Floating scroll bars (#3539)
* Move scroll bar spacing settings to a `struct ScrollSpacing`

* Add a demo for changing scroll bar appearance

* Add setting for ScrollBarVisibility in demo

* Add `#[inline]` to a `ScrollArea` builder methods

* Refactor how scroll bar show/hide is computed

* Add support for floating scroll bars

* Tweak color and opacity of the scroll handle

* Allow allocating a fixed size even for floating scroll bars

* Add three pre-sets of scroll bars: solid, thin, floating

* Use floating scroll bars as the default

* Fix id-clash with bidir scroll areas

* Improve demo

* Fix doclink

* Remove reset button from demo

* Fix doclinks

* Fix visual artifact with thin rounded rectangles

* Fix doclink

* typos
2023-11-09 18:41:58 +01:00
..
text Fix some lints found by clippy 1.73 2023-10-06 09:01:31 +02:00
util Improved texture loading (#3315) 2023-09-12 10:39:17 +02:00
bezier.rs Improve clippy, and add more docs (#3306) 2023-09-05 14:11:22 +02:00
image.rs Add more puffin profile scopes to `eframe` (#3330) 2023-09-13 09:00:38 +02:00
lib.rs Add control of line height and letter spacing (#3302) 2023-09-05 10:45:11 +02:00
mesh.rs Support images with rounded corners (#3257) 2023-08-15 09:29:30 +02:00
mutex.rs Improve clippy, and add more docs (#3306) 2023-09-05 14:11:22 +02:00
shadow.rs Style tweaks (#2406) 2022-12-08 10:55:13 +01:00
shape.rs Misc code cleanup (#3398) 2023-09-27 09:06:17 +02:00
shape_transform.rs Fix typos (#2866) 2023-04-18 15:52:45 +02:00
stats.rs Increase MSRV to 1.67 (#3234) 2023-08-11 13:54:02 +02:00
stroke.rs Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
tessellator.rs Floating scroll bars (#3539) 2023-11-09 18:41:58 +01:00
texture_atlas.rs Replace `tracing` with `log` (#2928) 2023-04-18 21:11:26 +02:00
texture_handle.rs Improved texture loading (#3315) 2023-09-12 10:39:17 +02:00
textures.rs Some clippy fixes from 1.72.0 2023-08-25 07:44:25 +02:00