Skip to main content

Module progress_bar

Module progress_bar 

Source
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§

ProgressBar
A horizontal progress bar. value is in [0.0, 1.0].
ProgressBarProps
Inspector-visible properties of a ProgressBar.