ux-components 0.1.3

Backend agnostic GUI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::ui::{Size, TextDirection};

use super::{RangeValues, Thumb};

pub trait RangeThumbSelector {
    fn thumb_selector(
        &self,
        text_direction: TextDirection,
        values: RangeValues,
        tap_value: f32,
        thumb_size: Size,
        track_size: Size,
        dx: f32,
    ) -> Thumb;
}