Skip to main content

Module recipe_progress_bar_style

Module recipe_progress_bar_style 

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

ProgressBarRecipe
Configurable dimensions for RecipeProgressBarStyle.
RecipeProgressBarStyle
Default ProgressBarStyle shipped with Teksilo. Track is SurfaceRole::Sunken, fill is SurfaceRole::Accent.

Constants§

PROGRESS_BAR_CORNER_RADIUS