Expand description
Default ProgressBarStyle impl driven by paint-recipe data.
RecipeProgressBarStyle ships the IntUI progress-bar stationary
chrome: a surface_sunken track and (for determinate bars) an
accent-colored proportional fill. The indeterminate sweep is
deliberately not part of this recipe — it stays widget-owned in
ProgressBar::build, which mounts an IndeterminateSweepLeaf on
top for both the horizontal-shader path and the vertical /
reduced-motion signal path (principle 6: motion infrastructure is
not chrome).
Apps that want a different progress look (segmented chunks, gradient
fill, branded colour) write their own impl ProgressBarStyle block
and install it per-call (ProgressBar::style(...)) or theme-wide
(theme.style_slots.progress_bar).
Structs§
- Progress
BarRecipe - Configurable dimensions for
RecipeProgressBarStyle. - Recipe
Progress BarStyle - Default
ProgressBarStyleshipped with Teksilo. Track isSurfaceRole::Sunken, fill isSurfaceRole::Accent.