pub type CosmicComponent = Component;
Aliased Type§
struct CosmicComponent {
pub base: Alpha<Rgb, f32>,
pub hover: Alpha<Rgb, f32>,
pub pressed: Alpha<Rgb, f32>,
pub selected: Alpha<Rgb, f32>,
pub selected_text: Alpha<Rgb, f32>,
pub focus: Alpha<Rgb, f32>,
pub divider: Alpha<Rgb, f32>,
pub on: Alpha<Rgb, f32>,
pub disabled: Alpha<Rgb, f32>,
pub on_disabled: Alpha<Rgb, f32>,
pub border: Alpha<Rgb, f32>,
pub disabled_border: Alpha<Rgb, f32>,
}
Fields§
§base: Alpha<Rgb, f32>
The base color of the widget
hover: Alpha<Rgb, f32>
The color of the widget when it is hovered
pressed: Alpha<Rgb, f32>
the color of the widget when it is pressed
selected: Alpha<Rgb, f32>
the color of the widget when it is selected
selected_text: Alpha<Rgb, f32>
the color of the widget when it is selected
focus: Alpha<Rgb, f32>
the color of the widget when it is focused
divider: Alpha<Rgb, f32>
the color of dividers for this widget
on: Alpha<Rgb, f32>
the color of text for this widget
disabled: Alpha<Rgb, f32>
the color of the widget when it is disabled
on_disabled: Alpha<Rgb, f32>
the color of text in the widget when it is disabled
border: Alpha<Rgb, f32>
the color of the border for the widget
disabled_border: Alpha<Rgb, f32>
the color of the border for the widget when it is disabled