Skip to main content

Module recipe_segmented_control_style

Module recipe_segmented_control_style 

Source
Expand description

Default SegmentedControlStyle impl driven by paint-recipe data.

RecipeSegmentedControlStyle ports the IntUI segmented-control chrome: the rounded frame, per-segment hover tint, the selected-segment surface + border (accent when focused, inactive when not), a divider before the overflow trigger, and the keyboard focus ring drawn outside the visual envelope. The recipe builds a single SegmentedControlChrome widget that paints all of this from the config’s state signals and the geometry the widget publishes each layout pass — repainting only when the bindings flip.

Structs§

RecipeSegmentedControlStyle
Default SegmentedControlStyle shipped with Teksilo.
SegmentedControlRecipe
Tuneable dimensions for RecipeSegmentedControlStyle.

Constants§

SEGMENTED_CONTROL_BORDER_WIDTH
SEGMENTED_CONTROL_CORNER_RADIUS
SEGMENTED_CONTROL_HEIGHT
SEGMENTED_CONTROL_PADDING_HORIZONTAL
SEGMENTED_CONTROL_PADDING_VERTICAL