uzor 1.1.0

Core UI engine — geometry, interaction, input state
1
2
3
4
5
6
7
8
9
10
11
12
//! Scrollbar theme contract

pub trait ScrollbarTheme {
    fn thumb_color(&self) -> u32;
    fn thumb_hover_color(&self) -> u32;
    fn thumb_drag_color(&self) -> u32;
    fn track_color(&self) -> u32;
    fn track_hover_color(&self) -> u32;
    fn width(&self) -> f64;
    fn min_thumb_height(&self) -> f64;
    fn border_radius(&self) -> f64;
}