Expand description
ProgressBar — a read-only horizontal progress indicator.
Supports an optional loading animation (animate) that pulses the fill
brightness, mirroring egui’s ProgressBar::animate. There is deliberately
no spinner arc or dot at the fill head — a circle there reads as an
interactive handle, but the bar is read-only. The animation only runs while
value < 1.0 and the bar is actually painted (i.e. visible), re-arming a
~60 fps wake via request_draw_after
each frame so the loop idles the moment the bar is culled or finishes.
Structs§
- Progress
Bar - A horizontal progress bar.
valueis in[0.0, 1.0]. - Progress
BarProps - Inspector-visible properties of a
ProgressBar.