[−][src]Trait glutin::platform::unix::Theme
A theme for a Wayland's client side decorations.
Required methods
fn element_color(&self, element: Element, window_active: bool) -> ARGBColor
Title bar color.
fn button_color(
&self,
button: Button,
state: ButtonState,
foreground: bool,
window_active: bool
) -> ARGBColor
&self,
button: Button,
state: ButtonState,
foreground: bool,
window_active: bool
) -> ARGBColor
Color for a given button part.
Provided methods
fn font(&self) -> Option<(String, f32)>
Font name and the size for the title bar.
By default the font is sans-serif
at the size of 11.
Returning None
means that title won't be drawn.