Trait winit::platform::unix::Theme [−][src]
pub trait Theme: Send + 'static {
fn element_color(&self, element: Element, window_active: bool) -> ARGBColor;
fn button_color(
&self,
button: Button,
state: ButtonState,
foreground: bool,
window_active: bool
) -> ARGBColor;
fn font(&self) -> Option<(String, f32)> { ... }
}
Expand description
A theme for a Wayland’s client side decorations.
Required methods
fn element_color(&self, element: Element, window_active: bool) -> ARGBColor
fn element_color(&self, element: Element, window_active: bool) -> ARGBColor
Title bar color.
Color for a given button part.